This is my workaround... im not good in scripting though.....
First, i make a script that will first call Spamassassin before my
mailserver antivirus
*************************************************************************
#!/bin/sh
#file:/var/qmail/bin/spam-script
/usr/local/bin/spamc -f | /var/qmail/bin/qmail-scanner-queue.pl
**************************************************************************
_____________________________________________________________________________
to make it executable
#chmod +x /var/qmail/bin/spam-script*
______________________________________________________________________________
change the ownership to qscand
#chown qscand:qscand spam-script
______________________________________________________________________________
edit the /etc/hosts.allow
tcp-env: ALL: setenv QMAILQUEUE /var/qmail/bin/spam-script
_____________________________________________________________________________
Edit the */var/spool/qmailscan/quarantine-attachments.txt* and add
*SPAM.* Virus-Subject: Spam detected by SA
to quarantine the suspected SPAMS
*****************************************************************************
This blog is intended for my documentation on System Administration and Network Administration for my future reference. Hope this blog will also be a good use to you.
Wednesday, November 30, 2005
Work Around on QVCS SpamAssassin
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment