Re: dsync and sieve again

2021-02-25 Thread Edgaras Lukoševičius
-ns-eoh   pop3_enable_last = yes } protocol doveadm {   mail_plugins = quota quota_clone zlib } On 2021-02-22 16:33, Sami Ketola wrote: On 17. Feb 2021, at 23.53, Edgaras Lukoševičius wrote: Hi, I'm starting to wonder if dsync is supposed to sync sieve scripts at all? Or should it work o

dsync and sieve again

2021-02-17 Thread Edgaras Lukoševičius
Hi, I'm starting to wonder if dsync is supposed to sync sieve scripts at all? Or should it work only as a part of replicator? Because I was not able to get it working on multiple Dovecot and Pigeon versions, and I see lots of replication/dsync and sieve related questions in the mailing list.

quota_max_mail_size and dsync

2021-02-15 Thread Edgaras Lukoševičius
Hello, as we have enabled quota_max_mail_size, dsync is now having problems moving oversized emails between servers. Is there a way to configure dovecot (dsync) to allow syncing of emails larger than quota_max_mail_size but keep limiting clients over imap/pop/lmtp? The error logged is: ds

Re: Hierarchy separator recommendation?

2020-04-24 Thread Edgaras Lukoševičius
The dot '.' will work, but I suggest to follow documentation here: https://wiki1.dovecot.org/Namespaces, And it says: A commonly used separator is '/'. It probably causes the least amount of trouble with different IMAP clients And I already had problems using '.' as a namespace separator.

Re: Using dovecot Replication in a medium to large enterprise.

2019-11-28 Thread Edgaras Lukoševičius via dovecot
Hi, Replication - no, never used it, but we do use Dovecot dsync a lot. Over a few hundred servers that is, in a "multi-million user installations". There are some issues and pitfalls that are solvable, but in general it works. In the sense of resource intensity I guess dsync is as intense

Re: Quota questions

2019-03-14 Thread Edgaras Lukoševičius via dovecot
Yes, filesystem quotas. On 14/03/2019 16:55, Peter Hudec via dovecot wrote: Hi, by XFS do you mean filesystem quotas, yes ? regards Peter On 14 Mar 2019, at 15:19, Edgaras Lukoševičius via dovecot wrote: I was fighting domain quota for a long time, too. And I was

Re: Quota questions

2019-03-14 Thread Edgaras Lukoševičius via dovecot
I was fighting domain quota for a long time, too. And I was never really successful at it, because group/domain quotas have multiple problems, and domain quota recalc is just one of them :) After a long trial and error I ended up implementing XFS project quotas. On 14/03/2019 15:14, Peter Hude

Dovecot can't access mailbox that exists (nested)

2019-01-21 Thread Edgaras Lukoševičius
Hello, I have this strange situation on nested mailboxes (directories) # dovecot --version 2.2.36 (1f10bfa63) # doveconf -n # 2.2.36 (1f10bfa63): /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.24 (124e06aa) # OS: Linux 3.10.0-693.21.1.el7.x86_64 x86_64 CentOS Linux release 7.5.1804 (Cor

'doveadm who' behind nginx mail proxy

2017-03-16 Thread Edgaras Lukoševičius
Hello, we have configured nginx to work as mail proxy for backend dovecot servers. Dovecot servers behind nginx proxy are showing internal nginx ip address for every client when running 'doveadm who' instead of showing real client IP addresses. Is is possible to configure this setup to show

imap/pop3-login assertion failed in dovecot 2.2.27 (c0f36b0)

2017-02-23 Thread Edgaras Lukoševičius
Hello, I have noticed few errors like this. I don't recall seeing that with version 2.2.10 Feb 23 05:20:03 mail21 dovecot[6569]: imap-login: Panic: file login-proxy-state.c: line 77 (login_proxy_state_deinit): assertion failed: (rec->num_waiting_connections == 0) Feb 23 05:50:03 mail21 dove

Re: Quotas not working after reboot

2015-04-28 Thread Edgaras Lukoševičius
ut at least it works now. On 28 Apr 2015, at 14:25, Edgaras Lukoševičius wrote: > By the way, my quotas are configured to use SQL: > user_query = SELECT CONCAT('/home/vmail/', maildir) AS home, 997 AS uid, 996 > AS gid, CONCAT('*:bytes=', quota) AS quota_rule, CONCA

Re: Quotas not working after reboot

2015-04-28 Thread Edgaras Lukoševičius
7;) AND active = '1' AND suspended = ‘0' And when I run command "doveadm -D quota get -u te...@testdomain1.tld” i see In MySQL query log that query is sent. On 28 Apr 2015, at 12:00, Edgaras Lukoševičius wrote: > Hello, > > after rebooting my dovecot s

Quotas not working after reboot

2015-04-28 Thread Edgaras Lukoševičius
Hello, after rebooting my dovecot server quotas are no longer working. # dovecot --version 2.2.10 CentOS Linux release 7.0.1406 It is strange that restarting dovecot did not reveal this problem, but rebooting whole server did. Before reboot it was like this: # doveadm -D quota get -u te...

Re: postfix sasl -> haproxy -> dovecot auth

2015-03-27 Thread Edgaras Lukoševičius
Are you a cyrus developer ir what? :D 2015 kov. 27 17:10 "Benny Pedersen" rašė: > Edgaras Lukoševičius skrev den 2015-03-27 16:00: > >> I will install cyrus-sasl and see how it goes. >> > > +1 > > Anyway, it would be nice to have same features (a

Re: postfix sasl -> haproxy -> dovecot auth

2015-03-27 Thread Edgaras Lukoševičius
I will install cyrus-sasl and see how it goes. Anyway, it would be nice to have same features (authentication agains imap) in dovecot. On 27 Mar 2015, at 16:27, Benny Pedersen wrote: > Edgaras Lukoševičius skrev den 2015-03-27 14:58: > >> I don’t want to allow public network fa

Re: postfix sasl -> haproxy -> dovecot auth

2015-03-27 Thread Edgaras Lukoševičius
Pedersen wrote: > Edgaras Lukoševičius skrev den 2015-03-27 14:34: >> Can’t dovecot authenticate against imap? > > will it be trusted ? > >> What I need is to make smtp authentication balanced and keep >> everything in backend (private network) > > dovecot i

Re: postfix sasl -> haproxy -> dovecot auth

2015-03-27 Thread Edgaras Lukoševičius
Can’t dovecot authenticate against imap? What I need is to make smtp authentication balanced and keep everything in backend (private network) On 27 Mar 2015, at 13:29, Benny Pedersen wrote: > Edgaras Lukoševičius skrev den 2015-03-27 12:21: > >> is it possible to configure confi

postfix sasl -> haproxy -> dovecot auth

2015-03-27 Thread Edgaras Lukoševičius
Hello, is it possible to configure configure haproxy to work with postfix sasl and dovecot auth like this: clients -> 25:postfix -> 20025:haproxy -> 20025:auth-backend-1, 20025:auth-backend-2 The configuration I have now gives me this error randomly: 535 5.7.8 Error: authentication failed: Con