Re: Dovecot 2.2.25 compiling error

2016-07-11 Thread Joseph Tam
I've reduced the problem to this: void foo(int X[static 20]); will compile but if you remove "X", it won't. The change was to replace "int" with "unsigned char" in the above test program, and the test started failing then in CentOS 5's gcc. I'd expect the same to happen for you also.

Re: Feature Request

2016-07-11 Thread Timo Sirainen
On 05 Jul 2016, at 00:39, Doug Hardie wrote: > > I would like to request an additional optional argument for queue-id to > dovecot-lda. The intended use for this argument is to include in the > logging. From what I can tell, the queue-id size is not consistent between > the various MTAs and

Re: is it possible to run a post-login script in a dovecot proxy with local auth?

2016-07-11 Thread Timo Sirainen
On 05 Jul 2016, at 02:14, Luca Lesinigo wrote: > > We’re using dovecot v2.2.22, authenticating on a local database (passdb with > sql driver), and then proxying the connections to the backend server returned > by passdb (proxy=y and backend in “host” column). To support some legacy > clients w

Re: Dovecot 2.2.25 compiling error

2016-07-11 Thread Timo Sirainen
> On 12 Jul 2016, at 02:16, Joseph Tam wrote: > > Aki Tuomi wrote: > Well, tried with or without patches, but got still same error: sha1.h:80: error: static or type qualifiers in abstract declarator >>> >>> For what it's worth, I get the same error compiling on Solaris 10. >>>

Re: passdb {driver = shadow args = override_username=%variable}

2016-07-11 Thread Timo Sirainen
On 11 Jul 2016, at 19:48, William L. Thomson Jr. wrote: > > On Saturday, July 09, 2016 12:01:43 PM UNIX admin wrote: >> Hello list >> >> I want to implement override_username = %variable for the "shadow" >> driver, so that the following works: >> >> passdb { >> driver = shadow >> args = overr

Re: passdb {driver = shadow args = override_username=%variable}

2016-07-11 Thread Timo Sirainen
On 09 Jul 2016, at 13:01, UNIX admin wrote: > > Hello list > > I want to implement override_username = %variable for the "shadow" > driver, so that the following works: > > passdb { > driver = shadow > args = override_username=%Ln > } > > by "%variable", I mean "Variables" at http://wiki.dov

Re: 2.3.0~alpha0-1~auto+197: Crash when openening a message via IMAP

2016-07-11 Thread Timo Sirainen
On 11 Jul 2016, at 14:15, Ralf Hildebrandt wrote: > > From the log: > > Jul 11 13:12:42 mproxy dovecot: imap-login: Login: user=, > method=PLAIN, rip=141.42.206.36, lip=141.42.206.11, mpid=27254, TLS, > session= > Jul 11 13:12:44 mproxy dovecot: imap(hildeb): Panic: file > imap-client.c: line

Re: Master-Master replication question

2016-07-11 Thread William L. Thomson Jr.
On Monday, July 11, 2016 05:38:20 PM Remko Lodder wrote: > > On 11 Jul 2016, at 17:21, William L. Thomson Jr. > > wrote: > > > > You are not alone! > > Hello, > > Now that’s a relief! Maybe if I had a solution, but I guess knowing others suffer the same can be reliving. > One of the things t

Re: Dovecot 2.2.25 compiling error

2016-07-11 Thread Joseph Tam
Aki Tuomi wrote: Well, tried with or without patches, but got still same error: sha1.h:80: error: static or type qualifiers in abstract declarator For what it's worth, I get the same error compiling on Solaris 10. It may be because I have a rather old gcc (3.4.4). Editing out the "static" ke

Re: Master-Master replication question

2016-07-11 Thread William L. Thomson Jr.
On Monday, July 11, 2016 12:46:50 PM Rick Romero wrote: > Quoting "William L. Thomson Jr." : > > On Monday, July 11, 2016 10:53:05 AM Rick Romero wrote: > >> I don't think that'll help. From what I understand, LMTP is required > > for > > >> replication on delivery. > > > > Where did you come

Re: [2.2.25 auth issue] auth-request.c: line 1049 (auth_request_lookup_credentials): assertion failed: (request->credentials_scheme == scheme)

2016-07-11 Thread Alexey Asemov (Alex/AT)
Hello Aki. Here it is. Some sensitive data was replaced by ***. # 2.2.25 (7be1766): /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.15 (97b3da0) # OS: Linux 3.10.0-***.el7.x86_64 x86_64 CentOS Linux release 7.*** (Core) ext4 auth_cache_negative_ttl = 15 secs auth_cache_size = 8 M auth_cache_

Re: Master-Master replication question

2016-07-11 Thread Rick Romero
Quoting "William L. Thomson Jr." : On Monday, July 11, 2016 10:53:05 AM Rick Romero wrote: I don't think that'll help.  From what I understand, LMTP is required for replication on delivery. Where did you come across that requirement? I do not recall that.  Hmmm I can't seem to find any r

Re: passdb {driver = shadow args = override_username=%variable}

2016-07-11 Thread William L. Thomson Jr.
On Saturday, July 09, 2016 12:01:43 PM UNIX admin wrote: > Hello list > > I want to implement override_username = %variable for the "shadow" > driver, so that the following works: > > passdb { > driver = shadow > args = override_username=%Ln > } > > by "%variable", I mean "Variables" at http

Re: Master-Master replication question

2016-07-11 Thread William L. Thomson Jr.
On Monday, July 11, 2016 10:53:05 AM Rick Romero wrote: > I don't think that'll help. From what I understand, LMTP is required for > replication on delivery. Where did you come across that requirement? I do not recall that. > Out of curiousity, why do you use SMTP from the MX to the destinat

Re: Master-Master replication question

2016-07-11 Thread Remko Lodder
Hi Rick, >> Local delivery on the destination server is LMTP but the transport between >> MX and destination server is just plain SMTP. >> >> I could try and revert to dovecot-lda and see what that does? >> > I don't think that'll help. From what I understand, LMTP is required for > replicatio

Re: Master-Master replication question

2016-07-11 Thread William L. Thomson Jr.
On Monday, July 11, 2016 10:36:13 AM Rick Romero wrote: > Are you guys using LMTP to deliver from your MX server to the mailbox > server? I am not at this time. My use of NFS is for other reasons. All services SMTP, POP, and IMAP are on the same system. I have not tried it without NFS to see if

Re: Master-Master replication question

2016-07-11 Thread Rick Romero
Quoting Remko Lodder : On 11 Jul 2016, at 17:36, Rick Romero wrote: Quoting "William L. Thomson Jr." : You are not alone! On Wednesday, July 06, 2016 01:15:34 PM Remko Lodder wrote: Dear list, I have setup a master-master replication setup. My primairy MX's send email over on a DNS loadb

Re: Master-Master replication question

2016-07-11 Thread Remko Lodder
> On 11 Jul 2016, at 17:36, Rick Romero wrote: > > Quoting "William L. Thomson Jr." : > >> You are not alone! >> >> On Wednesday, July 06, 2016 01:15:34 PM Remko Lodder wrote: >>> Dear list, >>> >>> I have setup a master-master replication setup. My primairy MX's send >>> email >>> over on a

Re: Master-Master replication question

2016-07-11 Thread Remko Lodder
> On 11 Jul 2016, at 17:21, William L. Thomson Jr. wrote: > > You are not alone! Hello, Now that’s a relief! One of the things that I described and observed is that it seems that serverB is not seeing the email (or at least there is no connection that when an email is send and stored on the

Re: Master-Master replication question

2016-07-11 Thread Rick Romero
Quoting "William L. Thomson Jr." : You are not alone! On Wednesday, July 06, 2016 01:15:34 PM Remko Lodder wrote: Dear list, I have setup a master-master replication setup. My primairy MX's send email over on a DNS loadbalanced way, so DNS is doing some kind of round-robin way of sending mai

Re: Master-Master replication question

2016-07-11 Thread William L. Thomson Jr.
You are not alone! On Wednesday, July 06, 2016 01:15:34 PM Remko Lodder wrote: > Dear list, > > I have setup a master-master replication setup. My primairy MX's send email > over on a DNS loadbalanced way, so DNS is doing some kind of round-robin > way of sending mail to both master servers. > >

Re: 2.3.0~alpha0-1~auto+197: Crash when openening a message via IMAP

2016-07-11 Thread Aki Tuomi
On 11.07.2016 14:15, Ralf Hildebrandt wrote: > From the log: > > Jul 11 13:12:42 mproxy dovecot: imap-login: Login: user=, > method=PLAIN, rip=141.42.206.36, lip=141.42.206.11, mpid=27254, TLS, > session= > Jul 11 13:12:44 mproxy dovecot: imap(hildeb): Panic: file > imap-client.c: line 854 (cl

2.3.0~alpha0-1~auto+197: Crash when openening a message via IMAP

2016-07-11 Thread Ralf Hildebrandt
>From the log: Jul 11 13:12:42 mproxy dovecot: imap-login: Login: user=, method=PLAIN, rip=141.42.206.36, lip=141.42.206.11, mpid=27254, TLS, session= Jul 11 13:12:44 mproxy dovecot: imap(hildeb): Panic: file imap-client.c: line 854 (client_check_command_hangs): assertion failed: ((io_loop_fin

Re: a question about dovecot-sieve

2016-07-11 Thread Stephan Bosch
Op 8-7-2016 om 6:53 schreef 刘莹莹: question discribe: example: > vim .dovecot.sieve require ["fileinto"]; # rule:[filter1] if anyof (header :contains "Subject" "测试邮件") { fileinto "sieve"; } when i write a mail ,give subject "这是一封测试邮件" , then server convert this subject to"

Re: Dovecot 2.2.25 fails on SSL

2016-07-11 Thread Aki Tuomi
On 04.07.2016 02:42, Andreas M. Kirchwitz wrote: > Dear Dovecot developers! > > This problem already existed some years ago, has been fixed, > and now it's there again in Dovecot 2.2.25 (2.2.24 was fine). > > I'm running CentOS 6 with a custom OpenSSL installation in /usr/local/ssl > Theref

Re: Panic: file mdbox-save.c: line 337: unreached

2016-07-11 Thread Timo Sirainen
On 10 Jul 2016, at 17:44, Leon Kyneur wrote: > > Recently updated to 2.2.25. Noticed a migration script I've been previously > running fine started giving me the errors below. > > Remove server doesn't log any failure. doveconf -n attached. > > + /bin/doveadm -o mail_fsync=never backup -R -u u

Re: "anvil: Error: connect limit: disconnection for unknown pid 17659 + ident lmtp/backup@backup.invalid"

2016-07-11 Thread Timo Sirainen
On 07 Jul 2016, at 15:31, Ralf Hildebrandt wrote: > > I updated to 2.3.0 today, and now I'm getting these entries in my log: > > Jul 7 14:26:20 mail-cbf dovecot: anvil: Error: connect limit: disconnection > for unknown pid 17687 + ident lmtp/backup@backup.invalid Fixed: https://git.dovecot.n