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=<[EMAIL PROTECTED]>, 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
---
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 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?
thanks,
lauro
--------- imapd.conf
sasl_mech_list: PLAIN
sasl_pwcheck_method: saslauthd
sasl_auto_transition: no
configdirectory: /var/lib/imap
defaultpartition: default
partition-default: /var/spool/imap
partition-news: /var/spool/imap/news
newsspool: /var/spool/news
altnamespace: no
unixhierarchysep: no
admins: cyrus
allowanonymouslogin: no
popminpoll: 1
autocreatequota: 0
umask: 007
sievehomedir: false
sievedir: /var/lib/sieve
hashimapspool: true
allowplainttext: yes
lmtpsocket: /var/lib/imap/socket/lmtp
idlesocket: /var/lib/imap/socket/idlei
notifysocket: /var/lib/imap/socket/notify
sendmail: /usr/sbin/sendmail
tls_cert_file: /var/lib/imap/server.pem
tls_key_file: /var/lib/imap/server.pem
tls_ca_file: /var/lib/imap/server.pem
tls_session_timeout: 1440
tls_cipher_list: TLSv1:SSLv3:SSLv2:!NULL:!EXPORT:!DES:!LOW:@STRENGTH
servername: xx.xx (masked)
postmaster: postmaster
reject8bit: no
quotawarn: 90
timeout: 30
poptimeout: 10
dracinterval: 0
drachost: localhost
lmtp_overquota_perm_failure: no
lmtp_downcase_rcpt: yes
--------- cyrus.conf
START {
recover cmd="ctl_cyrusdb -r"
idled cmd="idled"
}
SERVICES {
imap cmd="imapd" listen="imap" prefork=0
pop3 cmd="pop3d" listen="pop3" prefork=0
sieve cmd="timsieved" listen="sieve" prefork=0
lmtpunix cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1
}
EVENTS {
checkpoint cmd="ctl_cyrusdb -c" period=30
delprune cmd="cyr_expire -E 3" at=0400
tlsprune cmd="tls_prune" at=0400
}
--------- main.cf (postfix - just some parts)
...
mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
mail_spool_directory = /var/mail
...
--------- end
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]