Global Filter for Rejecting Emails
Hello,
I am looking to create a Global Filter which can do the following.
Block all incoming emails which have
FromEmail address not equal to the reply_to address.
so if any incoming email has fromemail abc@xyz.com and replyto is set to pqr@abc.com must be rejected.
If anyone knows how this can be achieved then please suggest.
-
seems cpanel interface global email filter is what you are referring to. The following documents offer some examples on how to implement custom filter rules:
Thank you for the prompt response but the links do not solve my problem. What I am looking to do is not explained in the links. I think we need to create a filter using if then else. where the if part has from_email not equal to reply_to email then reject else proceed. If someone can help on this would be great.0 -
You mean like this: The Filter has matched the following condition(s): $header_from: is abc@xyz.com[/EMAIL] and $reply_address: contains pqr@abc.com[/EMAIL] $reply_address: contains pqr@abc.com[/EMAIL] $header_from: is abc@xyz.com[/EMAIL] Return-path copied from sender Save message to: /dev/null 0660 0 -
Problem is We are receiving spam emails from unknown senders. So we are looking for a global filter with wildcard entry such as. when an incoming email hits the server our global filter will check if the incoming email has set from email and reply to address as the same. From: admin@****.co.za [mailto:21168289@****.co.za] Sent: Thursday, February 9, 2017 12:38 PM Subject: Re: Purchase Order
Here the from email is admin@****.co.za and while replying to this email a new email address comes upfront i.e 21168289@****.co.za We are looking to block such incoming emails who have this criteria where sender email is different from the replyto email address.0 -
Hello, You may find the following thread helpful: Need to filter ALL email Thank you. 0
Please sign in to leave a comment.
Comments
5 comments