Dovecot failing with exit code 19200 in cron job

2014-08-18 Thread Murray Trainer
Hi All, I am synchronizing a few hundred dovecot mailboxes with a perl script via a crontab.   It works for a while (ie exit status=0)  but the rest then start failing with exit code 19200.   I tried redirecting STDERR but showed nothing.  I suspect the cron job is hitting some sort of resource

Re: Manage Sieve Security?

2014-08-18 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 18 Aug 2014, Chris wrote: can I expose Dovecot's Manage Sieve port to the internet or it is as secure as IMAP or POP3 People may use STARTTLS to encrypt their session and password. - -- Steffen Kaiser -BEGIN PGP SIGNATURE-

NFS INTR mount option

2014-08-18 Thread Murray Trainer
Hi again, We have our mailboxes on several NFS filesystems mounted with the options below.     10.11.0.238:/mailbox_store_01 on /home1 type nfs4

Re: Dovecot failing with exit code 19200 in cron job

2014-08-18 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 18 Aug 2014, Murray Trainer wrote: rest then start failing with exit code 19200.   I tried redirecting See perldoc -f system, 19200 is exit code 75. 75 most likly means Temporary failure. STDERR but showed nothing.  I suspect the cron

rebuilding indexes for dovecot pop3

2014-08-18 Thread Arkadiusz Miśkiewicz
Hi. doveadm -D fetch -u login \ 'imap.envelope imap.bodystructure size.virtual date.received' '*' according to mail archives allows to regenerate indexes and precache specified headers for imap usage. What headers are needed for dovecot pop3 daemon? I have one server where dovecot works

Re: antispam plugin crash

2014-08-18 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 17 Aug 2014, Thomas Witt wrote: the dovecot antispam plugin crahses here on a nullpointer dereference in antispam_copy() at mailbox.c does it crashes all of the time or for specific messages, mailboxes, etc.pp? What version of Dovecot

Huge difference between the lucene index size created by v2.1 and v2.2

2014-08-18 Thread Akash
Hi everyone, While examining dovecot versions v2.1 and v2.2 for their lucene search performances, I have noticed a huge difference in the index sizes created by them. Both versions were compiled on same system, against same libclucene, same configure options and were used with same

Re: Huge difference between the lucene index size created by v2.1 and v2.2

2014-08-18 Thread Timo Sirainen
On 18 Aug 2014, at 09:42, Akash akbwiz+dove...@gmail.com wrote: 390M vs 1.5G. That is a huge difference in size. Why is that? Can you test if the attached patch shrinks it back? I had been planning on making that also configurable. There might be something else also causing it. diff

Re: Segmentation fault while indexing a large mailbox using doveadm..

2014-08-18 Thread Timo Sirainen
On 17 Aug 2014, at 09:43, Akash akbwiz+dove...@gmail.com wrote: I am having the same issue as: http://www.dovecot.org/list/dovecot/2014-April/095681.html although I am using the latest dovecot-core and dovecot-lucene packages from the debian sid repo which already has the patch

Re: IMAP on 993/SSL or 143/STARTTLS?

2014-08-18 Thread Alan McGinlay
On 2014-08-18 05:03, Gedalya wrote: On 08/17/2014 10:45 PM, Alex wrote: Hi, I have a postfix+dovecot-2.2.13 system and have configured it to support IMAPS on 993 with SSL/TLS. I'm noticing with users using Thunderbird, the autodetect defaults to IMAPS on 143 with STARTTLS. Which is

Re: Segmentation fault while indexing a large mailbox using doveadm..

2014-08-18 Thread Akash
The debian sid(unstable) repo. Only it has the latest version of dovecot with lucene. Used these binary packages: https://packages.debian.org/sid/dovecot-core https://packages.debian.org/sid/dovecot-imapd https://packages.debian.org/sid/dovecot-lucene

Re: antispam plugin crash

2014-08-18 Thread Thomas Witt
On 18/08/14 09:02, Steffen Kaiser wrote: does it crashes all of the time or for specific messages, mailboxes, etc.pp? What version of Dovecot and which configuration do you use? Dovecot version is 2.2.13. It crashes on every incoming mail as long as the antispam plugin is activated. Config:

Re: Huge difference between the lucene index size created by v2.1 and v2.2

2014-08-18 Thread Akash
Thanks for checking. The patch didn't make any significant difference. Now its 1.3G instead of 1.5G. root@server:~# ls -lh /home/admin/mails/lucene-indexes total 1.3G -rw--- 1 nobody nogroup 1.3G Aug 18 11:30 _4a.cfs -rw--- 1 nobody nogroup 20 Aug 18 11:30 segments.gen -rw--- 1

Re: Fatal: master: service(imap): child 28145 killed with signal 11 (core dumped) -- started happening after upgrade last night

2014-08-18 Thread Ben Johnson
On 8/17/2014 5:11 PM, Timo Sirainen wrote: On 15 Aug 2014, at 21:53, Ben Johnson b...@indietorrent.org wrote: # gdb /usr/lib/dovecot/imap /var/vmail/example.com/user/core Reading symbols from /usr/lib/dovecot/imap...(no debugging symbols found)...done. [New LWP 27866] [Thread debugging

Re: antispam plugin crash

2014-08-18 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 18 Aug 2014, Thomas Witt wrote: On 18/08/14 09:02, Steffen Kaiser wrote: does it crashes all of the time or for specific messages, mailboxes, etc.pp? What version of Dovecot and which configuration do you use? Dovecot version is 2.2.13.

Re: antispam plugin crash

2014-08-18 Thread Thomas Witt
On 18/08/14 15:15, Steffen Kaiser wrote: As far as I know sa-learn requires a filename at command line, therefore http://wiki2.dovecot.org/Plugins/Antispam spools the message to a file before. Could you try this script? Maybe you can use - as filename or something like that. No it does not.

Re: Fatal: master: service(imap): child 28145 killed with signal 11 (core dumped) -- started happening after upgrade last night

2014-08-18 Thread Ben Johnson
On 8/18/2014 8:36 AM, Ben Johnson wrote: Just an observation: I sent another message to the list a few days before this message, describing an unhandled exit scenario where dovecot-antispam plug-in is concerned (Re: Backtrace io_add(0x1) called twice fd= (was Exit status code 134; what is it,

Re: antispam plugin crash

2014-08-18 Thread Robert Schetterer
Am 18.08.2014 um 16:40 schrieb Thomas Witt: On 18/08/14 15:15, Steffen Kaiser wrote: As far as I know sa-learn requires a filename at command line, therefore http://wiki2.dovecot.org/Plugins/Antispam spools the message to a file before. Could you try this script? Maybe you can use - as

Re: IMAP on 993/SSL or 143/STARTTLS?

2014-08-18 Thread Jochen Bern
On -10.01.-28163 20:59, Alex wrote: Why would someone choose one over the other? There's no *global* reason to choose one over the other AFAIK, but I've seen individual projects find reasons ruling out the STARTTLS approach. Most of them were variations of we want SSL and $INTERIOR_PROTOCOL

[SOLVED] Re: Trying Dovecot Replication with dsync

2014-08-18 Thread Minhas Listas
1) Aug 14 15:39:34 ceph1 dovecot: imap(account=domaintest.com): Error: open(/var/run/dovecot/replication-notify-fifo) failed: Permission denied What is the correct perms for /var/run/dovecot/replication-notify-fifo ? Currently: # ll /var/run/dovecot/replication-notify-fifo prw--- 1

Health monitoring of backend servers

2014-08-18 Thread Minhas Listas
Does Dovecot Director health monitoring of backend servers ? Or is poolmon (http://www.dovecot.org/list/dovecot/2010-August/051946.html) the best option for this? Maybe Ldirectord? Thanks! -- Thiago Henrique www.adminlinux.com.br

Re: Health monitoring of backend servers

2014-08-18 Thread Daniel Parthey
Am 18.08.2014 21:54, schrieb Minhas Listas: Does Dovecot Director health monitoring of backend servers ? Or is poolmon (http://www.dovecot.org/list/dovecot/2010-August/051946.html) the best option for this? Maybe Ldirectord? Thanks! -- Thiago Henrique www.adminlinux.com.br No, dovecot

Re: Health monitoring of backend servers

2014-08-18 Thread Minhas Listas
Thanks Daniel for your quick answer ! I will consider using the poolmon Best regards -- Thiago Henrique www.adminlinux.com.br 2014-08-18 18:10 GMT-03:00 Daniel Parthey p...@posteo.de: Am 18.08.2014 21:54, schrieb Minhas Listas: Does Dovecot Director health monitoring of backend servers ?

Re: Health monitoring of backend servers

2014-08-18 Thread Minhas Listas
Daniel. Dovecot Director only directs. But it does load balancing. Right? Thanks in advance -- Thiago Henrique www.adminlinux.com.br 2014-08-18 18:57 GMT-03:00 Minhas Listas todasminhaslis...@gmail.com: Thanks Daniel for your quick answer ! I will consider using the poolmon Best regards

Re: [SOLVED] Re: Trying Dovecot Replication with dsync

2014-08-18 Thread Francisco Wagner C. Freire
You can get more information here - http://wiki2.dovecot.org/Replication On the master configuration file you can set default permissions for listeners, for example: service aggregator { fifo_listener replication-notify-fifo {user = vmail } unix_listener replication-notify {user =