Using cPanel as a spam filter for remote mail exchangers

LostNerd

Well-Known Member
Mar 12, 2014
258
12
18
Hastings, East Sussex, UK
cPanel Access Level
Root Administrator
Twitter
I recently had a question, and I wasn't able to answer it! I need answers! :p

Do any of you know of any way to use cPanel as a sort of relay where it will run a spam scan and then pass it on to the remote mail exchanger? For example:

Spam Mail -> Recieved by cPanel/Spam Assassin -> Mark as spam if required -> Deliver to External Exchange Server

Any suggestions are appreciated.
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
You may want to try the Exim users mailing list to see if anyone else has configured Exim this way:

Exim Users Mailing List

Thank you.
 

oshs

Well-Known Member
PartnerNOC
Sep 5, 2004
146
0
166
Hi LordNerd and all,

Did anyone ever figure out how to clean mail on the Cpanel server via Spamassassin and then relay mail onto the customer's Exchange server?
 

LostNerd

Well-Known Member
Mar 12, 2014
258
12
18
Hastings, East Sussex, UK
cPanel Access Level
Root Administrator
Twitter
As of yet, unfortunately not. I've resorted to building a standalone VM running Baruwa. A free spam filtering/mail relay server. This filters the emails and then delivers or quarantines on a per domain name basis where you can define the endpoint server per domain.
 

oshs

Well-Known Member
PartnerNOC
Sep 5, 2004
146
0
166
Thanks for your reply.

Do you have a simple how-to for quickly setting up a Baruwa server and integrating for a specific domain, i.e how and where do you deliver or quarantine on a per domain name basis where you can define the endpoint server per domain?