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

Rudy Gevaert Rudy.Gevaert at UGent.be
Fri Jul 21 09:32:11 EDT 2006


Hi,

I'm trying to configure postfix to deliver to my cyrus lmtpd.  I read 
the LMTP readme and configured my cyrus like this:

   lmtp          cmd="lmtpd -a -C /mail/mail2/etc/imapd.conf" 
listen="host.name.tld:lmtp" prefork=10

hosts.deny says to deny all lmtp access, and hosts.allow accepts all 
lmtp access from one host (that is running the postfix mail server).

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)

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

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
250-mail2.ugent.be
250-8BITMIME
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-SIZE
250-AUTH EXTERNAL
250 IGNOREQUOTA
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
da


af
.
554 5.6.0 Message contains invalid header

How do I further test if my lmtp is working?  (So I can gave a look at 
the postfix problem)

Thanks in advance,


More information about the Info-cyrus mailing list