Dovecot lmtp permission denied sles12sp1
Sven Pastorik
s.pastorik at westfalen-blatt.de
Do Jan 21 13:25:05 CET 2016
Hallo, ich lese gerade das Dovecot Buch und bin dabei auf einen SLES12sp1 Postfix + LDAP + Dovecot einzurichten.
Nun habe ich den Service wie im Buch beschrieben eingerichtet:
service lmtp {
inet_listener lmtp {
address = 127.0.0.1
port = 24
}
unix_listener /var/spool/postfix/private/lmtp-dovecot {
group = postfix
mode = 0666
user = postfix
}
}
Aber weder per unix Socket noch per IP funktioniert die Einlieferung.
Egal wie ich es anstelle bekomme ich ein permission denied.
Kann mir jemand sagen was ich falsch mache?
1. Einlieferung per Unix
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
2F8F08AD 236 Thu Jan 21 08:45:13 root at westfalen-blatt.de
(lost connection with gateway.westfalen-blatt.de[private/lmtp-dovecot] while receiving the initial server greeting)
root at westfalen-blatt.de
Jan 21 12:26:04 gateway3 dovecot[14903]: master: Fatal: execv(/usr/lib/dovecot/lmtp) failed: Permission denied
Jan 21 12:26:04 gateway3 dovecot[14899]: master: Error: service(lmtp): command startup failed, throttling for 60 secs
Jan 21 12:26:04 gateway3 dovecot[14903]: lmtp: Fatal: master: service(lmtp): child 15543 returned error 84 (exec() failed)
Aufruf per IP
gateway3:/var/log # telnet localhost 24
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
Jan 21 13:19:50 gateway3 dovecot[14903]: master: Fatal: execv(/usr/lib/dovecot/lmtp) failed: Permission denied
Jan 21 13:19:50 gateway3 dovecot[14899]: master: Error: service(lmtp): command startup failed, throttling for 60 secs
Jan 21 13:19:50 gateway3 dovecot[14903]: lmtp: Fatal: master: service(lmtp): child 15712 returned error 84 (exec() failed)
gateway3:/var/log # dovecot -n
# 2.2.13: /etc/dovecot/dovecot.conf
# OS: Linux 3.12.51-60.20-default x86_64 SUSE Linux Enterprise Server 12 (x86_64)
mail_location = /var/spool/mail/user/%n
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave
namespace inbox {
inbox = yes
location =
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
prefix =
}
passdb {
driver = pam
}
plugin {
sieve = ~/.dovecot.sieve
sieve_dir = ~/sieve
}
service lmtp {
inet_listener lmtp {
address = 127.0.0.1
port = 24
}
unix_listener /var/spool/postfix/private/lmtp-dovecot {
group = postfix
mode = 0666
user = postfix
}
}
ssl = no
userdb {
driver = passwd
}
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <https://listen.jpberlin.de/pipermail/dovecot/attachments/20160121/16a0b2f3/attachment.html>
Mehr Informationen über die Mailingliste Dovecot