Yet another rules question

Brent Strignano brent at MIRABITO.COM
Wed Sep 29 18:02:44 IST 2004


Hello,

I'm trying to follow the FAQ and specify a different filename rules file
for outgoing and incoming mail.
Here is what I did so far.
Copied the original 'filename.rules.conf' file to
'inbound.filename.rules.conf' and 'outbound.filname.rules.conf' and put
them in my rules directory.
Created a new filename.rules.conf file that contains the following:
From:           192.168.0
%rules-dir%/outbound.filename.rules.conf
FromOrTo:       default         %rules-dir%/inbound.filename.rules.conf

When I start MailScanner I get these errors in the maillog:

Sep 29 12:11:03 mailscan MailScanner[3181]: Possible syntax error on
line 1 of /etc/MailScanner/rules/filename.rules.conf
Sep 29 12:11:03 mailscan MailScanner[3181]: Remember to separate fields
with tab characters!
Sep 29 12:11:03 mailscan MailScanner[3181]: Possible syntax error on
line 2 of /etc/MailScanner/rules/filename.rules.conf
Sep 29 12:11:03 mailscan MailScanner[3181]: Remember to separate fields
with tab characters!

And the rules are not applied. I definitely used tabs to delimit the
fields of that file. If I change the setting for the filename rules file
in MailScanner.conf to use either the inbound or outbound file it works
with no syntax error. 

MS ver 4.32.4
Fedora Core 1

Thanks,

Brent Strignano

------------------------ 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).



More information about the MailScanner mailing list