Permision problem with lmtp

Simon Matter simon.matter at ch.sauter-bc.com
Thu Oct 13 06:56:12 EDT 2005


> Hi
>
> Im a newbie, and im trying to setup postfix to deliver mail to cyrus,
> and i have setup this in my postfix config:
>
> mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
>
> In mi maillog i get this when receiving mail:
>
> --- maillog ---
> Oct 12 13:31:28 moso postfix/lmtp[7607]: 6E60C10FC89:
> to=<soeren at localhost.moso.dk>, orig_to=<soeren at neigaard.com>,
> relay=none, delay=12, status=deferred (connect to
> /var/lib/imap/socket/lmtp[/var/lib/imap/socket/lmtp]: Permission denied)
> --- maillog ---
>
> So i have a permission problem, but what is it? ls -asl
> /var/lib/imap/socket/lmtp gives this:
>
> 4 srwxrwxrwx  1 root root 0 Oct 12 09:09 /var/lib/imap/socket/lmtp
>
> So everyone should have write permissions, right?

1)
You also have to check permissions of the directories.

2)
Maybe your postfix/lmtp runs chrooted. Then you have a problem. The
easiest solution would be to disable chroot for lmtp in postfix master.cf

HTH
Simon

>
> imapd runs as the cyrus user.
>
> postfix runs as the postfix user.
>
> How would i fix this permission problem, what am i missing?
>
> --
> Med venlig hilsen/Best regards
> Søren Neigaard
> System Architect
> ................................
> Mobilethink A/S
> Arosgaarden
> Åboulevarden 23, 4.sal
> DK - 8000 Århus C
> Telefon: +45 86207800
> Direct: +45 86207810
> Fax: +45 86207801
> Email: s.neigaard at mobilethink.dk
> Web: www.mobilethink.dk
> ................................
>
> ----
> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>
>




More information about the Info-cyrus mailing list