Postfix + Amavis problems

zatharus at ncn.net zatharus at ncn.net
Wed Mar 3 05:58:46 EST 2004


I am trying to get Postfix 2.0.18 and Amavis-new-20030314 to work
together on a RH9 system and having difficulty.  For those not
familiar, here's a brief overview of how it is supposed to work:

Postfix accepts mail on port 25
Postfix forwards messages to amavis via localhost:10024
Amavis opens attachements and runs them through a separate virus
scanner.
Amavis forwards mail accepted for delievery back to postfix via
localhost:10025
Postfix delivers mail to /home/Maildir/new

I can get postfix to answer and deliver messages correctly from port
10025.
However, when I test amavis on port 10024 I have problems:

telnet 127.0.0.1 10024
>connected to 127.0.0.1
>Escape character is '^]'
>220 [127.0.0.1] ESMTP amavisd-new service ready
mail from:test at domain.com
>250 2.1.0 Sender test at domain.com OK
rcpt to:test at domain.com
>250 2.1.5 Recipient test at domain.com OK
data
>354 End data with <CR><LF>.<CR><LF>
testing 123.
.

The message is not delivered and the telnet session hangs.

Here is the error message from /var/log/maillog

warning - MIME::Parser error: ServeredHead: unexpected end of header;
EOSToken: EOF; EOSType: EOF; Header:; testing 123.; error: BadHead:
couldn't parse header; ProblemNear:; testing 123.

Anyone else familiar with this that could help point me in the right
direction/

Thanks!

Sean Johnson



More information about the nflug mailing list