[SOLVED} Re: permission problem on lmtp socket

JOYDEEP j.bakshi at unlimitedmail.org
Mon Apr 30 01:05:59 EDT 2007


Jorey Bump wrote:
> 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.

Thanks a lot  Jorey and all the responders. Jorey  you are right. I  
had  Postfix : postfix
Then I change it to postfix : postfix mail
and now I can send mail.    I AM GRATEFUL TO YOU FOR POINTING OUT THE
MISCONFIGURATION.

I have some error as below . can any one suggest how to fix it ?
---------------------------------
Apr 30 06:46:37 lvps87-230-8-228 postfix/local[19621]: warning:
inet_protocols: IPv6 support is disabled: Address family not supported
by protocol
Apr 30 06:46:37 lvps87-230-8-228 postfix/local[19621]: warning:
inet_protocols: configuring for IPv4 support only
Apr 30 06:46:37 lvps87-230-8-228 postfix/lmtp[19622]: warning:
inet_protocols: IPv6 support is disabled: Address family not supported
by protocol
Apr 30 06:46:37 lvps87-230-8-228 postfix/lmtp[19622]: warning:
inet_protocols: configuring for IPv4 support only
Apr 30 06:46:37 lvps87-230-8-228 postfix/lmtp[19622]: 37947231C00A:
to=<test at opendingo.com>,
relay=/var/lib/imap/socket/lmtp[/var/lib/imap/socket/lmtp], delay=0,
status=sent (250 2.1.5 Ok)
Apr 30 06:46:37 lvps87-230-8-228 postfix/qmgr[30259]: 37947231C00A: removed
--------------------------------------------------------------

>
>> 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