Nerijus Baliunas
2014-12-23 13:11:32 UTC
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 ***@backup.domain.lt
From: *@domain.lt deliver header "X-Spam-Status: No" forward ***@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: ***@externaldomain.lt
Cc: ***@domain.lt
The message is sent to both ***@backup.domain.lt and ***@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
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 ***@backup.domain.lt
From: *@domain.lt deliver header "X-Spam-Status: No" forward ***@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: ***@externaldomain.lt
Cc: ***@domain.lt
The message is sent to both ***@backup.domain.lt and ***@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
--
MailScanner mailing list
***@lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
MailScanner mailing list
***@lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!