View Single Post
Old 4 Apr 2018, 03:57 AM   #6
BritTim
The "e" in e-mail
 
Join Date: May 2003
Location: mostly in Thailand
Posts: 3,090
Quote:
Originally Posted by ferrety View Post
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;
}
You can do that. There is no practical limit on the length of the sieve snippets you can write.
BritTim is offline   Reply With Quote