Whitelist not working?
Edward Dekkers
edward at tdcs.com.au
Wed Nov 21 09:56:49 GMT 2007
> > I've added the domain where it's going to the whitelist
> > (/opt/MailSCanner/etc/rules/spam.whitelist.rules)
>
> That is a rather unusual spot. What version of MailScanner are you
> running? How did you install it?
Using instructions found here:
http://www.howtoforge.com/postfix_antispam_mailscanner_clamav_ubuntu
I'm not a hero with server configuration but this how-to has given me a
good working well set up.
>
> What does the file actual look like?
Thusly:
---snip---
# If you are basing a blacklist on this then you can refer to
# a null (empty) sender address with "/^$/" as the address to match.
#
# This is where you can build a Spam WhiteList
# Addresses matching in here, with the value
# "yes" will never be marked as spam.
#From: 152.78. yes
#From: 130.246. yes
FromOrTo: default no
From: *@legendwebshop.com yes
FromOrTo: *@corporait.com yes
---snip---
I'm trying to send the 25Mb attachment to corporait.com
> And what does the config section
> look like in which you actually call upon this rules file?
---snip---
# Spam Whitelist:
# Make this point to a ruleset, and anything in that ruleset whose value
# is "yes" will *never* be marked as spam.
# The whitelist check is done before the blacklist check. If anyone
whitelists
# a message, then all recipients get the message. If no-one has
whitelisted it,
# then the blacklist is checked.
# This setting over-rides the "Is Definitely Spam" setting.
# This can also be the filename of a ruleset.
#Is Definitely Not Spam = no
Is Definitely Not Spam = %rules-dir%/spam.whitelist.rules
---snip---
>
> And finally did you restart MS after you did make the changes?
Sorry - this shows my lack of understanding in the set up (and shows the
problem of following a how-to). I thought Postfix somehow passed control
to MailScanner.
After thinking further and reading this post I'm thinking MailScanner
runs constantly and just watches a queue for scanning (right?)
I can re-start MailScanner using the webmin plugin I have, but what is
the correct prompt way of re-starting MailScanner?
MailScanner runs out of /opt/MailScanner/bin it appears.
Regards,
Ed.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the MailScanner
mailing list