Correct Way to Run expunge for All?

2016-01-29 Thread Haravikk
So as part of my daily mailbox maintenance I have the following command: doveadm expunge -A DELETED i.e- I’m only expunging messages that have been specifically marked as deleted. I also only do this *after* running doveadm purge, as this means that there is at least a 24 hour window be

Re: Disable Client Certificate Authentication for Unencrypted Connections?

2016-01-29 Thread Haravikk
> On 27 Jan 2016, at 21:55, Axel Luttgens wrote: > > Hello Haravikk, > > Perhaps could you try to devise an exception based on one (or more) "remote" > section(s), as in: > > remote ip.of.webmail.server { > ssl_verify_client_cert = no > [other settings, if ne

Re: Correct Way to Run expunge for All?

2016-01-29 Thread Gilles Chauvin
Hello, On 29/01/2016 12:53, Haravikk wrote: Fatal: expunge: To avoid accidents, search query must contain MAILBOX in all search branches While I can see the logic in this, it isn’t an accidental use of this command, so who do I force it to proceed? What about this command ? → dovea

Re: Setting Recent Flag on New Messages?

2016-01-29 Thread Timo Sirainen
> On 28 Jan 2016, at 17:51, Haravikk wrote: > > So I’m looking at setting up some house-keeping for my dovecot mailboxes, > specifically deleting messages in trash, spam etc., by deleting Seen messages > older than X days. > > In order to protect against the edge case of a user reading a mess

Re: Dovecot (director, lmtp) IPv4/IPv6?

2016-01-29 Thread Timo Sirainen
On 28 Jan 2016, at 12:35, Andrey Fesenko wrote: > > Jan 28 13:12:49 mail dovecot[8]: director: Fatal: Invalid director > port in IPv6-local1 Oh, you're not actually using "IPv6-local1" here but the actual IP. That confused me for a while how this error could happen. Anyway that part of the

Re: Can you "doveadm search" with mailbox location instead of a user (-u option)?

2016-01-29 Thread Timo Sirainen
> On 27 Jan 2016, at 15:53, Christian Rohmann wrote: > > Hey dovecot-users! > > > doveadm import offers to use i.e. a maildir as source and then import > into a users mailbox referenced via "-u" option. If one wants to import > only certain emails from the source a search-query can be given as

Re: Dovecot (director, lmtp) IPv4/IPv6?

2016-01-29 Thread Andrey Fesenko
On Fri, Jan 29, 2016 at 5:38 PM, Timo Sirainen wrote: > On 28 Jan 2016, at 12:35, Andrey Fesenko wrote: >> >> Jan 28 13:12:49 mail dovecot[8]: director: Fatal: Invalid director >> port in IPv6-local1 > > b) Append :port after the address (it'll look ugly/confusing, but should work > for now

Re: Dovecot (director, lmtp) IPv4/IPv6?

2016-01-29 Thread Timo Sirainen
> On 29 Jan 2016, at 16:51, Andrey Fesenko wrote: > > On Fri, Jan 29, 2016 at 5:38 PM, Timo Sirainen wrote: >> On 28 Jan 2016, at 12:35, Andrey Fesenko wrote: >>> >>> Jan 28 13:12:49 mail dovecot[8]: director: Fatal: Invalid director >>> port in IPv6-local1 >> >> b) Append :port after th

Re: Setting Recent Flag on New Messages?

2016-01-29 Thread Haravikk
> On 29 Jan 2016, at 14:29, Timo Sirainen wrote: > > \Recent flag is special and you can't add/remove it. It's not even internally > stored like regular flags. Are you certain? The following commands seem to work just fine: doveadm flags add -A ‘\Recent’ OLD UNSEEN doveadm sea

Re: Setting Recent Flag on New Messages?

2016-01-29 Thread Timo Sirainen
> On 29 Jan 2016, at 17:09, Haravikk wrote: > > >> On 29 Jan 2016, at 14:29, Timo Sirainen wrote: >> >> \Recent flag is special and you can't add/remove it. It's not even >> internally stored like regular flags. > > Are you certain? The following commands seem to work just fine: > >

dsync issues due to Prefix difference?

2016-01-29 Thread Mark Little
Hi everyone, I'm hoping I am just missing something obvious - but I cannot seem to get a one-way migration dsync working between two Dovecot servers because the Prefix configuration is different. I am doing a migration from our old Dovecot servers to some new cPanel based ones. Source: 2.2.

Re: Re-starting replication after a long disconnect

2016-01-29 Thread Timo Sirainen
Hi, > On 28 Jan 2016, at 19:23, John Krug wrote: > > Using Dovecot 2.2.15.8 > > We use dsync as shown at http://wiki.dovecot.org/Replication > to have a second copy of our mail > store. Users connect to one server and the other is considered a secondary,