incoming "to" email address reject file and filter

yadunandan

Registered
Feb 17, 2012
1
0
51
cPanel Access Level
Root Administrator
Hello,

I have root access to centOS server with whm installed. I have a file with email addresses which i want to block/reject for incoming emails, basicaly an incoming email address block list called - reject_to_email_address.txt

I have edited the local.cf in spamassassin folder and inserted the whitelist_from and blacklist_from entries as per my needs.

I would like to know how/where I can insert the reject and block or drop entries - can I directly insert the email addresses in a filter file with reject_to or block_to rule? similar to local.cf?

Can I set a filter which checks my reject_to_email_address.txt file and drops the emails coming to those addresses?

Is it possible to set this filter/file for all accounts? Even if I can set it for any one account, I would like to know the filter and rule where I can edit and configure the same.

The email server is exim.



Regards,
Yadunandan