lauro@npd.ufsc.br wrote:
I'm on opensuse 10.1. I read the mailing list and noticed many people with the same problem. Cyrus and Postfix are on the same machine.
Postfix cannot connect to the ltmp socket and deliver mail to Cyrus, so it can then deliver to users: --- host postfix/lmtp[7070]: A8721F25E: to=
, relay=none, delay=17, status=deferred (connect to /var/lib/imap/socket/lmtp[/var/lib/imap/socket/lmtp]: Permission denied) --- srwxrwxrwx 1 root root 0 Jun 25 10:33 /var/lib/imap/socket/lmtp drwxr-x--- 13 cyrus mail 4096 Jun 26 08:03 imap (/var/lib/imap) --- user cyrus is cyrus.mail user postfix is postfix.postfix ---
the user Postfix does not have permission to access the socket.
I tried to stop apparmor, but even so it didn't work, with the same message. I went thru the apparmor profiles and there was nothing about the postfix user/group neither the executable or that particular diretory. The apparmor profiles are the same from default install, and all mentioned software are from the 10.1 repositories.
When I add the postfix user to the mail group, it works ok. But I don't want to do that, it might cause some misbehavior(?), I would like a
What misbehaviour did you encounter?
different more "correct" approach, say to change apparmor config to let the postfix user or the executable from postfix which tries to use that socket to do so. What do you think would be more appropriated?
It's a rather miserable affair. The Default configuration does not cover the delivery via lmtp. I think they fixed the permissions in 10.2, though I haven't checked it lately. Adding postfix to the mail group was a sufficient solution for me. You could simply tell Cyrus to put the socket in a directory where the user postfix already has access to. Though I am not sure if this will break when you update. It shouldn't break. Another question is if you have other applications that need to access the socket? -- Sandy List replies only please! Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org