permission problem on lmtp socket

Jorey Bump list at joreybump.com
Fri Apr 27 10:30:27 EDT 2007


JOYDEEP wrote:

> I have    "mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp"  in
> main.cf
> 
> I have "lmtpunix      cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1"
> in cyrus.conf
> 
> 
> now when ever I try to sent mail from user at mydomain.com   to
> user at mydomain.com
> it reports error
> -------------------------------
> Apr 27 11:31:25 lvps87-230-8-228 postfix/lmtp[3433]: 2BF37BFE10C:
> to=<test at opendingo.com>, relay=none, delay=2822, status=deferred
> (connect to /var/lib/imap/socket/lmtp[/var/lib/imap/socket/lmtp]:
> Permission denied)
> ------------------------------------------

The error is coming from postfix.

> I have checked the permission and it is own by cyrus mail
> I have also checked the parent path starting from /var/lib/imap and it
> alongwith the underlying structures are owned by cyrus:mail

Run this command:

  groups postfix

You should see this output:

  postfix : postfix mail

If not, you must add postfix to the mail group.

> more over lmtptest command reports
> ----------------------------------
> getaddrinfo: Servname not supported for ai_socktype
> failure: Network initialization - can not connect to localhost:lmtp
> --------------------------------
> I am using suse 9.2.  How can I solve it ? please help

lmtptest seems to work only with a TCP port, and you're using a socket.
Don't waste time here. Fix your other error, and you should be fine.





More information about the Info-cyrus mailing list