MailScanner beta 4.40.8 release
Julian Field
MailScanner at ecs.soton.ac.uk
Mon Mar 28 15:59:08 IST 2005
[ The following text is in the "ISO-8859-1" character set. ]
[ Your display is set for the "US-ASCII" character set. ]
[ Some characters may be displayed incorrectly. ]
G. Armour Van Horn wrote:
> Greetings:
>
> I have one system in which my whitelists seem to be completely ignored.
> I have these lines in MailScanner.conf:
>
> %rules-dir% = /etc/MailScanner/rules
>
> Is Definitely Not Spam = %rules-dir%/spam.whitelist.rules
> Allow Form Tags = %rules-dir%/formtag.whitelist.rules
> Allow Script Tags = %rules-dir%/scripttag.whitelist.rules
>
> I'm pretty sure my rules are in the right place:
> [root at viscount rules]# pwd
> /etc/MailScanner/rules
As long as your %rules-dir% is pointing to the directory containing your
ruleset files (*.rules) then they can be anywhere on your system. There
is nothing magic about /etc/MailScanner/rules.
>
> I've carefully examined the actual filenames about a dozen times to make
> sure I don't have any typos.
>
> This is the contents of formtag.whitelist.rules:
>
> From: newsletter at webnames.ca yes #per Charlie
> From: Continental_Airlines_Inc at coair.rsc01.com yes #per
> Shelly
> To: charlier yes
> To: will yes
> To: bartoo yes
> To: shelly yes
Those 4 "To" rules will be interpreted differently from how you think.
It cannot tell the difference between a username on its own and a domain
name on its own, so it assumes (wrongly, here) that it is a domain name.
So "shelly" will be interpreted as "*@shelly" which isn't what you want.
You want to use
To: charlier@* yes
To: will@* yes
To: bartoo@* yes
To: shelly@* yes
> From: dmaas at shaw.ca yes
> From: gkoski at arrow.com yes #per Tim
> From: updatemembers at SUITE101.COM yes
> From: PCW at client17.email-bureau.co.uk yes
> FromOrTo: default no
>
> All of the "From:" entries in there are an attempt to pass mail that
> should already have been passed by the "To:" entries. All the whitespace
> in those entries are tabs, although I'm sure they were converted to
> spaces when I pasted that in here.
In normal ruleset files, all spaces are treated the same, you can use
any mixture of tabs and spaces.
The only places that tabs/spaces actually matters are in
filename.rules.conf and filetype.rules.conf.
> Can anybody see anything I've messed up? As far as I can tell, the
> syntax I'm using on this server matches that which works just fine on my
> other two servers.
>
> Van
>
> --
> ----------------------------------------------------------
> Sign up now for Quotes of the Day, a handful of quotations
> on a theme delivered every morning.
> Enlightenment! Daily, for free!
> mailto:twisted at whidbey.com?subject=Subscribe_QOTD
>
> For photography, web design, hosting, and maintenance,
> visit Van's home page: http://www.domainvanhorn.com/van/
> -----------------------------------------------------------
>
> ------------------------ MailScanner list ------------------------
> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> 'leave mailscanner' in the body of the email.
> Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>
> Support MailScanner development - buy the book off the website!
>
--
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list