2. Spam Filtersmtp.proxy can make use of spamassassin SPAM filtering and mail tagging. Optionally mails that have a certain spam level can be put into a quarantine folder. 2.1 Configure spamassassin program
spamc-cmd /path/to/spamc:
can be used to configure the path and required arguments to the spamassassin client. The default is /usr/bin/spamc -c.
smtp.proxy applies special processing to mails that are identified as spam. However, spam recognition is fully done by spamassassin. Notice that smtp.proxy scan only mail up to a certain size which is 250kByte.
2.2.1 Spam tagging in mail subject
spamc-tag tag puts tag in the subject line of all mails that were classified as spam (and forwarded to the upstream server). Default is
[SPAM].
The option spamc-quarantine controls wether spam mails that are above a certain treshhold are put in a quarantine folder or not. The default is no, which means that spam mails are to the upstream server.
By default smtp.proxy uses the same folder for spam quarantining as for viruses if a directory is not configured. In this case spam quarantining depends on a properly confired virus quarantine.
However, the spam quarantine directory can be configured with spamc-qdir to be different from the virus are.
If properly configured, spam scanning must be enabled with the spamc-scan option.
|