Using Spamassasin and cPanel to scan email prior to relaying?

shw

Active Member
Oct 24, 2006
25
0
151
Hard to explain well enough in the subject but I'm looking to have my domain scanned for spam and viruses prior to being sent to my Exchange server which is in a completely different network. I did setup the mx records so Exim will queue mail if the primary (lower scored) MX record is unreachable from this thread...

http://forums.cpanel.net/showthread.php?t=59402

But how can I have Spamassassin actually scan the mail prior to relaying it to my Exchange server?

Thanks for any assistance.
 
Last edited:

Danny_T

Well-Known Member
Jul 19, 2005
181
0
166
Netherlands
But how can I have Spamassassin actually scan the mail prior to relaying it to my Exchange server?

Thanks for any assistance.
You can turn on in exim,conf to scan also the mqueue spool.
I have it enabled to prevent spooling of spam messages that are undeliverable. So i have a nice small clean queue.

Danny.
 

shw

Active Member
Oct 24, 2006
25
0
151
You can turn on in exim,conf to scan also the mqueue spool.
I have it enabled to prevent spooling of spam messages that are undeliverable. So i have a nice small clean queue.

Danny.
You wouldn't happen to have some instructions on how to do this would you? I'm mostly a Microsoft guy (yes I know!! :eek: but it pays da bills). I use the cPanel for reselling to my smaller customers but figured i could take advantage of some spam/av scanning prior to reaching my network...aka low-end Postini. :)

Thanks again.
 

shw

Active Member
Oct 24, 2006
25
0
151
bump? Somebody else has to know how to do this and I could not find any other posts on this forum giving instructions.
 

bornonline

Well-Known Member
Nov 19, 2004
139
0
166
Earth
Anyone ever get this sorted out? I'm currently running the config server mailscanner setup.

I'm looking to do the same thing, but worried that the dictionary attack ACL will not work unless I setup all their accounts locally too. Would purging the spool file achieve the same thing?

How can I :fail: non-existant accounts like I do local accounts, but still scan this domains valid email accounts for spam and then forward to exchange. The forwarding setup is not the issue for me.

EDIT>> Ok... I need to setup exim smart routes it looks like. I guess there is no way to use :fail: on this type of setup :(
 
Last edited: