Global Filter for Rejecting Emails

Umang Parekh

Registered
Feb 21, 2017
3
0
1
India
cPanel Access Level
DataCenter Provider
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:

How to Customize the Exim System Filter File - cPanel Knowledge Base - cPanel Documentation
How to Configure Mail Filters - cPanel Knowledge Base - cPanel Documentation
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.
 

Jcats

Well-Known Member
PartnerNOC
May 25, 2011
807
160
168
New Jersey
cPanel Access Level
DataCenter Provider

Attachments

Last edited:

Umang Parekh

Registered
Feb 21, 2017
3
0
1
India
cPanel Access Level
DataCenter Provider
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.
Code:
From: [email protected]****.co.za [mailto:[email protected]****.co.za]
Sent: Thursday, February 9, 2017 12:38 PM
Subject: Re: Purchase Order
Here the from email is [email protected]****.co.za and while replying to this email a new email address comes upfront i.e [email protected]****.co.za
We are looking to block such incoming emails who have this criteria where sender email is different from the replyto email address.
 
Last edited by a moderator: