Bypassing SpamAssassin/ClamAV for Outbound Mail & cPanel Updates

GCIS

Active Member
Dec 12, 2006
26
0
151
Hi,


Does cPanel include a feature allowing outbound mail to bypass Exim's transport filters? I am hesitant to directly hack the exim.conf, as any changes I make there may be erased by a future cPanel update. Is there an official and "update-proof" solution to this problem?

I am hosting quite a few users running medium-volume mailing lists to their customers. In the interest of keeping system load loads as low as possible, E-Mail sent on behalf of these users should not be scanned, as these users are trusted not to send spam. Other security measures are in place to prevent spammers from hijacking the server and turning it into a high volume spam pump, so the need to scan outbound mail is nonexistant for my organization. I would assume that many other cPanel users are in a similar situation.


Thanks in Advance
 

forlinuxsupport

Well-Known Member
PartnerNOC
Dec 22, 2004
386
0
166
cPanel Access Level
Root Administrator
Hey

I'm also looking for this. I thought by default exim did NOT scan outgoing emails anyway...

I have a server where they have quite large a large mailling list.

The mail seems to just get dumped into the exim queue and exim spawns children to deal with it. It just keeps spawning them until it kills the server.

I have yet to find a way of telling exim to only spawn e.g .5 children to do the deilvers and keep the server load good.

Any help is appreciated.

Cheers
Andy
 

forlinuxsupport

Well-Known Member
PartnerNOC
Dec 22, 2004
386
0
166
cPanel Access Level
Root Administrator
Hmm I found these options somewhere- added them to top box in exim conf in cpanel.

Code:
queue_only_load = 6
queue_run_max = 3
remote_max_parallel = 2
The only one I know is the top one. where 6 is the server LOAD. SO if it hits 6 mail deliver etc is stopped, until the load comes down.

That seems to work, but now I have email stuck in the mailq for a few days.
If I click on it and choose deliver it does.

Very weird.

Any help appreciated
 

anoetic

Active Member
Feb 5, 2006
25
0
151
Bypass scanning outbound mail

I'd sure like to see further discussion of this subject. It seems like it should be possible to detect that mail is coming from localhost or a local IP and skip the spam and virus checking. I just don't know how to do this, but I wish I did.