OpenMacNews wrote:

hi,

it works beautifully!

I use Tru64 + CGP 4.1.6 + clamav devel-20040115 + cgpav and it works fine too.


this should get you at least started =) warning ... this is a sloppy copy/paste from my notes ...


Nice. Haven't tried it, but

./configure \
--prefix=/usr/local \
--enable-cxx \
--enable-fft \
--enable-mpbsd \
--enable-mpfr \
--enable-shared \
--disable-static

cgpav says you need to have --with-user=root, as clamd will need to read files in CGP's Queue directory. In *nix only root can doo that. Don't know about your xServe.


# setup a crontab entry to refresh/update your virus db
====================================================
(EDITOR) /etc/crontab
+++ 40 */4 * * * root /usr/local/clamav/bin/freshclam --quiet --log=/var/log/freshclam.log --datadir=/var/clamav_db
====================================================


An alternative would be to start freshclam as daemon, e.g with -d. Also note that freshclam syntax for newer snapshots (and the next official release) has changed to include an additional configuration file (freshclam.conf).


sender_notification = true recipients_notification = false postmaster_notification = true postmaster_account = postmaster

Do you really want these? It means postmaster will get notification for every virus cought. I would prefer to look at clamd's log, but it's your choice.
Sender will also get an extra notofication, which in my point of view useless since CGPro already rejects the infected mail (thus returning it to the sender).


CREATE a SERVER WIDE CGP RULE ....
################################################################################



You should also add rules to disable rejection and notification for certain viruses. Worms (SCO/Doom/Klez/etc) use faked sender, so it's useless to send bounces or notifications. Remember, CGP's behavior is queue -> filter -> deliver/reject, so by default there will always be bounces.
Simply bouncing all viruses will create unnecessary (and lots of extra) traffic.





------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to