archiving rules
Nerijus Baliunas
nerijusb at dtiltas.lt
Tue Dec 23 13:11:32 GMT 2014
Hello,
I have Non Spam Actions = %rules-dir%/archive-nonspam.rules
and archive-nonspam.rules is:
To: *@domain.lt deliver header "X-Spam-Status: No" forward _TOUSER_ at backup.domain.lt
From: *@domain.lt deliver header "X-Spam-Status: No" forward _FROMUSER_.Sent at backup.domain.lt
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 externaldomain.lt
Cc: user2 at domain.lt
The message is sent to both user1 at backup.domain.lt and user2 at backup.domain.lt.
Is it possible _TOUSER_ in above rule to be used only if recipient domain is local, i.e. domain.lt?
Regards,
Nerijus
More information about the MailScanner
mailing list