How does dovecot determine users from /etc/passwd?

2020-02-17 Thread Philip Colmer
We're using dovecot on a help desk ticketing system. The system doesn't perform any cleanup of IMAP mailboxes so we have a regular cronjob doing this: /usr/bin/doveadm flags add -A '\Deleted' SEEN SENTBEFORE 12w && /usr/bin/doveadm expunge -A DELETED MAILBOX '*' Recently, doveadm has been reporti

Question about noreplicate flag

2020-02-17 Thread Bernardo Reino
Dear all, I've just setup replication between two servers. The e-mail accounts on both servers intersect but are not the same. In dovecot.conf (both are identical except one user /var/mail and the other uses /srv/vmail) I have: --<<-- userdb { driver = passwd-file args = username_format

Re: Question about noreplicate flag

2020-02-17 Thread Aki Tuomi
On 17.2.2020 12.48, Bernardo Reino wrote: > Dear all, > > I've just setup replication between two servers. The e-mail accounts > on both servers intersect but are not the same. > > In dovecot.conf (both are identical except one user /var/mail and the > other uses /srv/vmail) I have: > > --<<-- >

Re: How does dovecot determine users from /etc/passwd?

2020-02-17 Thread Sami Ketola
Hi, how about switching to use autoexpunge? https://wiki.dovecot.org/MailboxSettings Sami > On 17 Feb 2020, at 11.01, Philip Colmer wrote: > > We're using dovecot on a help desk ticketing system. The system > doesn't perform any cleanup of IMAP mai

Re: How does dovecot determine users from /etc/passwd?

2020-02-17 Thread Aki Tuomi
Also, you can use first_valid_uid = last_valid_uid = to limit which users are considered valid. Aki On 17.2.2020 12.50, Sami Ketola wrote: > Hi, > > how about switching to use autoexpunge? > > https://wiki.dovecot.org/MailboxSettings > > Sami > > >> On 17 Feb 2020, at 11.01, Philip Colmer >

Re: Question about noreplicate flag

2020-02-17 Thread Bernardo Reino
On Mon, 17 Feb 2020, Aki Tuomi wrote: On 17.2.2020 12.48, Bernardo Reino wrote: Dear all, I've just setup replication between two servers. The e-mail accounts on both servers intersect but are not the same. In dovecot.conf (both are identical except one user /var/mail and the other uses /srv/

Re: Question about noreplicate flag

2020-02-17 Thread Bernardo Reino
On Mon, 17 Feb 2020, Bernardo Reino wrote: On Mon, 17 Feb 2020, Aki Tuomi wrote: On 17.2.2020 12.48, Bernardo Reino wrote: Dear all, I've just setup replication between two servers. The e-mail accounts on both servers intersect but are not the same. In dovecot.conf (both are identical excep

Re: Question about noreplicate flag

2020-02-17 Thread Aki Tuomi
On 17.2.2020 13.09, Bernardo Reino wrote: > On Mon, 17 Feb 2020, Bernardo Reino wrote: > >> On Mon, 17 Feb 2020, Aki Tuomi wrote: >> >>> On 17.2.2020 12.48, Bernardo Reino wrote: Dear all, I've just setup replication between two servers. The e-mail accounts on both servers int

Re: Question about noreplicate flag

2020-02-17 Thread Bernardo Reino
On Mon, 17 Feb 2020, Aki Tuomi wrote: I wonder if we are doing the noreplicate too late. Can you try adding one of the non-overlapping users to the other site with noreplicate=y and see if helps? Well that did it indeed! :) I created the rei...@bbmk.org at the other server (just the line in t

Re: Question about noreplicate flag

2020-02-17 Thread Aki Tuomi
On 17.2.2020 13.21, Bernardo Reino wrote: > On Mon, 17 Feb 2020, Aki Tuomi wrote: > >> I wonder if we are doing the noreplicate too late. Can you try adding >> one of the non-overlapping users to the other site with noreplicate=y >> and see if helps? > > Well that did it indeed! :) > > I created

Sieve setting a flag on the server (with sieve?)

2020-02-17 Thread Marc Roos
I want to run a cron job for specific users. I thought the easiest would be a sieve plugin that sets some text in managesieve.sieve. And I just have my cron job check for this setting. This is the forward sieve: if false # true { redirect :copy "t...@test.com"; } So maybe something

Re: Shared Mailboxes with Multiple Domains

2020-02-17 Thread Daniel Miller
Any thoughts on this? --- Daniel -- Original Message -- From: "Daniel Miller" To: "Dovecot Mailing List" Sent: 2/12/2020 6:16:05 PM Subject: Shared Mailboxes with Multiple Domains Trying to track down a problem I've been dealing with for a while. Everything else works fine - the pro

Re: Sieve setting a flag on the server (with sieve?)

2020-02-17 Thread GMX Account
Hi, have a look at this: https://github.com/mailcow/mailcow-dockerized/issues/2012 and also: https://wiki.dovecot.org/Pigeonhole/Sieve/Configuration#Script_Locations https://wiki.dovecot.org/Pigeonhole/Sieve/Plugins/Extprograms maybe it helps you to solve your problem --- Original Nachric

Postfix Dovecot Consultant Availability

2020-02-17 Thread Asai
Greetings, We're in process of upgrading our Postfix / Dovecot installation, and would like to know if there are any qualified consultants out there that would be willing to work for us to help us verify and improve the deployment for our non-profit organization?  This would be a fairly simpl

Re: Shared Mailboxes with Multiple Domains

2020-02-17 Thread Aki Tuomi
This does seem more like a client-issue. At least thunderbird has this issue that you need to fold/unfold folders to see more folders. Aki On 17.2.2020 20.37, Daniel Miller wrote: > Any thoughts on this? > > --- > Daniel > > -- Original Message -- > From: "Daniel Miller" > To: "Dovecot M