mailscanner and exim.conf

abubin

Well-Known Member
Dec 7, 2004
401
3
168
I just upgrade to latest script of configserver's mailscanner package but something seems to have changed and I am getting problems receiving emails.

After upgrading mailscanner, I was tinkering with exim.conf. I sort of tried to reapply all the changed I made for exim.conf like rvskin's blacklist and dictionary attack and so on.

Then I realized that the server is not receiving any emails after restarting exim. Luckily I did a backup of exim.conf and restored that. It was working again.

Then went for weekend off and came back with users screaming they did not receive any emails since Friday.

I checked the script and found that the top part had missing these :

Code:
spool_directory = /var/spool/exim_incoming
queue_only = true
I added it back and also found out something about :

Code:
#!!# message_filter renamed system_filter
system_filter = /etc/antivirus.exim
message_body_visible = 5000
This part is located in someplace where whm exim editor can't change.

When I check in exim configuration in whm,

[/etc/antivirus.empty] System filter file (leave blank to disable)

So, which one is correct? After some search, found that it was installed with latest mailscanner from configserver's script. But seems there are some conflict here as there are 2 system_filter configure.

Please help...urgent. Thanks in advance.
 

abubin

Well-Known Member
Dec 7, 2004
401
3
168
okay, email seems to be back in working condition after checking line by line comparing exim.conf and WHM exim editor.

But I still would like to know what's the difference between :

system_filter = /etc/antivirus.exim

and

/etc/antivirus.empty

Cause in configserver's website I don't understand what was said in the blog. Thanks in advance.