Category Archives: mailing

DNSBL for Horde

Here we go with a small patch to implement DNSBL for Horde. I have again used PEAR package, this time it is the Net_DNSBL, and as usually CentOS package is in my repos – http://fs12.vsb.cz/hrb33/el5/hrb/stable/i386/repoview/php-pear-Net-DNSBL.html. The first patch is the important one. We let the attacker to log in, just to make sure he/she owns [...]

Also posted in CentOS, horde, php | Leave a comment

avgd stops listening on port 54322

Last days I’m experiencing avgd not responding. Avgd stops to listen on port 54322, amavisd-new timeouts on talking to AV. Mails are being held and queue is slowly increasing its number. It’s strange, that I’m experiencing it not only on one production system… Aug 29 04:59:46 rakosnicek amavis[25940]: (25940-01-5) (!)AVG Anti-Virus av-scanner FAILED: run_av error: [...]

Posted in mailing | 1 Comment

Zoner Antivirus with Amavisd-new

Today I have decided to test Amavisd-new with free Zoner Antivirus for Linux. First of all you have to download the package, (test it), install, and change the ownership. Then edit the configuration. wget http://update.zonerantivirus.com/download/zav-1.2.2-redhat-i586.rpm –nodeps rpm -Uhv zav-1.2.2-redhat-i586.rpm –test rpm -Uhv zav-1.2.2-redhat-i586.rpm chown amavis: /opt/zav -R chown amavis: /var/run/zav -R vi /etc/zav/zavd.conf So, we [...]

Posted in mailing | Leave a comment

Send file as attachment from commnad line

There’s an easy way of sending files as attachment from command line: uuencode file name | mail -s "Subject" "to@tld.cz" — -ffrom@tld.cz Yes, there is double hyphen and -f before the from email address.

Also posted in bash | Leave a comment

AVG 8.5 with Amavisd-new

Amavisd-new is a quite powerful tool capable to co-operate with a large amount of AV scanners. Today I have decided to test it with free AVG Antivirus for Linux. First of all you have to download the package, (test it), install, and change the ownership. Then edit the configuration. wget http://download.avgfree.com/filedir/inst/avg85flx-r287-a2632.i386.rpm rpm -Uhv avg85flx-r287-a2632.i386.rpm –test [...]

Posted in mailing | Leave a comment