Unfortunately the -b option doesn't fix this.
When the -b option is set then a notification goes to the sender and the postmaster, which is what I would expect since that's what the man page says that -b does. I don't want the notification to go to the sender, just to the postmaster.
Here is my revised /etc/sysconfig/clamav-milter
CLAMAV_FLAGS=" --config-file=/etc/clamd.conf --max-children=10 --force-scan --postmaster=<[EMAIL PROTECTED]> --postmaster-only --headers -b --from=<[EMAIL PROTECTED]> --dont-log-clean -obl /var/milter/clmilter.sock "
Nigel Horne wrote:
On Thursday 12 May 2005 16:17, Chad Jones wrote:
I have just installed clamav 0.84 with clamav-milter. I want notifications to go ONLY to the local postmaster address specified in /etc/sysconfig/clamav-milter. I do not want a message to go to the sender (since most addresses are forged), nor do I want a message to go to the recipient (because they freak out). I only want it to go to the postmaster so I can keep track of who is sending us viruses so I can block those IP addresses if necessary.
I haven't been able to figure out how to turn off sending to the sender address.
man clamav-milter will tell you what the -b option does. Go from there...
_______________________________________________Here is my /etc/sysconfig/clamav-milter:
CLAMAV_FLAGS="
--config-file=/etc/clamd.conf
--max-children=10
--force-scan
--postmaster=<[EMAIL PROTECTED]>
--postmaster-only
--headers
--noreject
--from=<[EMAIL PROTECTED]>
--dont-log-clean
-obl /var/milter/clmilter.sock
http://lurker.clamav.net/list/clamav-users.html
_______________________________________________ http://lurker.clamav.net/list/clamav-users.html