UzumakiNaruto
26.05.18, 07:42
Moin,
ich weiß leider nicht mehr weiter was ich noch einstellen soll um die Störung zu beheben.
Mit meinem Mail-Programm kann ich auf mein Postfach zugreifen, doch leider kann Postfix dort keine neuen Mails drin ablegen (benutzt dovecot dazu).
Fällt einem von euch etwas auf was ich falsch konfiguriert habe?
Ich habe die Config angepasst gehabt, da die dovecot.index Dateien im Postfach immer verändert wurden (Owner und chmod) und es dadurch zu anderen Fehler gekommen ist.
Danke im Voraus.
2018-05-26 08:31:16 lda(ralf): Error: user ralf: Initialization failed: Namespace '': stat(/var/mail/vhosts/example.com/ralf) failed: Permission denied (euid=1002(ralf) egid=1002(ralf) missing +x perm: /var/mail/vhosts/example.com, we're not in group 5000(vmail), dir owned by 5000:5000 mode=0770)
2018-05-26 08:31:16 lda(ralf): Fatal: Invalid user settings. Refer to server log for more information.
drwxrwsrwt 3 root mail 4096 Feb 25 13:54 mail/
drwxr-sr-x 3 vmail vmail 4096 Feb 23 09:16 vhosts/
drwxrws--- 3 vmail vmail 4096 Mai 26 08:26 example.com/
drwxrws--- 39 ralf vmail 4096 Mär 27 16:22 ralf/
groups ralf
ralf : ralf postfix vmail dovecot
groups vmail
vmail : vmail postfix dovecot
groups dovecot
dovecot : dovecot postfix vmail
groups postfix
postfix : postfix vmail dovecot
dovecot.conf:
mail_location = maildir:/var/mail/vhosts/example.com/%n
mail_privileged_group = vmail
service auth {
unix_listener /var/spool/postfix/private/auth {
mode = 0660
# Assuming the default Postfix user and group
user = postfix
group = postfix
}
main.cf
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
mailbox_command = /usr/lib/dovecot/dovecot-lda -f "$SENDER" -a "$RECIPIENT"
}
ich weiß leider nicht mehr weiter was ich noch einstellen soll um die Störung zu beheben.
Mit meinem Mail-Programm kann ich auf mein Postfach zugreifen, doch leider kann Postfix dort keine neuen Mails drin ablegen (benutzt dovecot dazu).
Fällt einem von euch etwas auf was ich falsch konfiguriert habe?
Ich habe die Config angepasst gehabt, da die dovecot.index Dateien im Postfach immer verändert wurden (Owner und chmod) und es dadurch zu anderen Fehler gekommen ist.
Danke im Voraus.
2018-05-26 08:31:16 lda(ralf): Error: user ralf: Initialization failed: Namespace '': stat(/var/mail/vhosts/example.com/ralf) failed: Permission denied (euid=1002(ralf) egid=1002(ralf) missing +x perm: /var/mail/vhosts/example.com, we're not in group 5000(vmail), dir owned by 5000:5000 mode=0770)
2018-05-26 08:31:16 lda(ralf): Fatal: Invalid user settings. Refer to server log for more information.
drwxrwsrwt 3 root mail 4096 Feb 25 13:54 mail/
drwxr-sr-x 3 vmail vmail 4096 Feb 23 09:16 vhosts/
drwxrws--- 3 vmail vmail 4096 Mai 26 08:26 example.com/
drwxrws--- 39 ralf vmail 4096 Mär 27 16:22 ralf/
groups ralf
ralf : ralf postfix vmail dovecot
groups vmail
vmail : vmail postfix dovecot
groups dovecot
dovecot : dovecot postfix vmail
groups postfix
postfix : postfix vmail dovecot
dovecot.conf:
mail_location = maildir:/var/mail/vhosts/example.com/%n
mail_privileged_group = vmail
service auth {
unix_listener /var/spool/postfix/private/auth {
mode = 0660
# Assuming the default Postfix user and group
user = postfix
group = postfix
}
main.cf
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
mailbox_command = /usr/lib/dovecot/dovecot-lda -f "$SENDER" -a "$RECIPIENT"
}