OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: queue file write error for my milter

From: Tony Earnshaw (tonnihetnet.nl)
Date: Tue Mar 04 2008 - 01:58:42 CST


Mani Jassar skrev, on 04-03-2008 00:09:

[...]

> I am trying to run a before queue Milter on a machine running centos. I
> am using Milter protocol version 2, postfix 2.4.6-1, and sendmail
> 8.13.8-2. I have tested the Milter on a debian machine and it runs
> fine, but on the centos machine I get a queue file write error when
> using postfix. Below is my input followed by some output from the
> maillog. Can someone please help me understand why this happens?
>
> telnet localhost 25
>
> Trying 127.0.0.1...
>
> Connected to localhost.localdomain (127.0.0.1).
>
> Escape character is '^]'.
>
> 220 mjassar-cent.abaca.com ESMTP Postfix
>
> mail from: testdomain.com
>
> 250 2.1.0 Ok
>
> rcpt to: testdomain.com
>
> 250 2.1.5 Ok
>
> data
>
> 354 End data with <CR><LF>.<CR><LF>
>
> hello
>
> .
>
> 451 4.3.0 Error: queue file write error
>
>
>
>
>
> MAILLOG

Your log gives more than enough information to help you isolate the
problem and (probably) solve it for yourself:

[...]

> Mar 1 18:16:30 mjassar-cent postfix/smtpd[23832]: send attr
> milter_action = tempfail
>
> Mar 1 18:16:30 mjassar-cent postfix/smtpd[23832]: public/cleanup
> socket: wanted attribute: dummy
>
> Mar 1 18:16:30 mjassar-cent postfix/smtpd[23832]: input attribute name:
> dummy
>
> Mar 1 18:16:30 mjassar-cent postfix/smtpd[23832]: input attribute
> value: (end)
>
> Mar 1 18:16:30 mjassar-cent postfix/smtpd[23832]: public/cleanup
> socket: wanted attribute: (list terminator)
>
> Mar 1 18:16:30 mjassar-cent postfix/smtpd[23832]: input attribute name:
> (end)
>
> Mar 1 18:16:30 mjassar-cent postfix/cleanup[23840]: warning: cannot
> receive milters via service cleanup socket socket
>
> Mar 1 18:16:30 mjassar-cent postfix/smtpd[23832]: warning: cannot send
> milters to service public/cleanup socket
>
> Mar 1 18:16:30 mjassar-cent postfix/smtpd[23832]: >
> mjassar-cent.abaca.com[127.0.0.1]: 354 End data with <CR><LF>.<CR><LF>
>
> Mar 1 18:16:31 mjassar-cent postfix/master[23824]: warning: process
> /usr/libexec/postfix/cleanup pid 23840 killed by signal 11

[...]

Best,

--Tonni

--
Tony Earnshaw
Email: tonni at hetnet dot nl