lmtp over tcp sockets, access denied and lmtp error: Message contains invalid header

Pascal Gienger Pascal.Gienger at uni-konstanz.de
Fri Jul 21 10:30:21 EDT 2006


Rudy Gevaert <Rudy.Gevaert at UGent.be> wrote:


> Now postfix complains:
> Jul 21 15:25:42 oliebol postfix/qmgr[7484]: 2A9BA7458:
> from=<rudy at webworm.org>, size=348, nrcpt=1 (queue active)
> Jul 21 15:25:42 oliebol postfix/lmtp[7490]: 2A9BA7458:
> to=<user2 at domain.com>, relay=none, delay=4236, status=deferred (connect
> to mail2.ugent.be[157.193.71.18]: Connection refused)

Postfix seems to connect to a wrong port number. What's in your master.cf 
and main.cf regarding that lmtp transport?

> I want to test my lmtp setup, but this fails too:

No it did not :)

> oliebol:/etc/postfix# telnet mail2.ugent.be 2003
> Trying 157.193.71.18...
> Connected to mail2.ugent.be.
> Escape character is '^]'.
> 220 mail2.ugent.be LMTP Cyrus v2.3.7 ready
> LHLO foo.edu

[...]

> mail from:<rudy at webworm.org>
> 250 2.1.0 ok
> rcpt to:<user2 at domain.com>
> 250 2.1.5 ok
> DATA
> 354 go ahead
> daf
[...]
> .
> 554 5.6.0 Message contains invalid header
>

That is normal. "daf" is not an allowed mail header.

You seem to have configured 2003 as your lmtpd port in your /etc/services 
of your cyrus host. Does lmtp use the same port?

Pascal
Pascal


More information about the Info-cyrus mailing list