Re: dovecot Digest, Vol 173, Issue 28 (INTERNAL)

2017-09-11 Thread Aki Tuomi
~$ openssl s_client -connect 192.168.122.14:110 -starttls pop3 CONNECTED(0003) Verify return code: 10 (certificate has expired) --- +OK Dovecot ready. USER testuser1 +OK PASS pass +OK Logged in. LIST +OK 11 messages: 1 14 2 14 3 14 4 14 5 14 6 14 7 14 8 14 9 14 10 14 11 14 . QUIT DONE and

Re: Moving emails tagged as spam to the Junk folder

2017-09-11 Thread Aki Tuomi
On 12.09.2017 01:09, Mika Leppänen wrote: > I am running Ubuntu 16.04. I am following this guide: > https://wiki2.dovecot.org/HowTo/AntispamWithSieve. At the end when I > try to compile the .sieve files, I get this error: sievec(root): > Fatal: Plugin 'sieve_imapsieve' not found from directory >

RE: dovecot Digest, Vol 173, Issue 28 (INTERNAL)

2017-09-11 Thread Arvid.Eikas
Hi, It is quite easy. I use a client (thunderbird or windows live mail) set it up to use starttls on standard port 110. Logon and just do a list on the mailbox. The fatal error occurred when I logoff. Arvid -Original Message- From: dovecot [mailto:dovecot-boun...@dovecot.org] On Beha

Re: Moving emails tagged as spam to the Junk folder

2017-09-11 Thread Larry Rosenman
You need Dovecot 2.2+ and Pigeonhole. -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larry...@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 On 9/11/17, 5:09 PM, "dovecot on behalf of Mika Leppänen" wrote:

Moving emails tagged as spam to the Junk folder

2017-09-11 Thread Mika Leppänen
 I am running Ubuntu 16.04. I am following this guide: https://wiki2.dovecot.org/HowTo/AntispamWithSieve. At the end when I try to compile the .sieve files, I get this error: sievec(root): Fatal: Plugin 'sieve_imapsieve' not found from directory /usr/lib/dovecot/modules/sieve.  Does anyone know

Re: Dovecot and Letsencrypt certs

2017-09-11 Thread Joseph Tam
writes: "writing a script to check the certs" - there is no need to write any scripts. As one mentioned, it's done by a hook to certbot. Please read the manuals for LE or certbot. The issue you have is quite common and of course certbot designed to do it for you. Won't work, of course, if you

Re: Share Website certificate with SSL/STL Dovecot IMAP and Postifix SMTP

2017-09-11 Thread Joseph Tam
Marco Marco writes writes: I've bought a certificate from the authority for my website to use to access in https mode. Is it possible to share the same pairs to authenticate the emails sent by postfix and Dovecot in order to avoid that client as Hotmail.it or Gmail intercept these as Spam? By

Re: sieve stopped working and doveadm mailbox list without -s shows less folders then with

2017-09-11 Thread Ralf Becker
Noone an idea how it can be that subscribed folders are more then all folders and how to repair that situation? Ralf Am 07.09.17 um 16:42 schrieb Ralf Becker: > Dovecot 2.2.31 with mailboxes in mdbox format. > > Since a couple of days some mailboxes have the problem, that sieve rules > moving mai

Returning error response to the client from passdb (with dict protocol)

2017-09-11 Thread Nagy, Attila
Hi, When using a passdb with (UNIX socket) dict protocol, I can return a JSON with fields. When I want to deny the user, I can send a JSON like this: {"fail":true} which yields (on POP) a friendly -ERR [AUTH] Authentication failed. Is it possible to return the response text itself? I want to

concering dovecot logging

2017-09-11 Thread Rajesh M
hi had a question concerning dovecot lda logging. deliver_log_format = From:<%f>-<%e> :: Subject:<%s> :: Status:<%$> :: MsgID:<%m> :: Size<%p> :: vSize<%w> am getting %e ie envelope sender as MAILER-DAEMON in the logs Sep 11 08:35:50 lda(n...@xxx.com): Info: sieve: From:- :: Subject: :: Statu

Re: Fail2ban 'Password mismatch' regex

2017-09-11 Thread Marcus Rueckert
maybe look at weakforced? darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org

Re: Problems to configure IMAP Quota

2017-09-11 Thread Jacques Belin
Le dimanche 10 septembre 2017 14:35:16, Alex JOST a écrit: > > 1) It seems that when we use the sql dict, a map contaning the patern > > "priv/quota/limit/messages" is mandatory. Not specifying it in > > dovecot-dict-sql.conf.ext issues an error. As we are interested only by > > the storage s

Re: Is it possible to disable pipelining in imapc?

2017-09-11 Thread Aki Tuomi
On 11.09.2017 16:14, Nagy, Attila wrote: > On 09/11/2017 03:01 PM, Aki Tuomi wrote: >> On 11.09.2017 15:56, Nagy, Attila wrote: >>> On 09/11/2017 12:12 PM, Aki Tuomi wrote: Is there some reason you can't use normal proxy instead of imap backend? That is,return proxy, host=imap_back

Re: Is it possible to disable pipelining in imapc?

2017-09-11 Thread Nagy, Attila
On 09/11/2017 03:01 PM, Aki Tuomi wrote: On 11.09.2017 15:56, Nagy, Attila wrote: On 09/11/2017 12:12 PM, Aki Tuomi wrote: Is there some reason you can't use normal proxy instead of imap backend? That is,return proxy, host=imap_backend, port=1430? There seems to be no pipeline setting currently

Re: Is it possible to disable pipelining in imapc?

2017-09-11 Thread Aki Tuomi
On 11.09.2017 15:56, Nagy, Attila wrote: > On 09/11/2017 12:12 PM, Aki Tuomi wrote: >> Is there some reason you can't use normal proxy instead of imap backend? >> That is,return proxy, host=imap_backend, port=1430? There seems to be no >> pipeline setting currently for imapc in v2.2. >> > Yes, be

Re: Is it possible to disable pipelining in imapc?

2017-09-11 Thread Nagy, Attila
On 09/11/2017 12:12 PM, Aki Tuomi wrote: Is there some reason you can't use normal proxy instead of imap backend? That is,return proxy, host=imap_backend, port=1430? There seems to be no pipeline setting currently for imapc in v2.2. Yes, because it's a dumb IMAP server, which doesn't implement a

Re: Per-user quota (passwd)

2017-09-11 Thread Aki Tuomi
Hi! Just so you know, autocreate/autosubscribe is deprecated, you should use namespace { mailbox INBOX { auto = subscribe } } can you run doveadm user administra...@email.dom to verify that mail_home gets set correctly? Aki On 11.09.2017 14:48, Evgeniy Korneechev wrote: > Hi. > But ther

Re: Per-user quota (passwd)

2017-09-11 Thread Evgeniy Korneechev
Hi. But there is one problem... protocol lda { mail_plugins = " quota autocreate sieve quota" plugin { quota = dict:user::file:/var/vmail/glu_vrem/%u/.quotausage } } protocol imap { mail_plugins = " quota autocreate autocreate imap_quota" plugin { autocreate = INBOX autocrea

Re: pop3-login core dump when using TLSSTART on version dovecot-2.2.32 (INTERNAL)

2017-09-11 Thread Aki Tuomi
Can you outline the exact steps you perform to get this? Aki On 11.09.2017 13:42, arvid.ei...@telenor.com wrote: > Hi, > > I switched back to 2.2.27 with the same config that I am using for 2.2.32 and > it work fine. > > Sep 11 11:49:37 imap-login: Info: Login: user=, method=PLAIN, > rip=88.8

RE: pop3-login core dump when using TLSSTART on version dovecot-2.2.32 (INTERNAL)

2017-09-11 Thread Arvid.Eikas
Hi, I switched back to 2.2.27 with the same config that I am using for 2.2.32 and it work fine. Sep 11 11:49:37 imap-login: Info: Login: user=, method=PLAIN, rip=88.89.118.45, lip=148.123.160.116, mpid=18709, TLS, session= Sep 11 11:49:40 imap(mailuser) Session-ID v7o22OZYrsdYWXYt RemoteIP

Re: Is it possible to disable pipelining in imapc?

2017-09-11 Thread Aki Tuomi
On 11.09.2017 13:09, Nagy, Attila wrote: > On 09/11/2017 11:14 AM, Aki Tuomi wrote: >> >> On 11.09.2017 11:59, Nagy, Attila wrote: >>> On 09/11/2017 10:42 AM, Sami Ketola wrote: > On 11 Sep 2017, at 11.24, Nagy, Attila wrote: > I use dovecot with a broken IMAP server (which doesn't prope

Re: Is it possible to disable pipelining in imapc?

2017-09-11 Thread Nagy, Attila
On 09/11/2017 11:14 AM, Aki Tuomi wrote: On 11.09.2017 11:59, Nagy, Attila wrote: On 09/11/2017 10:42 AM, Sami Ketola wrote: On 11 Sep 2017, at 11.24, Nagy, Attila wrote: I use dovecot with a broken IMAP server (which doesn't properly implement command pipelining amongst others) as an imapc b

Re: doveadm expunge returns error code 68

2017-09-11 Thread Aki Tuomi
On 08.09.2017 15:38, Florian Lohoff wrote: > Hi Aki, > > On Wed, Sep 06, 2017 at 11:26:30AM +0300, Aki Tuomi wrote: >> On 05.09.2017 14:39, Florian Lohoff wrote: >>> Hi, >>> i am running basically this from cron: >>> >>> /usr/bin/doveadm -v expunge -u * mailbox INBOX.Spam SENTBEFORE 90d >>> /usr/

Re: What INTERNALDATE does dovecot with mbox storage set on a COPY'd message?

2017-09-11 Thread Aki Tuomi
On 09.09.2017 12:33, Steinar Bang wrote: > When a message is copied to a folder on dovecot with mbox storage, is > the mtime of the saved mbox file set to the time of the save? > > Or is the mtime set to the Date: field of the source message that is > saved? > > If there is a difference in the

Re: Is it possible to disable pipelining in imapc?

2017-09-11 Thread Aki Tuomi
On 11.09.2017 11:59, Nagy, Attila wrote: > On 09/11/2017 10:42 AM, Sami Ketola wrote: >>> On 11 Sep 2017, at 11.24, Nagy, Attila wrote: >>> I use dovecot with a broken IMAP server (which doesn't properly >>> implement command pipelining amongst others) as an imapc backend. >>> Dovecot issues the

Re: Is it possible to disable pipelining in imapc?

2017-09-11 Thread Nagy, Attila
On 09/11/2017 10:42 AM, Sami Ketola wrote: On 11 Sep 2017, at 11.24, Nagy, Attila wrote: I use dovecot with a broken IMAP server (which doesn't properly implement command pipelining amongst others) as an imapc backend. Dovecot issues the above command sequence (SELECT and UID FETCH pipelined),

Re: Is it possible to disable pipelining in imapc?

2017-09-11 Thread Sami Ketola
> On 11 Sep 2017, at 11.24, Nagy, Attila wrote: > I use dovecot with a broken IMAP server (which doesn't properly implement > command pipelining amongst others) as an imapc backend. > Dovecot issues the above command sequence (SELECT and UID FETCH pipelined), > which doesn't work with this serv

Re: Is it possible to disable pipelining in imapc?

2017-09-11 Thread Nagy, Attila
On 09/11/2017 09:17 AM, Aki Tuomi wrote: On 08.09.2017 15:29, Nagy, Attila wrote: On 09/08/2017 01:53 PM, Aki Tuomi wrote: On 08.09.2017 14:50, Nagy, Attila wrote: Hi, I've a broken IMAP server, which doesn't support pipelining and fails on dovecot's attempt to do this ([C] is dovecot's imap

Re: Dovecot and Letsencrypt certs

2017-09-11 Thread Arkadiusz Miśkiewicz
On Friday 08 of September 2017, Ralph Seichter wrote: > On 08.09.2017 16:20, LuKreme wrote: > > However, it seems like checking the certs is something that dovecot > > should be doing on its own. > > What is Dovecot supposed to do? Keep track of the certificate expiry > date? That was already d

Re: Fail2ban 'Password mismatch' regex

2017-09-11 Thread James Brown
> On 11 Sep 2017, at 5:38 pm, Christian Kivalo wrote: > >> Many thanks Christian. >> Added that, but it still doesn’t match: >> $ fail2ban-regex "Sep 11 15:52:49 mail dovecot[54239]: auth-worker(10094): >> sql(u...@bordo.com.au,::1,L2xqieNYeM4B>): Password >> mismatch (giv

Re: Fail2ban 'Password mismatch' regex

2017-09-11 Thread Christian Kivalo
Many thanks Christian. Added that, but it still doesn’t match: $ fail2ban-regex "Sep 11 15:52:49 mail dovecot[54239]: auth-worker(10094): sql(u...@bordo.com.au,::1,L2xqieNYeM4B>): Password mismatch (given password: 2)" "^%(__prefix_line)sauth: Info: sql\(\S+,,\<\S+\>\): (P

Re: Fail2ban 'Password mismatch' regex

2017-09-11 Thread James Brown
> On 11 Sep 2017, at 5:10 pm, Christian Kivalo wrote: > > On 2017-09-11 08:57, James Brown wrote: >> I have turned on 'auth_debug_passwords=yes’ in dovecot.conf. >> I’m trying to get Fail2ban to detect this log line: >> Sep 11 15:52:49 mail dovecot[54239]: auth-worker(10094): >> sql(u...@bordo

Re: pop3-login core dump when using TLSSTART on version dovecot-2.2.32 (INTERNAL)

2017-09-11 Thread Aki Tuomi
Hi! I tried to reproduce this problem with dovecot-2.2.32 and OpenSSL 1.0.1k and was not able to. I enabled -DREF_CHECK on OpenSSL, but to no avail, the process did not crash. Is there something else you've done? Aki On 11.09.2017 08:07, arvid.ei...@telenor.com wrote: > Hi, > > Here is the gdb

Re: Is it possible to disable pipelining in imapc?

2017-09-11 Thread Aki Tuomi
On 08.09.2017 15:29, Nagy, Attila wrote: > On 09/08/2017 01:53 PM, Aki Tuomi wrote: >> >> On 08.09.2017 14:50, Nagy, Attila wrote: >>> Hi, >>> >>> I've a broken IMAP server, which doesn't support pipelining and fails >>> on dovecot's attempt to do this ([C] is dovecot's imapc, [S] is the >>> IMAP

Re: Fail2ban 'Password mismatch' regex

2017-09-11 Thread Christian Kivalo
On 2017-09-11 08:57, James Brown wrote: I have turned on 'auth_debug_passwords=yes’ in dovecot.conf. I’m trying to get Fail2ban to detect this log line: Sep 11 15:52:49 mail dovecot[54239]: auth-worker(10094): sql(u...@bordo.com.au ,::1,): Password mismatch (given p