Probleme mit dsync

Klaus Tachtler klaus at tachtler.net
Mi Sep 19 05:57:53 CEST 2018


Hallo Bernd,

Du hast sicherlich nachfolgende Fehlermeldungen gesehen:

> dsync(yyyy.xxxx at example.de ): Error:  
> stat(/var/mail_backup/mail/test/subscriptions) failed: Permission  
> denied

Was sind hier für Benutzer- und Dateiberechtigungen gesetzt?

> dsync(yyyy.xxxx at example.de ): Error: Mailbox listing for namespace  
> '' failed: Internal error occurred. Refer to server log for more  
> information. [2018-09-12 21:37:31]

Gerade die letzte Fehlermeldung besagt ja, das Du noch im Syslog  
(/var/log/messages) bzw. systemd = journalctl -b -u dovecot oder  
journalctl -b -k nachsehen solltest.

Was steht da drin?


Grüße
Klaus.

>>>
>>> hier ein doveconf -n:
>>> # 2.2.22 (fe789d2): /etc/dovecot/dovecot.conf
>>> # Pigeonhole version 0.4.13 (7b14904)
>>> # OS: Linux 4.4.0-134-generic x86_64 Ubuntu 16.04.5 LTS
>>> auth_master_user_separator = *
>>> auth_mechanisms = plain login
>>> mail_gid = vmail
>>> mail_home = /var/vmail/mailboxes/%d/%n
>>> mail_location = maildir:~/mail:LAYOUT=fs
>>> mail_privileged_group = vmail
>>> mail_uid = vmail
>>> 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 index ihave duplicate mime foreverypart  
>>> extracttext
>>> namespace inbox {
>>> inbox = yes
>>> location =
>>> mailbox Drafts {
>>> auto = subscribe
>>> special_use = \Drafts
>>> }
>>> mailbox Sent {
>>> auto = subscribe
>>> special_use = \Sent
>>> }
>>> mailbox Spam {
>>> auto = subscribe
>>> special_use = \Junk
>>> }
>>> mailbox Trash {
>>> auto = subscribe
>>> special_use = \Trash
>>> }
>>> prefix =
>>> separator = /
>>> }
>>> passdb {
>>> args = /etc/dovecot/dovecot-sql-master.conf.ext
>>> driver = sql
>>> master = yes
>>> pass = yes
>>> }
>>> passdb {
>>> args = /etc/dovecot/dovecot-sql.conf
>>> driver = sql
>>> }
>>> plugin {
>>> antispam_backend = pipe
>>> antispam_pipe_program = /var/vmail/spampipe.sh
>>> antispam_pipe_program_notspam_arg = --ham
>>> antispam_pipe_program_spam_arg = --spam
>>> antispam_spam = Spam
>>> antispam_trash = Trash
>>> quota = maildir:User quota
>>> quota_exceeded_message = Benutzer %u hat das Speichervolumen  
>>> überschritten. / User %u has exhausted allowed storage space.
>>> sieve = /var/vmail/sieve/%d/%n/active-script.sieve
>>> sieve_before = /var/vmail/sieve/global/spam-global.sieve
>>> sieve_dir = /var/vmail/sieve/%d/%n/scripts
>>> }
>>> protocols = imap lmtp sieve
>>> service auth {
>>> unix_listener /var/spool/postfix/private/auth {
>>> group = postfix
>>> mode = 0660
>>> user = postfix
>>> }
>>> unix_listener auth-userdb {
>>> group = vmail
>>> mode = 0660
>>> user = vmail
>>> }
>>> }
>>> service imap-login {
>>> inet_listener imap {
>>> port = 143
>>> }
>>> }
>>> service lmtp {
>>> unix_listener /var/spool/postfix/private/dovecot-lmtp {
>>> group = postfix
>>> mode = 0660
>>> user = postfix
>>> }
>>> user = vmail
>>> }
>>> service managesieve-login {
>>> inet_listener sieve {
>>> port = 4190
>>> }
>>> }
>>> ssl = required
>>> ssl_cert = </etc/letsencrypt/live/mail.example.de/fullchain.pem
>>> ssl_cipher_list =  
>>> EDH+CAMELLIA:EDH+aRSA:EECDH+aRSA+AESGCM:EECDH+aRSA+SHA256:EECDH:+CAMELLIA128:+AES128:+SSLv3:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!DSS:!RC4:!SEED:!IDEA:!ECDSA:kEDH:CAMELLIA128-SHA:AES128-SHA
>>> ssl_dh_parameters_length = 2048
>>> ssl_key = </etc/letsencrypt/live/mail.example.de/privkey.pem
>>> ssl_prefer_server_ciphers = yes
>>> ssl_protocols = !SSLv2 !SSLv3
>>> userdb {
>>> args = /etc/dovecot/dovecot-sql.conf
>>> driver = sql
>>> }
>>> protocol imap {
>>> imap_idle_notify_interval = 29 mins
>>> mail_max_userip_connections = 20
>>> mail_plugins = " quota imap_quota antispam"
>>> }
>>> protocol lmtp {
>>> mail_plugins = " sieve"
>>> postmaster_address = postmaster at example.de


-- 

------------------------------------------------
e-Mail  : klaus at tachtler.net
Homepage: https://www.tachtler.net
DokuWiki: https://dokuwiki.tachtler.net
------------------------------------------------


-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname   : nicht verfügbar
Dateityp    : application/pgp-keys
Dateigröße  : 3120 bytes
Beschreibung: Öffentlicher PGP-Schlüssel
URL         : <https://listen.jpberlin.de/pipermail/dovecot/attachments/20180919/9e57ffaf/attachment.skr>


Mehr Informationen über die Mailingliste Dovecot