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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx>, size=348, nrcpt=1 (queue active) Jul 21 15:25:42 oliebol postfix/lmtp[7490]: 2A9BA7458: to=<user2@xxxxxxxxxx>, 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@xxxxxxxxxxx>
250 2.1.0 ok
rcpt to:<user2@xxxxxxxxxx>
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,
----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux