The bounce option has gone, this should work but its not a silent bounce.
if header :contains ["From", "X-Mail-from", "Return-Path"] "_____@_____" {
reject "Message rejected because ___________!";
stop;
}
This should just discard
if anyof(
envelope :contains ["from","to"] "your domain.com",
header :contains ["X-Delivered-to", "X-Mail-from"] ["email from"],
discard;
stop;
}
Last edited by Terry : 4 Oct 2017 at 12:35 PM.
|