archiving rules

Nerijus Baliunas nerijusb at
Tue Dec 23 13:11:32 GMT 2014


I have Non Spam Actions = %rules-dir%/archive-nonspam.rules
and archive-nonspam.rules is:

To:         *      deliver header "X-Spam-Status: No" forward _TOUSER_ at
From:       *      deliver header "X-Spam-Status: No" forward _FROMUSER_.Sent at
FromOrTo:   default       deliver header "X-Spam-Status: No"

Messages are archived correctly. The problem is, when the message is sent like this:
To: user1 at
Cc: user2 at

The message is sent to both user1 at and user2 at
Is it possible _TOUSER_ in above rule to be used only if recipient domain is local, i.e.


More information about the MailScanner mailing list