index corruption weirdness

2018-10-09 Thread William Taylor
We have started seeing index corruption ever since we upgraded (we believe) our imap servers from SL6 to Centos 7. Mail/Indexes are stored on Netapps mounted via NFS. We have 2 lvs servers running surealived in dr/wlc, 2 directors and 6 backend imap/pop servers. Most of the core dumps I've

Re: mbox locking

2018-10-09 Thread Aki Tuomi
> On 09 October 2018 at 17:18 Martin Johannes Dauser > wrote: > > > On Tue, 2018-10-09 at 15:30 +0200, Selmeci Tamás wrote: > > On Tue, 9 Oct 2018 12:08:00 +0200 Sami Ketola > > wrote: > > > > > How do you deliver then mails to the server?  > > > > > > > > OpenSMTPD and Dovecot run on

Re: mbox locking

2018-10-09 Thread Martin Johannes Dauser
On Tue, 2018-10-09 at 15:30 +0200, Selmeci Tamás wrote: > On Tue, 9 Oct 2018 12:08:00 +0200 Sami Ketola > wrote: > > > How do you deliver then mails to the server?  > > > > OpenSMTPD and Dovecot run on the same machine. OpenSMTPD receives > incoming mails and stores them in a mailbox

Re: Problem getting quota-warning script to function.

2018-10-09 Thread Aki Tuomi
Hi! We have not been able to reproduce this issue yet. Aki > On 09 October 2018 at 16:28 Ted wrote: > > > Hello, > > I don't suppose there's been any thoughts or progress on this one?  Is > there further information I can provide or anything I could try or check > on the mailserver? > >

Re: immediate delete of mails

2018-10-09 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 9 Oct 2018, Selmeci Tamás wrote: On Tue, 9 Oct 2018 12:08:00 +0200 Sami Ketola wrote: How do you deliver then mails to the server? also mbox is very unoptimised mailbox format for this. Each time mail is deleted from mbox mailbox the

Re: Problem getting quota-warning script to function.

2018-10-09 Thread Ted
Hello, I don't suppose there's been any thoughts or progress on this one?  Is there further information I can provide or anything I could try or check on the mailserver? Thank you Ted easyDNS Technologies On 2018-09-24 12:44 PM, Aki Tuomi wrote: > Hi! > > It can take some time for us to look

Re: immediate delete of mails

2018-10-09 Thread Selmeci Tamás
On Tue, 9 Oct 2018 12:08:00 +0200 Sami Ketola wrote: > How do you deliver then mails to the server? > > also mbox is very unoptimised mailbox format for this. Each time mail is > deleted from mbox mailbox the whole mbox while needs to be rewritten to > remove the mail. OpenSMTPD and Dovecot

Re: Submission / Postfix / XCLIENT

2018-10-09 Thread Aki Tuomi
On 09.10.2018 13:22, Anton Dollmaier wrote: > Hi all, > > > while testing the new Dovecot Submission Proxy feature, which we > greatly appreciate and have been anticipating for a long time, some > issues occured. > > > Dovecot is unable to submit mails via XCLIENT: > > < XCLIENT

Submission / Postfix / XCLIENT

2018-10-09 Thread Anton Dollmaier
Hi all, while testing the new Dovecot Submission Proxy feature, which we greatly appreciate and have been anticipating for a long time, some issues occured. Dovecot is unable to submit mails via XCLIENT: < XCLIENT ADDR=185.115.176.12PORT=39074 > 501 5.5.4 Bad ADDR syntax:

Re: immediate delete of mails

2018-10-09 Thread Sami Ketola
> On 9 Oct 2018, at 11.19, Tamas Selmeci wrote: > > 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

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.

Re: cronjob hack to expunge deleted mails of USERNAME

2018-10-09 Thread Martin Johannes Dauser
Well, some dirty cronjob could periodically expunge all emails marked as DELETED from a specific user. You would need to exchange USERNAME with the real username in this little bash script. This should work, use at your own risk. (^.~) #!/bin/bash doveadm mailbox list -u USERNAME | while read -r

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:

Re: immediate delete of mails

2018-10-09 Thread Aki Tuomi
On 09.10.2018 11:41, tselm...@486.hu wrote: > On Tue, 9 Oct 2018 11:09:53 +0300 > Reio Remma wrote: > >> Do you see anything in Dovecot logs? It should definitely log if there >> were permission issues. > With 'mail_debug=yes' I see nothing relevant. Just something like this when I > want to

Re: immediate delete of mails

2018-10-09 Thread tselm...@486.hu
On Tue, 9 Oct 2018 11:09:53 +0300 Reio Remma wrote: > Do you see anything in Dovecot logs? It should definitely log if there > were permission issues. With 'mail_debug=yes' I see nothing relevant. Just something like this when I want to expunge deleted mails: Oct 09 10:40:01

Re: immediate delete of mails

2018-10-09 Thread Reio Remma
On 09/10/2018 10:54, tselm...@486.hu wrote: I don't think it's relevant, since with the very same Sylpheed an older Dovecot (1.x) could erase the unneeded mails. Perhaps some file permission issue on my server...? Do you see anything in Dovecot logs? It should definitely log if there were

Re: immediate delete of mails

2018-10-09 Thread tselm...@486.hu
On Tue, 9 Oct 2018 09:31:36 +0200 Gerald Galster wrote: > most imap clients don't delete mails immediately, instead they are marked as > deleted and expunged a few days or weeks later. > > From Sylpheed docs / Interface tab: > https://sylpheed.sraoss.jp/doc/manual/en/sylpheed-8.html > >

immediate delete of mails

2018-10-09 Thread tselm...@486.hu
Hello all! I've got a home server running on an ARM Cortex-A7 with my custom Linux distribution. It's also responsible for handling incoming and outgoing mails. The SMTP server is OpenSMTPD-6.0.3p1. I'm using Dovecot-2.3.2.1 to export the mails (mailbox storage format) using IMAP. My old