View Single Post
Old 3 Apr 2018, 05:57 PM   #5
ferrety
Member
 
Join Date: Mar 2018
Posts: 53
Bill
If I want to block more than one domain but want to have them receive different reject reasons can I do it like this? Is there a limit to how many I can do?

if address :domain :is ["X-Mail-from"] ["marketplace.amazon.co.uk"]
{
reject "Unwanted Spam From Amazon Marketplace seller";
stop;
}


if address :domain :is ["X-Mail-from"] ["trustpilot.com"]
{
reject "Trustpilot are not authorised to have this email address";
stop;
}
ferrety is offline   Reply With Quote