[Eisfair] E-64 dovecot unterordner geht/geht nicht
Kay Martinen
usenet at martinen.de
Mo Jan 4 23:42:56 CET 2021
Am 04.01.21 um 21:44 schrieb Kay Martinen:
> Am 04.01.21 um 20:01 schrieb Juergen Edner:
Jetzt blick ich's echt mal wieder nicht. Denn wegen
>
> Das heißt unter postm user funktioniert es wie es soll, unter dem user
> km nicht. Nur finde ich den unterschied nicht. Im TB hab ich beide user
> direkt hintereinander angelegt. Im Eis waren beide User bereits vorher
> angelegt und mit Passworten versehen.
... habe ich den user km via setup im mailsystem gelöscht, im usermenü
gelöscht; aber nicht in TB. Den hab ich offline genommen.
Dann hab ich kontrolliert das /home/km auch wirklich weg ist. War es.
Und dann hab ich zuerst den user km wieder angelegt und danach im Mail
auch wieder mit passwort eingetragen.
Nach dem Löschen:
> eismail # ls -al /home
> total 48
> drwxr-xr-x 9 root root 4096 Jan 4 23:14 .
> drwxr-xr-x 22 root root 4096 Jan 2 23:56 ..
> drwx------ 2 root root 4096 Jun 15 2004 eis
> drwxr-xr-x 2 exim trusted 4096 Nov 20 21:07 exim
> drwxr-xr-x 2 fetch-U7Y7Y trusted 4096 Oct 8 22:09 fetchmail
> drwxr-xr-x 2 nobody users 4096 Jan 4 21:05 imapshared
> drwx------ 2 root root 16384 Oct 8 22:56 lost+found
> drwxr-xr-x 3 postm users 4096 Oct 10 21:54 postm
> drwxr-xr-x 3 sysop users 4096 Oct 8 22:19 sysop
> eismail # setup
Nach dem Neu anlegen:
> eismail # ls -al /home
> total 52
> drwxr-xr-x 10 root root 4096 Jan 4 23:15 .
> drwxr-xr-x 22 root root 4096 Jan 2 23:56 ..
> drwx------ 2 root root 4096 Jun 15 2004 eis
> drwxr-xr-x 2 exim trusted 4096 Nov 20 21:07 exim
> drwxr-xr-x 2 fetch-U7Y7Y trusted 4096 Oct 8 22:09 fetchmail
> drwxr-xr-x 2 nobody users 4096 Jan 4 21:05 imapshared
> drwxr-xr-x 2 km users 4096 Jan 4 23:15 km
> drwx------ 2 root root 16384 Oct 8 22:56 lost+found
> drwxr-xr-x 3 postm users 4096 Oct 10 21:54 postm
> drwxr-xr-x 3 sysop users 4096 Oct 8 22:19 sysop
> eismail # ls -al /home/km
> total 8
> drwxr-xr-x 2 km users 4096 Jan 4 23:15 .
> drwxr-xr-x 10 root root 4096 Jan 4 23:15 ..
> eismail # setup
> Checking configuration file ...
>
> Configuration file was saved as mail.2021-01-04-23-19-07 in /etc/backup.d.
> Backup directory contained 11 files for package mail (1 removed).
>
> Activate configuration now (y/n) [yes]?
> * Stopping Dovecot daemon ... [ OK ]
> * Stopping SMTP server ... [ OK ]
>
> version: 1.15.0
> IPv6 support: disabled
> mail-dovecot support: enabled
> perl package: installed
> checking settings of user 'exim' ...
> checking pop3/imap/smtp services ...
> checking pop3/imap/smtp tls certificates ...
> creating pop3/imap configuration file ...
> creating separate pop3/imap password file ...
> creating imap mailboxes ...
> chmod: cannot access '/home/km/.imapmail': No such file or directory
> chown: cannot access '/home/km/.imapmail': No such file or directory
> creating aliases file ...
> deleting imapshared namespace folders ...
> deleting imappublic namespace folders ...
> checking alias definitions in configuration ...
> checking alias definitions in file /etc/aliases ...
> checking alias definitions in file /etc/aliases-martinen.de ...
> checking root alias ...
> creating smtp configuration file ...
> creating outgoing addresses file ...
> adding statistics notification ...
> adding certification notification ...
> adding queue notification ...
> creating logrotate configuration file ...
> updating modules menu ...
> - adding entry "archimap - ArchIMAP administration" ...
> - adding entry "mail-addon-certs - Mail addon certificates" ...
> - adding entry "mail-dovecot - Dovecot server administration" ...
> - adding entry "mailquota - Mailquota administration" ...
> setting access rights ...
> finished.
> * Starting SMTP server ... [ OK ]
> * Starting Dovecot daemon ... [ OK ]
> Press ENTER to continue
WTF? setup läuft zwar als root aber dann darf doch nicht DAS hier bei
raus kommen?
> eismail # ls -al /home/km
> total 12
> drwxr-xr-x 3 km users 4096 Jan 4 23:19 .
> drwxr-xr-x 10 root root 4096 Jan 4 23:15 ..
> drwxr-xr-x 5 root root 4096 Jan 4 23:19 .imapmail
> eismail # ls -al /home/km/.imapmail/
> total 20
> drwxr-xr-x 5 root root 4096 Jan 4 23:19 .
> drwxr-xr-x 3 km users 4096 Jan 4 23:19 ..
> drwx------ 2 km users 4096 Jan 4 23:19 cur
> drwx------ 2 km users 4096 Jan 4 23:19 new
> drwx------ 2 km users 4096 Jan 4 23:19 tmp
Aber folglich:
> Jan 04 23:20:14 master: Info: Dovecot v2.3.11.3 (502c39af9) starting up for imap (core dumps disabled)
> Jan 04 23:21:12 imap-login: Info: Login: user=<km>, method=CRAM-MD5, rip=192.168.1.41, lip=192.168.1.21, mpid=31423, session=<D7T4gRq4vqrAqAEp>
> Jan 04 23:21:12 imap(km)<31423><D7T4gRq4vqrAqAEp>: Error: Mailbox INBOX: file_dotlock_open(/home/km/.imapmail/dovecot.index.log) failed: Permission denied (euid=2005(km) egid=100(users) missin
> g +w perm: /home/km/.imapmail, dir owned by 0:0 mode=0755)
> Jan 04 23:21:12 imap(km)<31423><D7T4gRq4vqrAqAEp>: Error: Mailbox INBOX: file_dotlock_create(/home/km/.imapmail/dovecot-uidlist) failed: Permission denied (euid=2005(km) egid=100(users) missin
> g +w perm: /home/km/.imapmail, dir owned by 0:0 mode=0755)
> Jan 04 23:21:12 imap(km)<31423><D7T4gRq4vqrAqAEp>: Error: Mailbox INBOX: file_dotlock_create(/home/km/.imapmail/dovecot-uidlist) failed: Permission denied (euid=2005(km) egid=100(users) missin
> g +w perm: /home/km/.imapmail, dir owned by 0:0 mode=0755)
> Jan 04 23:21:12 imap(km)<31423><D7T4gRq4vqrAqAEp>: Error: creat(/home/km/.imapmail/dovecot-uidvalidity.5ff394d8) failed: Permission denied
> Jan 04 23:21:12 imap(km)<31423><D7T4gRq4vqrAqAEp>: Error: file_dotlock_open(/home/km/.imapmail/dovecot.list.index.log) failed: Permission denied (euid=2005(km) egid=100(users) missing +w perm:
> /home/km/.imapmail, dir owned by 0:0 mode=0755)
> Jan 04 23:21:12 imap(km)<31423><D7T4gRq4vqrAqAEp>: Error: Mailbox INBOX: file_dotlock_open(/home/km/.imapmail/dovecot.index.log) failed: Permission denied (euid=2005(km) egid=100(users) missin
> g +w perm: /home/km/.imapmail, dir owned by 0:0 mode=0755)
> Jan 04 23:21:12 imap(km)<31423><D7T4gRq4vqrAqAEp>: Error: Mailbox INBOX: file_dotlock_create(/home/km/.imapmail/dovecot-uidlist) failed: Permission denied (euid=2005(km) egid=100(users) missin
> g +w perm: /home/km/.imapmail, dir owned by 0:0 mode=0755)
> Jan 04 23:21:12 imap(km)<31423><D7T4gRq4vqrAqAEp>: Error: Mailbox INBOX: file_dotlock_create(/home/km/.imapmail/dovecot-uidlist) failed: Permission denied (euid=2005(km) egid=100(users) missin
> g +w perm: /home/km/.imapmail, dir owned by 0:0 mode=0755)
> Jan 04 23:21:12 imap(km)<31423><D7T4gRq4vqrAqAEp>: Error: Mailbox INBOX: file_dotlock_create(/home/km/.imapmail/dovecot-uidlist) failed: Permission denied (euid=2005(km) egid=100(users) missin
> g +w perm: /home/km/.imapmail, dir owned by 0:0 mode=0755)
> Jan 04 23:21:12 imap(km)<31423><D7T4gRq4vqrAqAEp>: Error: Mailbox INBOX: file_dotlock_create(/home/km/.imapmail/dovecot-uidlist) failed: Permission denied (euid=2005(km) egid=100(users) missin
> g +w perm: /home/km/.imapmail, dir owned by 0:0 mode=0755)
> Jan 04 23:21:12 imap(km)<31423><D7T4gRq4vqrAqAEp>: Error: Mailbox INBOX: file_dotlock_create(/home/km/.imapmail/dovecot-uidlist) failed: Permission denied (euid=2005(km) egid=100(users) missin
> g +w perm: /home/km/.imapmail, dir owned by 0:0 mode=0755)
> Jan 04 23:21:12 imap(km)<31423><D7T4gRq4vqrAqAEp>: Error: Mailbox INBOX: file_dotlock_create(/home/km/.imapmail/dovecot-uidlist) failed: Permission denied (euid=2005(km) egid=100(users) missin
> g +w perm: /home/km/.imapmail, dir owned by 0:0 mode=0755)
> Jan 04 23:21:12 imap(km)<31423><D7T4gRq4vqrAqAEp>: Error: Mailbox INBOX: file_dotlock_create(/home/km/.imapmail/dovecot-uidlist) failed: Permission denied (euid=2005(km) egid=100(users) missin
> g +w perm: /home/km/.imapmail, dir owned by 0:0 mode=0755)
> Jan 04 23:21:12 imap(km)<31423><D7T4gRq4vqrAqAEp>: Error: Mailbox INBOX: file_dotlock_create(/home/km/.imapmail/dovecot-uidlist) failed: Permission denied (euid=2005(km) egid=100(users) missin
> g +w perm: /home/km/.imapmail, dir owned by 0:0 mode=0755)
> Jan 04 23:21:12 imap(km)<31423><D7T4gRq4vqrAqAEp>: Error: Mailbox INBOX: file_dotlock_create(/home/km/.imapmail/dovecot-uidlist) failed: Permission denied (euid=2005(km) egid=100(users) missin
> g +w perm: /home/km/.imapmail, dir owned by 0:0 mode=0755)
und Kürzer/Wichtiger:
> Jan 04 23:22:22 imap(km)<31586><VXvWgxq4xqrAqAEp>: Error: Mailbox Sent: Failed to autocreate mailbox: Internal error occurred. Refer to server log for more information. [2021-01-04 23:22:22]
> Jan 04 23:22:23 imap(km)<32177><eQwfhhq41qrAqAEp>: Error: Mailbox Sent: Failed to autocreate mailbox: Internal error occurred. Refer to server log for more information. [2021-01-04 23:22:23]
> Jan 04 23:22:23 imap(km)<32177><eQwfhhq41qrAqAEp>: Error: Mailbox Sent: Failed to autocreate mailbox: Internal error occurred. Refer to server log for more information. [2021-01-04 23:22:23]
> Jan 04 23:22:27 imap(km)<32177><eQwfhhq41qrAqAEp>: Error: Mailbox Spam: Failed to autocreate mailbox: Internal error occurred. Refer to server log for more information. [2021-01-04 23:22:27]
> Jan 04 23:22:37 imap(km)<32177><eQwfhhq41qrAqAEp>: Error: Mailbox Trash: Failed to autocreate mailbox: Internal error occurred. Refer to server log for more information. [2021-01-04 23:22:37]
> Jan 04 23:22:44 imap(km)<32177><eQwfhhq41qrAqAEp>: Error: Mailbox Drafts: Failed to autocreate mailbox: Internal error occurred. Refer to server log for more information. [2021-01-04 23:22:44]
> Jan 04 23:22:44 imap(km)<31951><k0sHhRq40KrAqAEp>: Error: Mailbox Sent: Failed to autocreate mailbox: Internal error occurred. Refer to server log for more information. [2021-01-04 23:22:44]
> Jan 04 23:22:44 imap(km)<32177><eQwfhhq41qrAqAEp>: Error: Mailbox Trash: Failed to autocreate mailbox: Internal error occurred. Refer to server log for more information. [2021-01-04 23:22:44]
> Jan 04 23:22:44 imap(km)<32177><eQwfhhq41qrAqAEp>: Error: Mailbox Spam: Failed to autocreate mailbox: Internal error occurred. Refer to server log for more information. [2021-01-04 23:22:44]
Versucht ein Resync mit den Tools zu machen:
> orce a resync of a mailbox
>
> Name of user whos mailbox should be resynced, (a)ll, (q)uit [q]? km
> Please confirm that the mailbox of 'km' should be resynced (y/n) [no]? y
>
> resynchronizing mailbox of user 'km' ...
> doveadm(km): Error: file_dotlock_open(/home/km/.imapmail/dovecot.list.index.log) failed: Permission denied (euid=2005(km) egid=100(users) missing +w perm: /home/km/.imapmail, dir owned by 0:0 mode=0755)
> doveadm(km): Error: Mailbox INBOX: file_dotlock_open(/home/km/.imapmail/dovecot.index.log) failed: Permission denied (euid=2005(km) egid=100(users) missing +w perm: /home/km/.imapmail, dir owned by 0:0 mode=0755)
> doveadm(km): Error: Mailbox INBOX: file_dotlock_create(/home/km/.imapmail/dovecot-uidlist) failed: Permission denied (euid=2005(km) egid=100(users) missing +w perm: /home/km/.imapmail, dir owned by 0:0 mode=0755)
> doveadm(km): Error: Mailbox INBOX: file_dotlock_create(/home/km/.imapmail/dovecot-uidlist) failed: Permission denied (euid=2005(km) egid=100(users) missing +w perm: /home/km/.imapmail, dir owned by 0:0 mode=0755)
> doveadm(km): Error: Mailbox INBOX: file_dotlock_create(/home/km/.imapmail/dovecot-uidlist) failed: Permission denied (euid=2005(km) egid=100(users) missing +w perm: /home/km/.imapmail, dir owned by 0:0 mode=0755)
> doveadm(km): Error: Mailbox INBOX: file_dotlock_open(/home/km/.imapmail/dovecot.index.log) failed: Permission denied (euid=2005(km) egid=100(users) missing +w perm: /home/km/.imapmail, dir owned by 0:0 mode=0755)
> doveadm(km): Error: Mailbox INBOX: file_dotlock_create(/home/km/.imapmail/dovecot-uidlist) failed: Permission denied (euid=2005(km) egid=100(users) missing +w perm: /home/km/.imapmail, dir owned by 0:0 mode=0755)
> doveadm(km): Error: Forcing a resync on mailbox INBOX failed: Mailbox INBOX: file_dotlock_create(/home/km/.imapmail/dovecot-uidlist) failed: Permission denied (euid=2005(km) egid=100(users) missing +w perm: /home/km/.imapmail, dir owned by 0:0 mode=0755)
> The program reported an error (75). Please check the log file!
Und auch hier konnte ich im TB Keinerlei Ordner anlegen. Das er wg. zwei
Testmails unter Gesendet meckert ist klar. Aber bei Spam u.a. bekomme
ich auch [Serverbug] Meldungen im TB.
Benutzt jemand eigentlich TB unter Linux mit Dovecot auf Eis-64?
Erfolgreich? Mit mehreren Konten?
Kann das ein Dateisystem Problem sein?
Nur sicherheitshalber gefragt weil ich den mal hart Neustarten mußte
weil ein Kernelupdate nicht weiter durchlaufen wollte.
Danach hat er zwar recovering journal gemeldet aber... ich weiß nichts
weiter. Nur das komplette mailsystem noch mal raus schmeißen und neu
installieren fiele mir noch ein. Aber nicht mehr heute.
Kay
--
Posted via leafnode
Mehr Informationen über die Mailingliste Eisfair