问题原文
原帖链接 · Kreker · CC BY-SA 3.0
I can't figure out what I am missing. I'm setting up a new mail server and had this erorre every time I receive an email.
The user is inside the group mail
mail:x:8:dovecot,user.name
The perms directory are here /var/mail
drwxrwsr-x 3 root mail 4096 nov 11 12:20 mail/
This is dovecot configuration
# 2.2.22 (fe789d2): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.13 (7b14904)
# OS: Linux 4.4.0-47-generic x86_64 Ubuntu 16.04.1 LTS ext4
auth_mechanisms = plain login
mail_location = mbox:/var/mail/%u
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
}
protocols = " imap pop3"
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
}
}
ssl = no
userdb {
driver = passwd
}
已采纳解答
原帖链接 · Slipeer · CC BY-SA 3.0
Do you read this documentation?
You must add
mail_privileged_group = mail
Or make /var/mail world-writable with sticky bit set, allowing anyone to create new files but not overwrite or delete existing files owned by someone else
chmod a+rwxt /var/mail
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
