Guten Morgen wiedermal...
ich fand folgende Meldung in meiner syslog:
Code
deliver(nobody): mbox: Can't create root mail directory /root/mail: Permission denied
deliver(nobody): Failed to create storage for 'nobody' with mail ''
danach habe ich einfach mal den Ordner /root/mail angelegt...
Neue Meldung in syslog:
Code
postfix/qmgr[31629]: B24AB828595E: from=<root@vxx.yourvserver.net>, size=738, nrcpt=1 (queue active)
postfix/qmgr[31629]: 3B39D8285966: from=<root@vxx.yourvserver.net>, size=738, nrcpt=1 (queue active)
deliver(nobody): open(/root/mail/inbox, O_CREAT) failed: Permission denied
deliver(nobody): mkdir_parents(/root/mail/.imap/INBOX) failed: Permission denied
deliver(nobody): access() failed with mbox file /root/mail/inbox: No such file or directory
deliver(nobody): file_lock_dotlock() failed with mbox file /root/mail/inbox: Permission denied
deliver(nobody): msgid=<20110118202101.B24AB828595E@vxxx.yourvserver.net>: save failed to INBOX: Internal error occurred. Refer to server log for more information. [2011-01-19 10:37:55]
deliver(nobody): open(/root/mail/inbox, O_CREAT) failed: Permission denied
deliver(nobody): mkdir_parents(/root/mail/.imap/INBOX) failed: Permission denied
deliver(nobody): access() failed with mbox file /root/mail/inbox: No such file or directory
deliver(nobody): file_lock_dotlock() failed with mbox file /root/mail/inbox: Permission denied
deliver(nobody): msgid=<20110118202801.3B39D8285966@vxx.yourvserver.net>: save failed to INBOX: Internal error occurred. Refer to server log for more information. [2011-01-19 10:37:55]
Alles anzeigen
bevor ich jetzt jedes dieser Verzeichnisse manuell erstelle würde ich gerne wissen, warum diese Ordner nicht automatisch angelegt werden/wurden.
Wenn ich über syscp email-konten erstelle, dann werden diese ganz normal angelegt und sind benutzbar...
die e-mail adresse "root@vxx.yourvserver.net" habe ich in der dovecot.conf bei:
Hier die komplette dovecot.conf:
Code
base_dir = /var/run/dovecot
protocols = imap pop3 imaps pop3s
listen = *
mail_access_groups = vmail
mail_debug = no
## Uncomment this line to allow Plaintext Logins from foreign IP if the Connection doesn't use TLS
disable_plaintext_auth = yes
### SSL Settings
### After setting this options, set disable_plaintext_auth to yes (see above)
### and add imaps pop3s to the protocols
ssl_cert_file = /etc/ssl/certs/dovecot.pem
ssl_key_file = /etc/ssl/private/dovecot.pem
## This is an example with CACerts class3 cert!
#ssl_ca_file = /path/to/cacert.class3.crt
#ssl_cipher_list = ALL:!LOW:!SSLv2
protocol imap {
mail_plugins = quota imap_quota
}
protocol pop3 {
# Uncomment this line if you are migrating from Courier also see Migration from Courier
pop3_uidl_format = UID%u-%v
mail_plugins = quota
}
protocol lda {
# postmaster is the one in charge of the mail system. MUST be set to a vailid address!
postmaster_address = root@vxx.yourvserver.net
auth_socket_path = /var/run/dovecot/auth-master
mail_plugins = quota
sendmail_path = /usr/sbin/sendmail
}
auth default {
mechanisms = plain login
passdb sql {
args = /etc/dovecot/dovecot-sql.conf
}
userdb prefetch {
}
userdb sql {
args = /etc/dovecot/dovecot-sql.conf
}
user = vmail
socket listen {
# Postfix uses the client socket for SMTP Auth
client {
# Assuming the default Postfix $queue_directory setting
path = /var/spool/postfix/private/auth
mode = 0660
# Assuming the default Postfix user and group
user = postfix
group = postfix
}
# Note that we're setting a master socket. SMTP AUTH for Postfix and Exim uses client sockets.
master {
path = /var/run/dovecot/auth-master
mode = 0660
user = vmail
group = vmail
}
}
}
plugin {
quota = maildir
}
Alles anzeigen
Danke