Spam Action
Posted: 13 Apr 2015 10:29
Hi,
in MailScanner.conf I have by default:
Spam Actions = store custom(spam)
This setting send a "spam not delivered" notify to recipients when the sender sends a spam mail.
I need to change the CustomAction.pm to obtain the following behaviour:
If spam mails arrive from outside (domain not EFA managed), I want to send the "spam not delivered" to a recipient like spam@domain-recipient (that I've created)
If spam mails arrive from inside (domain EFA managed), I want to send the "spam not delivered" to a recipient like spam@domain-sender (that I've created)
Example from outside (domain-recipient = mydomain.com):
spam sender email: pippo@gmail.com
recipient email: pluto@mydomain.com
Action: Efa send the "spam not delivered" to spam@mydomain.com
Example from inside (domain-sender = mydomain.com):
spam sender email: pluto@mydomain.com
recipient email: pippo@gmail.com
Action: Efa send the "spam not delivered" to spam@mydomain.com
Do someone have an idea to do this?
Do someone have some experience in which is the best way to manage this scenario?
Thanks
in MailScanner.conf I have by default:
Spam Actions = store custom(spam)
This setting send a "spam not delivered" notify to recipients when the sender sends a spam mail.
I need to change the CustomAction.pm to obtain the following behaviour:
If spam mails arrive from outside (domain not EFA managed), I want to send the "spam not delivered" to a recipient like spam@domain-recipient (that I've created)
If spam mails arrive from inside (domain EFA managed), I want to send the "spam not delivered" to a recipient like spam@domain-sender (that I've created)
Example from outside (domain-recipient = mydomain.com):
spam sender email: pippo@gmail.com
recipient email: pluto@mydomain.com
Action: Efa send the "spam not delivered" to spam@mydomain.com
Example from inside (domain-sender = mydomain.com):
spam sender email: pluto@mydomain.com
recipient email: pippo@gmail.com
Action: Efa send the "spam not delivered" to spam@mydomain.com
Do someone have an idea to do this?
Do someone have some experience in which is the best way to manage this scenario?
Thanks