Re: immediate delete of mails

2018-10-09 Thread Tamas Selmeci
On Tue, 9 Oct 2018 11:43:30 +0300 Aki Tuomi wrote: > Can you enable mail_log plugin as well? Sure. I've sent myself a mail from another account, opened it, deleted and then tried to expunge. Here's the log output: Oct 09 10:53:42 imap(tselmeci)<18236>: Debug: INBOX: Mailbox opened because: SE

Re: immediate delete of mails

2018-10-09 Thread Tamas Selmeci
When I press DEL on a mail, the file /home/tselmeci/mail/Trash increases and the deleted mail is appended to it. But it doesn't disappear from /var/spool/mail/tselmeci. Once I expunge, /home/tselmeci/mail/Trash becomes empty but the original mail is still present in /var/spool/mail/tselmeci. Ma

Re: immediate delete of mails

2018-10-09 Thread Tamas Selmeci
On Tue, 9 Oct 2018 15:44:14 +0200 (CEST) Steffen Kaiser wrote: > try out pure IMAP via telnet: > > telnet server 143 > 1 login user pwd > 2 select inbox > 4 CREATE Trash > 5 COPY 1 Trash > 3 STORE 1 +FLAGS \Deleted > 4 EXPUNGE Here's the output: * OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRA

Re: immediate delete of mails

2018-10-09 Thread Tamas Selmeci
On Wed, 10 Oct 2018 09:37:03 +0300 Aki Tuomi wrote: > doveadm user > > check the UID/GID value (or look mail_uid / mail_gid from config) That's it! I've set /var/spool/mail/user_mbox_file to root accidentally, and haven't thought that Dovecot will try to open it as the logged in user (theref