[prev in list] [next in list] [prev in thread] [next in thread]
List: cyrus-info
Subject: LMTP problem
From: info-cyrus-spodhuis () spodhuis ! org (Phil Pennock)
Date: 2006-09-27 7:42:01
Message-ID: 20060927114157.GA13967 () domus ! home ! globnix ! net
[Download RAW message or body]
On 2006-09-25 at 18:14 +0200, Daniel St?lhammar wrote:
> Trying to send mail local on my machine i get this error.
> [root@klaus exim]# delivering 1GRsrR-0000j4-7C
> LOG: MAIN
> == xxx R=localuser T=local_delivery defer (-1): LMTP connection closed
> after initial connection
TCP Wrappers? Does /etc/hosts.allow permit the LMTP connection from the
IP address which the packets will come from?
You could use Unix-domain sockets instead. The lmtp line in cyrus.conf
then takes a path-name pointing to a socket location in the listen="..."
parameter and you give Exim (assuming Exim 4) the socket option in the
transport. So I have:
imap_inject_envto:
driver = lmtp
socket = IMAP_LMTP_SOCKETPATH
envelope_to_add
user = mail
group = mail
rcpt_include_affixes
headers_remove = "lines"
headers_add = "Lines: $body_linecount"
where IMAP_LMTP_SOCKETPATH is defined at the start of the file, and the
Lines stuff lets mutt see the size of the mail in the index; Exim
already has the information available so there's no delay caused by
adding that.
I can't help with LTMP verification though, since I cheat by breaking
open the abstraction of Cyrus letting Exim see which folders exist in
the local filesystem.
--
"Everything has three factors: politics, money, and the right way to do it.
In that order." -- Gary Donahue
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic