MS 4.48.4 and rules rejected messages

[iso-8859-2] Grzegorz Staleñczyk scs at uwb.edu.pl
Tue Dec 13 09:44:17 GMT 2005


    [ The following text is in the "iso-8859-2" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Hey!

In Maliscanner.conf I have:
Reject Message =  %rules-dir%/reject.messages.rules

In %rules-dir%/reject.messages.rules I have this rules:

From:   user at bad.domain.org            yes

And this work fine, user at bad.domain.org is rejected with report "rejection.report.txt"

But when in %rules-dir%/reject.messages.rules I try this:

From:   user at bad.domain.org     %rules-dir%/reject.bad.user
From:   1.2.3.4                 %rules-dir%/reject.bad.ip

I've this error in MS logs:

Syntax error in line 5 of ruleset file /opt/MailScanner/etc/rules/reject.messages.
rules

I file %rules-dir%/reject.bad.user I have this:

Bad user or bad domain - message rejected.

And  file %rules-dir%/reject.bad.ip I have this:

Bad ip - message rejected.


How can I modify  rules-dir%/reject.messages.rules to have different rejected messages
to different actions. It is possible?

Thank for help.

-- 
DZIAL SYSTEMOW KOMPUTEROWYCH I SIECI TELEINFORMATYCZNYCH
Uniwersytet w Bialymstoku

mgr in¿. Grzegorz Stalenczyk
e-mail: scs at uwb.edu.pl
tel. (085) 745 70 95
             

------------------------ 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 Wiki (http://wiki.mailscanner.info/) 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