Re: Segmentation fault with doveadm search

2017-08-29 Thread Aki Tuomi
On 30.08.2017 09:13, Stefán Tamás wrote: > Hi, > > We have a Ubuntu 14.04 server with dovecot 2.2.9 > > If I try to run > > /usr/bin/doveadm search -u em...@exmaple.com mailbox Junk savedbefore 30d > > It will dump a core file. > > We have a similar config on an other server and there is no probl

Segmentation fault with doveadm search

2017-08-29 Thread Stefán Tamás
Hi, We have a Ubuntu 14.04 server with dovecot 2.2.9 If I try to run /usr/bin/doveadm search -u em...@exmaple.com mailbox Junk savedbefore 30d It will dump a core file. We have a similar config on an other server and there is no problem there. Any ideas how to prevent the core dump? root@tri

Proper way to enable plugin for some users

2017-08-29 Thread Ian Bobbitt
What's the best way to enable a plugin (in this case, mail_log) for only some users? I have this as a field returned in my sql user_query that seems to be doing the job: if(debug_log != 0 and '%s' = 'imap', 'listescape acl notify replication mail_log', 'listescape acl notify replication') as mai

Re: unexpected delivery location

2017-08-29 Thread lists
For the archives: On 23-8-2017 21:56, Noel wrote: Perhaps you can adjust your query or your database to return the desired result.  Otherwise, use your scripting skills to generate a file, then automate the procedure. I ended up creating a file /etc/postfix/olddomain with this contents: /^([

Re: dovecot-2.2.32/src/doveadm/doveadm-mail-fetch.c: 4 * suspicious expression ?

2017-08-29 Thread Aki Tuomi
On 2017-08-24 21:39, David Binderman wrote: Hello there, dovecot-2.2.32/src/doveadm/doveadm-mail-fetch.c:130]: (style) Suspicious condition (assignment + comparison); Clarify expression with parentheses. Source code is if ((ret = doveadm_print_istream(input) < 0)) Maybe better code