Trouble with LMTP

Chris Scott chris at hostorlando.tv
Wed May 21 16:02:50 EDT 2003


Tim Kettler wrote:
> Hello all,
> 
> I've installed and configured a Postfix + Cyrus-IMAP combo. The only
> thing left is the hand over of mails from Postfix to the Cyrus LMTP.
> When testing manually with 'deliver' all works well. But when Postfix
> tries to forward an incoming message I get the following error:
> 
> 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)
> 
> For me, it look like the user that Postfix runs under has not the
> appropriate rights to connect to the LMTP Unix-DomainSocket. A ll for
> the socket gives this:
> 
> $ll lmtp
> srwxrwxrwx    1 root     root            0 May 21 16:02 lmtp
> 
> So everyone should have sufficient access rights to access the socket.

Mine looks like the following:
srwxrwxrwx  1 root   mail  0 May  3 10:03 lmtp

and both the cyrus and postfix users are in the mail group in /etc/group:
mail:*:6:cyrus,postfix

Hope this helps.

Chris Scott





More information about the Info-cyrus mailing list