Archive for the ‘Freebsd’ Category

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

#Класика
dd if=/dev/ad0 of=ad0
gzip ad0
echo "put ad0.gz ad0.gz"|ftp -i ftp://user:pass@ftp.host

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

### Altenative
echo -e "open ftp.host \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/72_active.cf and I modified line 543 to be:
Code:
>>>> header FH_DATE_PAST_20XX Date =~ /20[2-9][0-9]/ [if-unset: 2006]