Re: Postfix can't deliver to cyrus via lmtp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Derek Croxton wrote, at 07/11/2008 02:36 PM:
> I'm migrating a cyrus + postfix server to Ubuntu Hardy. Everything
> else works -- old mail is migrated, I can read it, and I can send
> mail -- but I can't receive mail. It gets stuck in postfix, with the
> error "warning: connect #[x] to subsystem private/lmtp: Connection
> refused".
> 
> I discovered that the lmtp socket in Hardy is, by default,
> /var/run/cyrus/socket/lmtp, and I set master.cf accordingly. I saw
> one warning that the file needs to be accessible to both the cyrus
> and the postfix users. The /var/run/socket directory is owned by
> cyrus:mail, and has permissions of 740. The lmtp file itself is owned
> by root:root, but has permissions of 777. (Actually, the permissions
> line reads "srwxrwxrwx"; I can't remember what the leading "s"
> means.) Postfix appears to be running as the "postfix" user.
> 
> Thanks far any help you can provide.

You should only need to add postfix to the mail group (at least, that's 
what I do on Slackware, where I have Postfix and Cyrus IMAPd compiled 
from source).

You may still encounter a problem if Postfix is chrooted (the default in 
Debian-based systems, I believe). It is perfectly safe to not chroot 
Postfix, and I would recommend this as the easiest solution if it raises 
issues.


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

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux