What is the 'miltersocket' setting in the 'clamav-milter.conf' file?
BTW, you should post the complete output of 'postconf -n'. It is
possible the problem lies somewhere else.
--
Jerry
postfi...@yahoo.com
TO REPORT A PROBLEM see http://www.postfix.org/DEBUG_README.html#mail
TO (UN)SUBSCRIBE see http://www.postfix.org/lists.html
Perhaps your kernel does not like the way that Postfix smtpd sends
the Milter sockets to Postfix cleanup.
There have been some incompatible changes in Postfix workarounds
for broken file descriptor passing implementations.
The workaround for OpenBSD 3.something was removed because 1)
OpenBSD 4.something no longer needs it; 2) it broke on 64-bit
NetBSD; 3) other systems never needed the workaround.
What is your OS, and what is your Postfix version?
Wietse
Hi! here's it is: MilterSocket inet:7777@localhost
That's the complete output from postconf -n due that it's only for testing purposes.
Regards.
"Cuidar la naturaleza es vivir mejor... hag?moslo juntos. Imprime s?lo lo necesario."
"La informaci?n transmitida en este mensaje est? destinada ?nicamente a la persona o entidad a la cual el mismo est? dirigido, y puede contener material confidencial, reservado o sujeto al secreto profesional. Cualquier revisi?n, retransmisi?n, divulgaci?n u otro uso de la misma, o la realizaci?n de cualquier acci?n basada en ella por personas o entidades distintas de la indicada, no est? permitida. Si usted ha recibido este mensaje por error, tenga la amabilidad de destruirlo, sin copiarlo ni divulgar su contenido. Muchas gracias."
Hi Wietse!, here's the information you're asking:
mail_version = 2.6.5 (package from Simon J Mudd)
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
Kernel: 2.6.18-164.9.1.el5 #1 SMP Wed Dec 9 03:27:37 EST 2009 x86_64 x86_64
additionally:
clamav-db-0.95.3-1.el5.rf
clamav-milter-0.95.3-1.el5.rf
clamav-0.95.3-1.el5.rf
Thanks in advance for any other comments.
Jorge.
Wietse:
> Perhaps your kernel does not like the way that Postfix smtpd sends
> the Milter sockets to Postfix cleanup.
>
> There have been some incompatible changes in Postfix workarounds
> for broken file descriptor passing implementations.
>
> The workaround for OpenBSD 3.something was removed because 1)
> OpenBSD 4.something no longer needs it; 2) it broke on 64-bit
> NetBSD; 3) other systems never needed the workaround.
>
> What is your OS, and what is your Postfix version?
JORGE CARMINATI:
> Hi Wietse!, here's the information you're asking:
>
> mail_version = 2.6.5 (package from Simon J Mudd)
> Red Hat Enterprise Linux Server release 5.4 (Tikanga)
> Kernel: 2.6.18-164.9.1.el5 #1 SMP Wed Dec 9 03:27:37 EST 2009 x86_64 x86_64
I am not aware of problems with Linux kernels.
I have two pieces of home work for you.
1) Perhaps your system runs "security" software that is not configured
to allow Postfix to send file descriptors over UNIX-domain sockets.
In that case there may be errors in the logfile. that explains
WHY it cannot
2) There is more mail logging from the process 1177 BEFORE it gives
up. Please show the complete record.
Wietse
But you'll probably get it running, fear not.
--
Ralf Hildebrandt
Geschäftsbereich IT | Abteilung Netzwerk
Charité - Universitätsmedizin Berlin
Campus Benjamin Franklin
Hindenburgdamm 30 | D-12203 Berlin
Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
ralf.hil...@charite.de | http://www.charite.de
Process 1177 doesn't show anything before or after, only what I sent previously:
$ sudo cat /var/log/maillog | egrep '\[1177\]'
Dec 22 16:16:47 relay1 postfix/cleanup[1177]: warning: cannot receive milters via service cleanup socket socket
Dec 22 16:16:47 relay1 postfix/cleanup[1177]: fatal: cleanup_milter_receive: milter receive failed
Anyway, following your first comment, I completely disabled SELinux and repeated some tests and now clamav-milter is working!:
Dec 23 09:18:30 relay1 postfix/smtpd[11074]: > unknown[172.16.2.3]: 354 End data with <CR><LF>.<CR><LF>
Dec 23 09:18:38 relay1 postfix/cleanup[11138]: 5558A1F182D9: message-id=<>
Dec 23 09:18:38 relay1 clamd[2951]: fd[11]: Eicar-Test-Signature FOUND
Dec 23 09:18:39 relay1 postfix/cleanup[11138]: 5558A1F182D9: milter-hold: END-OF-MESSAGE from unknown[172.16.2.3]: milter triggers HOLD action; from=<us...@relay1.example.net> to=<supe...@relay1.example.net> proto=SMTP
Dec 23 09:18:39 relay1 postfix/smtpd[11074]: public/cleanup socket: wanted attribute: status
I had a couple of issues with SELinux in the past but it always logged the events to dmesg or /var/log/messages but this time nothing is been logged so my post... I'll have to look deeper in order to find what's going on with SELinux.
Thanks once again and my best wishes.