View Single Post
Old 4 Oct 2017, 12:30 PM   #2
Terry
The "e" in e-mail
 
Join Date: Jul 2002
Location: VK4
Posts: 2,513
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.
Terry is online now   Reply With Quote