Re: Log authentication attempts

2017-01-23 Thread Aki Tuomi
Since 2.2.27 we've had auth policy server support which can do this properly. Aki On 24.01.2017 00:06, rej ex wrote: > Hi everyone, > > We are running Dovecot 2.2.9 as a primary IMAP server. Also we use Dovecot > SASL for SMTP authentication. > > Because we are building some monitoring applicat

Log authentication attempts

2017-01-23 Thread rej ex
Hi everyone, We are running Dovecot 2.2.9 as a primary IMAP server. Also we use Dovecot SASL for SMTP authentication. Because we are building some monitoring application, we will need to record all failed and successful login attempts. We need to record remote IP, entered password in plain tex

dsync dovecot / Failed connection refused

2017-01-23 Thread Thierry
Dear all, I am using VMWare and I have cloned my emails server. Now I do have two identicals servers, both running the same version of dovecot (2.2.13) and imap. Let's call them: server1.domain.ltd and server2.domain.ltd. I would like to sync both server using dsync. Dovecot is working well e

Re: Ox Dovecot - dovecot.fi - dovecot-ee repo access

2017-01-23 Thread soumi...@iitk.ac.in
I had an preliminary inquiry for EE access with OX. They redirected me to IKU Systems from Germany. From which I did not received any response since last 2 months. Soumitri Mishra. http://home.iitk.ac.in/~soumitri/ On Monday 23 January 2017 02:07 PM, Aki Tuomi wrote: On 23.01.2017 10:37, R

Re: Segfault on LIST Command

2017-01-23 Thread Aki Tuomi
Sorry, with 67bb90d lib-storage: Fail if no namespaces have list=yes Aki On 23.01.2017 12:05, Aki Tuomi wrote: > This is fixed in 2.2.27 with ddc96f7 lib-storage: Fixed error handling > in list=children checking > > Aki > > On 23.01.2017 12:00, Aki Tuomi wrote: >> Thank you for your report. >> >

Re: Segfault on LIST Command

2017-01-23 Thread Aki Tuomi
This is fixed in 2.2.27 with ddc96f7 lib-storage: Fixed error handling in list=children checking Aki On 23.01.2017 12:00, Aki Tuomi wrote: > Thank you for your report. > > Aki > > On 23.01.2017 11:56, Thorsten Hater wrote: >> OK, I found the problem in my config. If I use an default namespace wit

Re: Segfault on LIST Command

2017-01-23 Thread Aki Tuomi
Thank you for your report. Aki On 23.01.2017 11:56, Thorsten Hater wrote: > OK, I found the problem in my config. If I use an default namespace with an > empty > name, instead of "inbox" it works as expected. Here the log for this case > > Starting program: /usr/local/libexec/dovecot/imap -u

Re: Segfault on LIST Command

2017-01-23 Thread Thorsten Hater
OK, I found the problem in my config. If I use an default namespace with an empty name, instead of "inbox" it works as expected. Here the log for this case Starting program: /usr/local/libexec/dovecot/imap -u imap(): Debug: auth input: home= uid=48 gid=48 quota_rule=*:bytes=1000M

Re: Segfault on LIST Command

2017-01-23 Thread Aki Tuomi
After trying this locally, Jan 23 11:50:41 imap: Error: namespace configuration error: list=yes namespace missing So I'm guessing you could see if changing list=children to list=yes fixes your issue. Aki On 23.01.2017 11:45, Thorsten Hater wrote: > Hi, > > I did added the default location and s

Re: Segfault on LIST Command

2017-01-23 Thread Aki Tuomi
I'll try reproduce this issue, but can you, in the mean time, run this with mail_debug=yes and provide logs? Aki On 23.01.2017 11:45, Thorsten Hater wrote: > Hi, > > I did added the default location and stripped down my config to a very > basic > level, dropping all plugins and database queries,

Re: Segfault on LIST Command

2017-01-23 Thread Thorsten Hater
Hi, I did added the default location and stripped down my config to a very basic level, dropping all plugins and database queries, see below. The segfault still appears in the same location. As I have build from source, I wonder whether you can reproduce the problem? Thorsten $ doveconf -n # 2.

Re: Doveadm backup doesn't interpret placeholders

2017-01-23 Thread Aki Tuomi
On 23.01.2017 11:35, James Pharaoh wrote: > On 23/01/17 09:53, Aki Tuomi wrote: >> >> On 19.01.2017 10:49, James Pharaoh wrote: >>> >>> Dovecot version: 2.2.27 >>> >>> The logical answer seems to be to provide the backup location when >>> performing the local copy for a snapshot, so I run: >>> >>

Re: Doveadm backup doesn't interpret placeholders

2017-01-23 Thread James Pharaoh
On 23/01/17 09:53, Aki Tuomi wrote: On 19.01.2017 10:49, James Pharaoh wrote: Dovecot version: 2.2.27 The logical answer seems to be to provide the backup location when performing the local copy for a snapshot, so I run: doveadm backup -A mdbox:/var/mail/mailboxes-backup/%d/accounts/%u Try

Re: Doveadm backup doesn't interpret placeholders

2017-01-23 Thread Aki Tuomi
On 19.01.2017 10:49, James Pharaoh wrote: > Hi, > > Dovecot version: 2.2.27 > > I'm using replication between two servers for high availability, but I > also want to backup all users. I have a setting for the replication to > work like this: > > plugin { > mail_replica = tcp:other-dovecot > }

Re: Mailbox alias plugin and INBOX. folders

2017-01-23 Thread James White
I have found a bit of a cruder workaround, essentially create the symlink within the email account mailbox manually on the FS. I’ve let my phone create the "Sent Items" and "Deleted Items” folder, then deleted them within my Maildir and then did ln -s .INBOX.Sent “.Sent Items”and ran chown -h to

Re: Ox Dovecot - dovecot.fi - dovecot-ee repo access

2017-01-23 Thread Aki Tuomi
On 23.01.2017 10:37, Raymond Sellars wrote: > Hi > > My question is a little off topic but hoping the community has some insight > or advise. > > Has anyone had success in contacting OX dovecot. We previous purchased > Dovecot Pro and had access to the dovecot-ee (https://yum.dovecot.fi) > rep

Re: Segfault on LIST Command

2017-01-23 Thread Aki Tuomi
On 19.01.2017 15:56, Thorsten Hater wrote: > The Problem arises due to a NULL deref in mail_namespaces.c line 601. > Backtrace below > > x LIST "" "" > > Program received signal SIGSEGV, Segmentation fault. > mail_namespaces_get_root_sep (namespaces=0x0) at mail-namespace.c:601 > 601 while ((name

Ox Dovecot - dovecot.fi - dovecot-ee repo access

2017-01-23 Thread Raymond Sellars
Hi My question is a little off topic but hoping the community has some insight or advise. Has anyone had success in contacting OX dovecot. We previous purchased Dovecot Pro and had access to the dovecot-ee (https://yum.dovecot.fi) repository. Credentials are no longer valid and all attempts (o

Re: Mailbox alias plugin and INBOX. folders

2017-01-23 Thread Aki Tuomi
On 22.01.2017 21:00, James White wrote: > Hi, > > I'm trying to workaround the lack of IMAP folder mapping settings on > Windows 10 Mobile in regards to controlling the Sent, Trash etc folder > my device uses. Currently, my device creates its own "Sent Items" folder > "Deleted Items" folder along