permission problem on lmtp socket

Wolfgang Hennerbichler wogri at wogri.com
Fri Apr 27 08:19:15 EDT 2007


On 27.04.2007, at 11:47, JOYDEEP wrote:

> Dear list,
>
> I have    "mailbox_transport = lmtp:unix:/var/lib/imap/socket/ 
> lmtp"  in
> main.cf

main.cf - I assume your mta postfix?

> 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)
> ------------------------------------------
>
> I have checked the permission and it is own by cyrus mail

let me guess - postfix is not running as the cyrus user, huh? what  
about the group-permission of the lmtp socket?

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

> more over lmtptest command reports
> ----------------------------------
> getaddrinfo: Servname not supported for ai_socktype
> failure: Network initialization - can not connect to localhost:lmtp
> --------------------------------

looks like it wants to connect to the ip address localhost. well, you  
have unix-socket, so it won't be able to connect.

> I am using suse 9.2.  How can I solve it ? please help

please do more reading, get a book or something. so many of your  
issues do not belong to this mailinglist and are off-topic. I don't  
mean to be rude, but we can't do everything for you, we also had to  
read a lot.

> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


-- 
www.vix.at // www.aco.net // www.sth.ac.at
wh at univie.ac.at // WH844-RIPE
Vienna University Computer Center
Tel: +43 1 4277-14031 // Fax: -9140





More information about the Info-cyrus mailing list