Trouble with LMTP
Shuji Kono
shuji.kono at oriental.ac
Wed May 21 14:27:56 EDT 2003
Hello,
tim.kettler at udo.edu wrote:
> May 21 18:50:23 preston postfix/lmtp[22328]: DA6B010243:
> to=<test at example.com>, relay=none, delay=3518, status=deferred (connect
> to /var/lib/imap/socket/lmtp[/var/lib/imap/socket/lmtp]: Permission
> denied)
I have had a similar problem. If you are running FreeBSD and compiled
Cyrus source code manually, it might check UNIX domain socket as if
it were TCP connection. Eventually, lmtp will be rejected by libwrap.
To avoid that, apply the following patch:
http://www.freebsd.org/cgi/cvsweb.cgi/ports/mail/cyrus-imapd2/files/patch-df?rev=1.3&content-type=text/x-cvsweb-markup
> Revision 1.3, Thu Aug 15 16:10:56 2002 UTC (9 months ago) by ume
> Branch: MAIN
> CVS Tags: RELEASE_5_0_0, RELEASE_4_7_0
> Changes since 1.2: +5 -3 lines
>
> It seems getpeername() returns with no error but doesn't fill struct
> sockaddr correctly against PF_UNIX socket under 5-CURRENT. Because of
> this behavior, PF_UNIX socket was always checked by libwrap. This
> work around prevents PF_UNIX socket from checking by libwrap to always
> allow LMTP.
I'm not sure if this is applicable to platform other than FreeBSD, but
hope it would be helpful.
--
Shuji Kono <shuji.kono at oriental.ac>
More information about the Info-cyrus
mailing list