Debian update generated Email Problems

tdldp

Verified User
Joined
May 9, 2005
Messages
150
Hello ...

I'm facing a problem i do not understand, and which is due strictly to an update made on the box hosting directadmin...

I needed to activate freetype in GD for php....
Being under debian, and after several apt-get, that did not work, i used following update method, :
Code:
# ./build clean
# ./build update
# ./build all
which allowed me to update all customapache scripts... (including php to 4.4.7 : And yes certain dependencies were to be resolved... This done i restart a build and manage to update everything....

This done, i'm pretty happy, i check if systems ok there seems to be no problem (even dovecot was working)

Strangely after aprox 10 minutes, i start having problems with email, and clients unable to send email anymore,....

Checking logs i get :

malware acl condition: clamd: unable to connect to UNIX socket /tmp/clamd (Connection refused)
H=smtp23.orange.fr [] F=<[email protected]> temporarily rejected after DATA

In exim if i comment
Code:
av_scanner = clamd:/tmp/clamd
i then get :

malware acl condition: unable to connect to sophie UNIX socket (/var/run/sophie). errno=2

Ok i get back in exim and Get following acl structure :

Code:
# ACL that is used after the DATA command
check_message:
deny message = This message contains malformed MIME ($demime_reason)
demime = *
condition = ${if >{$demime_errorlevel}{2}{1}{0}}
#deny message = This message contains a virus or other harmful content ($malware_name)
#demime = *
#malware = *
deny message = This message contains an attachment of a type which we do not accept (.$found_extension)
demime = bat:comifrf:scr:vbs
warn message = X-Antivirus-Scanner: Clean mail though you should still use an Antivirus
accept
  accept

And there mails restart get processed (whewwww...)

Must i precise that the box has been working for months correctly with that conf, and has started having problems after update...
My questions are :

Why is exim not working anymore, after that update ???
Is it the fact to have updated in customapache ???
How can i be sure that dovecot is running correctly with exim ???? (i have doubts now)
How do i fix the problem in acl and clamd in order to restore clamd and ACL usage in exim....???
Final thing, i'll search, but i dont remember how to use dovecot exim patch... Do you know where i can find useguide for it ???...

Thks for your answers...

Tdldp
 
Hi,

malware acl condition: unable to connect to sophie UNIX socket (/var/run/sophie). errno=2

Was wondering how you solved this issue.
 
The first response to this post may give you some direction. Note this link is to an external site; not DirectAdmin.

But it looks applicable.

Jeff
 
Back
Top