Archive for the ‘Freebsd’ Category

Резервне копіювання

dd if=/dev/ad0 of=ad0
gzip ad0
echo "put ad0.gz ad0.gz"|ftp -i

#dd over ftp
echo -e "put \"|dd if=/dev/ar0 | gzip\" ar0.iso.gz"| ftp -i

### Altenative
echo -e "open \n \n user login pass \n put \"|dd if=/dev/md2 | gzip\"md2.iso.gz"| ftp

SpamAssasin 2010 bug

Spam Assasin
I had to edit /opt/zimbra/conf/spamassassin/ and I modified line 543 to be:
>>>> header FH_DATE_PAST_20XX Date =~ /20[2-9][0-9]/ [if-unset: 2006]