Trouble with LMTP
shuji.kono at oriental.ac
Wed May 21 14:27:56 EDT 2003
tim.kettler at udo.edu wrote:
> May 21 18:50:23 preston postfix/lmtp: 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
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:
> 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