Dovecot - Microsoft Azure AD

2019-08-14 Thread Lennart Boettcher via dovecot
Hello, I am currently trying to connect my Dovecot mail server to Microsoft's Azure-AD and use it as password and user database. I am using version 2.3.7.1. Using the Azure-AD as passdb already works. In this context I noticed that the scope implementation is not yet merged. Since I haven't fou

Re: Dovecot - Microsoft Azure AD

2019-08-14 Thread Aki Tuomi via dovecot
> On 14/08/2019 15:36 Lennart Boettcher via dovecot wrote: > > > > Hello, > > I am currently trying to connect my Dovecot mail server to Microsoft's > Azure-AD and use it as password and user database. I am using version 2.3.7.1. > > > > > > Using the Azure-AD as passdb already w

ACL ignored for master users

2019-08-14 Thread Philip Iezzi via dovecot
Hi there! I can't get ACL working for master users. Login as master user works fine though, and I am able to access any mailbox using the auth_master_user_separator "*", tested e.g. via Python's imaplib: import imaplib imap = imaplib.IMAP4_SSL('imap.example.com') imap.login('f...@example.com*ad

Re: ACL ignored for master users

2019-08-14 Thread Philip Iezzi via dovecot
Sorry about double posting. Thought my previous post didn't make it through. Still struggling with this problem... > On 14 Aug 2019, at 15:21, Philip Iezzi wrote: > > Hi there! > > I can't get ACL working for master users. Login as master user works fine > though, and I am able to access any

Re: Dovecot for imap with LDAP

2019-08-14 Thread Joseph Mays via dovecot
> Plenty of people have this type of setup, if you already know what you're > doing with LDAP from the existing installation you shouldn't have any problem > configuring it with Dovecot. Thanks. That's what I would have thought, but I am clearly getting something wrong. I have dovecot with ldap i

Re: Autoexpunge not working for Junk?

2019-08-14 Thread Timo Sirainen via dovecot
On 13 Aug 2019, at 5.57, Amir Caspi via dovecot wrote: > > On Aug 12, 2019, at 8:54 PM, Thomas Zajic via dovecot > wrote: >> >> * Amir Caspi via dovecot, 12.08.19 22:01 >> >>> [~]# doveadm mailbox status -u cepheid firstsaved Junk >>> Junk firstsaved=1563154976 >>> >>> I can't tell how that

Re: Autoexpunge not working for Junk?

2019-08-14 Thread Amir Caspi via dovecot
On Aug 14, 2019, at 1:26 PM, Timo Sirainen via dovecot wrote: > > It probably has something to do with using mbox format. Are the IMAP UIDs > changing unexpectedly? Errors/warnings logged related to it? Unfortunately > it's a rather troublesome mailbox format. There are likely some bugs in >

Re: Should dovecot not be using different logging facility and severity levels?

2019-08-14 Thread Timo Sirainen via dovecot
On 9 Aug 2019, at 17.39, Marc Roos via dovecot wrote: > > Should dovecot not be using different severity levels like auth.warn? On > my system everything goes to loglevel info: My thinking has been: * Panic: There's a bug that needs fixing * Fatal: Somewhat stronger error * Error: Something

Re: Auth driver

2019-08-14 Thread Timo Sirainen via dovecot
On 9 Aug 2019, at 15.08, Riccardo Paolo Bestetti via dovecot wrote: > > > Could you point me to any documentation or examples? While I can find many > plugins in the repo and around the Internet, I could find none which add > authdb drivers. https://dovecot.org/patches/2.2/passdb-openam.c <

Re: Autoexpunge not working for Junk?

2019-08-14 Thread Timo Sirainen via dovecot
On 14 Aug 2019, at 22.35, Amir Caspi via dovecot wrote: > > On Aug 14, 2019, at 1:26 PM, Timo Sirainen via dovecot > wrote: >> >> It probably has something to do with using mbox format. Are the IMAP UIDs >> changing unexpectedly? Errors/warnings logged related to it

Re: Emails not visible after renaming folders

2019-08-14 Thread Timo Sirainen via dovecot
Looks like this happens when you use a combination of FULLDIRNAME and INDEX in mail_location. Without one of these, or using DIRNAME instead of FULLDIRNAME it works correctly. Tracking internally in DOP-1348. > On 6 Aug 2019, at 14.22, Aleksandr via dovecot wrote: > > Hi guys. > > Does anyone

Re: dovecot-uidlist invalid data

2019-08-14 Thread Timo Sirainen via dovecot
On 4 Aug 2019, at 22.57, Király Balázs via dovecot wrote: > > Hi! > > I’m struggling with the following error: > > Aug 4 21:32:00 mx02 dovecot: imap(x...@xxx.tld)<17693>: > Error: Mailbox INBOX: Broken file /home/vmail/xxx.tld/xxx/dovecot-uidlist > line 6246: Invalid data: > Aug 4 21:49:

Re: auth module logging

2019-08-14 Thread Timo Sirainen via dovecot
On 4 Aug 2019, at 6.23, AP via dovecot wrote: > > On Sat, Aug 03, 2019 at 11:27:24AM -0600, Michael Slusarz wrote: >>> Errors hit the logs but I would appreciate seeing successful auths >>> happen for the additional piece of mind. Cmouse and I couldn't >>> find a way to do it on irc and it appear

Re: segmentation fault in fs_list_get_path

2019-08-14 Thread Timo Sirainen via dovecot
On 3 Aug 2019, at 21.22, David M. Johnson via dovecot wrote: > > There seems to be a straightforward bug in > src/lib-storage/list/mailbox-list-fs.c:79. set->index_dir is unchecked prior > to dereferencing (unlike on line 126 in the same file, where it is properly > checked). This manifeste

Re: Autoexpunge not working for Junk?

2019-08-14 Thread Amir Caspi via dovecot
On Aug 14, 2019, at 1:45 PM, Timo Sirainen wrote: > > It's not very helpful to look at the indexes after the problem already > happened. Good point! I guess I'll empty out the mailboxes completely, touch a completely empty file, and see if the problem recurs. I'll shorten the autoexpunge ti

SASL: encoded packet size too big

2019-08-14 Thread Eugene via dovecot
Hello! Dovecot uses it's own SASL implementation, doesn't it? Aug 14 23:45:23 example.com auth[10428]: GSSAPI client step 1 Aug 14 23:45:23 example.com auth[10428]: encoded packet size too big (813804546 > 65536) Aug 14 23:45:23 example.com dovecot[10085]: auth-worker(104

Re: SASL: encoded packet size too big

2019-08-14 Thread Eugene via dovecot
The next combination of parameters makes 100% LDAP connections unsuccessful (the log snippet form the previous mail). sasl_bind = yes sasl_mech = gssapi tls = yes Looks like this combination is utterly incorrect and should be prohibited (tls must not be used when mech is gssapi). https://lists.f

Dovecot not responding to external clients

2019-08-14 Thread Edwin Humphries via dovecot
Hi all I have Dovecot on my Linux-Mint workstation, running IMAP for the Thunderbird client thereon, but previously also for my phone and laptop clients as well. Since upgrading to Linux-Mint 19, however, although the Thunderbird client on the workstation works just fine, the other clients ca

Re: Dovecot not responding to external clients

2019-08-14 Thread Alexander Dalloz via dovecot
Am 15.08.2019 um 00:34 schrieb Edwin Humphries via dovecot: Hi all I have Dovecot on my Linux-Mint workstation, running IMAP for the Thunderbird client thereon, but previously also for my phone and laptop clients as well. Since upgrading to Linux-Mint 19, however, although the Thunderbird cli

Re: Dovecot not responding to external clients

2019-08-14 Thread Edwin Humphries via dovecot
Hi all, THanks Alexander - you made me check somethiing that should not have changed, but clearly had: the port forwarding rules on the router. Fixed and now working - sorry. :-[ On 15/8/19 9:52 am, Alexander Dalloz via dovecot wrote: Am 15.08.2019 um 00:34 schrieb Edwin Humphries via dovecot

Re: SASL: encoded packet size too big

2019-08-14 Thread Aki Tuomi via dovecot
> On 15/08/2019 00:34 Eugene via dovecot wrote: > > > The next combination of parameters makes 100% LDAP connections unsuccessful > (the log snippet form the previous mail). > sasl_bind = yes > sasl_mech = gssapi > tls = yes > > Looks like this combination is utterly incorrect and should be p