[Dovecot] Dovecot 2.1.7 crash (with core dumped)

2013-12-12 Thread Alessio Cecchi
Hi, I'm running dovecot 2.1.7 with vpopmail auth and Maildir on NFS (I have only one POP/IMAP server). All works fine but sometimes dovecot "imap" process crush and I would like to understand why: Error in log files: Dec 12 06:32:56 pop01eeh dovecot: imap-login: Login: user=, method=PLAIN,

[Dovecot] error with xz compression

2013-12-12 Thread Michael Cramer
i have enabled the zlib plugin with xz compression but on some new mails i got now a segfault and the following lines in dovecot error.log Dec 12 08:51:23 imap(tes...@domain.com): Error: lzma.read(/srv/vmail/mail/domain.com/root/storage/m.3): unexpected EOF at 136004 Dec 12 08:51:23 imap(te

Re: [Dovecot] Dovecot 2.1.7 crash (with core dumped)

2013-12-12 Thread Robert Schetterer
Am 12.12.2013 09:10, schrieb Alessio Cecchi: > Hi, > > I'm running dovecot 2.1.7 you may upgrade to 2.1.17, then try again there where bugs solved http://hg.dovecot.org/dovecot-2.1/log?rev=vpopmail search list for patches and/or wait for Timo to answer with vpopmail auth and Maildir on NFS

Re: [Dovecot] Dovecot 2.1.7 crash (with core dumped)

2013-12-12 Thread Alessio Cecchi
Il 12/12/2013 09:20, Robert Schetterer ha scritto: Am 12.12.2013 09:10, schrieb Alessio Cecchi: >Hi, > >I'm running dovecot 2.1.7 you may upgrade to 2.1.17, then try again there where bugs solved http://hg.dovecot.org/dovecot-2.1/log?rev=vpopmail search list for patches and/or wait for Timo

Re: [Dovecot] Dovecot 2.1.7 crash (with core dumped)

2013-12-12 Thread Robert Schetterer
Am 12.12.2013 09:40, schrieb Alessio Cecchi: > Il 12/12/2013 09:20, Robert Schetterer ha scritto: >> Am 12.12.2013 09:10, schrieb Alessio Cecchi: >>> >Hi, >>> > >>> >I'm running dovecot 2.1.7 >> you may upgrade to 2.1.17, then try again >> >> there where bugs solved >> >> http://hg.dovecot.org/dove

Re: [Dovecot] Dovecot 2.1.7 crash (with core dumped)

2013-12-12 Thread Alessio Cecchi
Il 12/12/2013 09:57, Robert Schetterer ha scritto: Am 12.12.2013 09:40, schrieb Alessio Cecchi: Il 12/12/2013 09:20, Robert Schetterer ha scritto: Am 12.12.2013 09:10, schrieb Alessio Cecchi: Hi, I'm running dovecot 2.1.7 you may upgrade to 2.1.17, then try again there where bugs solved ht

[Dovecot] warning from managesieve

2013-12-12 Thread Michael Cramer
when .dovecot.sieve is a symlink (which it is in my case) a warning is written to the error log file, but it still works. Dec 12 10:02:33 managesieve(tes...@domain.com): Warning: sieve-storage: Active sieve script symlink /srv/vmail/sieve/domain.com/tester/.dovecot.sieve is broken: inval

Re: [Dovecot] Dovecot 2.1.7 crash (with core dumped)

2013-12-12 Thread Robert Schetterer
Am 12.12.2013 10:13, schrieb Alessio Cecchi: > Il 12/12/2013 09:57, Robert Schetterer ha scritto: >> Am 12.12.2013 09:40, schrieb Alessio Cecchi: >>> Il 12/12/2013 09:20, Robert Schetterer ha scritto: Am 12.12.2013 09:10, schrieb Alessio Cecchi: >> Hi, >> >> I'm running dovecot 2.1

Re: [Dovecot] warning from managesieve

2013-12-12 Thread Robert Schetterer
Am 12.12.2013 10:17, schrieb Michael Cramer: > when .dovecot.sieve is a symlink (which it is in my case) a warning is > written to the error log file, but it still works. > > > Dec 12 10:02:33 managesieve(tes...@domain.com): Warning: sieve-storage: > Active sieve script symlink > /srv/vmail/sieve

Re: [Dovecot] Dovecot 2.1.7 crash (with core dumped)

2013-12-12 Thread Alessio Cecchi
Il 12/12/2013 10:19, Robert Schetterer ha scritto: Am 12.12.2013 10:13, schrieb Alessio Cecchi: Il 12/12/2013 09:57, Robert Schetterer ha scritto: Am 12.12.2013 09:40, schrieb Alessio Cecchi: Il 12/12/2013 09:20, Robert Schetterer ha scritto: Am 12.12.2013 09:10, schrieb Alessio Cecchi: Hi,

Re: [Dovecot] warning from managesieve

2013-12-12 Thread Stephan Bosch
On 12/12/2013 10:17 AM, Michael Cramer wrote: > when .dovecot.sieve is a symlink (which it is in my case) a warning is > written to the error log file, but it still works. > > > Dec 12 10:02:33 managesieve(tes...@domain.com): Warning: > sieve-storage: Active sieve script symlink > /srv/vmail/sieve/

Re: [Dovecot] Dovecot 2.1.7 crash (with core dumped)

2013-12-12 Thread Robert Schetterer
Am 12.12.2013 10:27, schrieb Alessio Cecchi: > Il 12/12/2013 10:19, Robert Schetterer ha scritto: >> Am 12.12.2013 10:13, schrieb Alessio Cecchi: >>> Il 12/12/2013 09:57, Robert Schetterer ha scritto: Am 12.12.2013 09:40, schrieb Alessio Cecchi: > Il 12/12/2013 09:20, Robert Schetterer ha

Re: [Dovecot] warning from managesieve

2013-12-12 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 12 Dec 2013, Michael Cramer wrote: when .dovecot.sieve is a symlink (which it is in my case) a warning is written to the error log file, but it still works. Dec 12 10:02:33 managesieve(tes...@domain.com): Warning: sieve-storage: Active si

[Dovecot] Dovecot as caching proxy

2013-12-12 Thread Anton Lundin
Hi. I'm bin playing around with dovecot to try to setup it as a caching imap proxy. I manged to get dovecot to use both proxy=y and imapc: connections to the master server, but i haven't manged to get dovecot to cache any mails. The remote imap server is a quite hostile one, that i don't have an

Re: [Dovecot] warning from managesieve

2013-12-12 Thread Michael Cramer
# 2.2.9 (5c170e0786f3): /etc/dovecot/dovecot.conf # OS: Linux 3.11.0-14-generic x86_64 Ubuntu 13.10 ext4 auth_master_user_separator = * auth_mechanisms = plain login debug_log_path = /var/log/dovecot/debug.log dict { acl = pgsql:/etc/dovecot/dovecot-dict-sql.conf.ext expire = pgsql:/etc/doveco

Re: [Dovecot] managesieve error with dovecot

2013-12-12 Thread saurabh
Hi Steffen, I am posting below the output of doveconf -n ### Output of doveconf -n ## # 2.0.9: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-358.el6.x86_64 x86_64 CentOS release 6.5 (Final) ext4 base_dir = /var/run/dovecot/ disable_plaintext_auth = no login_gree

[Dovecot] ot: tracking messages- luser troubleshooting

2013-12-12 Thread voytek
I had a user complaining of 'not getting emails' I've searched for sender in maillog, got two messages, both showed up as; Dec 12 15:51:29 emu postfix/pipe[9607]: 3F21C5E750: to=, relay=dovecot, delay=6.4, delays=6.3/0.01/0/0.12, dsn=2.0.0, status=sent (delivered via dovecot service) Dec 12 15:51:

[Dovecot] Panic: file buffer.c: assertion failed: (used_size <= buf->alloc)

2013-12-12 Thread gio...@libero.it
Hi, We have a crash in dovecot 2.2.7 2013-12-11 10:38:44 imap(x...@example.com): Panic: file buffer.c: line 307 (buffer_set_used_size): assertion failed: (used_size <= buf->alloc) 2013-12-11 10:38:44 imap(x...@example.com): Error: Raw backtrace: /opt/dovecot- 2.2.7/lib/dovecot/libdovecot.so.0(

Re: [Dovecot] ot: tracking messages- luser troubleshooting

2013-12-12 Thread Robert Schetterer
Am 12.12.2013 11:36, schrieb voy...@sbt.net.au: > I had a user complaining of 'not getting emails' > I've searched for sender in maillog, got two messages, both showed up as; > > Dec 12 15:51:29 emu postfix/pipe[9607]: 3F21C5E750: to=, > relay=dovecot, delay=6.4, delays=6.3/0.01/0/0.12, dsn=2.0.0,

Re: [Dovecot] warning from managesieve

2013-12-12 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 12 Dec 2013, Michael Cramer wrote: sieve = /srv/vmail/sieve/%d/%n/.dovecot.sieve sieve_dir = /srv/vmail/sieve/%d/%n/ add a subdir to sieve_dir - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwU

Re: [Dovecot] Panic: file buffer.c: assertion failed: (used_size <= buf->alloc)

2013-12-12 Thread Robert Schetterer
Am 12.12.2013 11:37, schrieb gio...@libero.it: > Hi, > > We have a crash in dovecot 2.2.7 what about retry after upgrade to 2.2.9 ? > > 2013-12-11 10:38:44 imap(x...@example.com): Panic: file buffer.c: line 307 > (buffer_set_used_size): assertion failed: (used_size <= buf->alloc) > 2013-12-1

Re: [Dovecot] managesieve error with dovecot

2013-12-12 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 12 Dec 2013, saurabh wrote: What's in /etc/dovecot/dovecot-ldap.conf.ext ? The erroreous Debug: Unknown userdb setting: plugin//mail/%d/%n/=/home/test seems to come from there. I am posting below the output of doveconf -n ###

[Dovecot] auth failures

2013-12-12 Thread Andreas Schulze
Hello, last week and today our dovecot pop3 server stopped responding. Without any other logentries dovecot start to log only this: Dec 12 09:14:12 mbox1 dovecot: auth: Error: ldap(testuser,192.0.2.110,): ldap_search(base=ou=accounts,dc=example,dc=de filter=(&(|(uid=testuser)(mail=testuser))(!

Re: [Dovecot] managesieve error with dovecot

2013-12-12 Thread saurabh
Hi, Here's what is written in dovecot-ldap.conf.ext file. hosts = 192.168.100.204 dn = cn=dovecot,ou=people,dc=techblue,dc=co,dc=uk dnpass = password ldap_version = 3 base = dc=techblue,dc=co,dc=uk deref = never scope = subtree user_attrs = homeDirectory=/mail/%d/%n/, uidNumber=uid, gidNumber=g

Re: [Dovecot] warning from managesieve

2013-12-12 Thread Michael Cramer
after adding a dir the warning is gone, thx, i think i misread the wiki page Zitat von Steffen Kaiser : On Thu, 12 Dec 2013, Michael Cramer wrote: sieve = /srv/vmail/sieve/%d/%n/.dovecot.sieve sieve_dir = /srv/vmail/sieve/%d/%n/ add a subdir to sieve_dir - -- Steffen Kaiser

Re: [Dovecot] warning from managesieve

2013-12-12 Thread Stephan Bosch
Michael Cramer schreef op 12-12-2013 12:30: after adding a dir the warning is gone, thx, i think i misread the wiki page The subdir solution is a good one; it is a bad idea to put the active symlink inside the script storage directory. However, this is not the direct cause of the warning.

[Dovecot] Size detection/replair does not work with zlib

2013-12-12 Thread Roland Rosenfeld
Hi! Usually dovecot auto detects or repairs the size of a maildir message. So I can place a message named "foo" in the cur directory and dovecot uses it. Now I tried the same with a zlib compressed message but here dovecot doesn't recognize/repair the size of the message. When I access this fol

[Dovecot] what's wrong with this config file?

2013-12-12 Thread Jim Reid
Hi. I'm setting up a new IMAPS server. Mail users don't have login access to the box but will each have unique UNIX-style UIDs: no back-end database or LDAP thing. So far. Their mail will get delivered to UNIX-style mailboxes in /var/mail/%u (where %u is the UNIX username obviously). Their IMAP

Re: [Dovecot] managesieve error with dovecot

2013-12-12 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 12 Dec 2013, saurabh wrote: user_attrs = homeDirectory=/mail/%d/%n/, uidNumber=uid, gidNumber=gid That's it, If you want to use a static home dir pattern, write: user_attrs = =home=/mail/%d/%n/, uidNumber=uid, gidNumber=gid Note the =h

Re: [Dovecot] what's wrong with this config file?

2013-12-12 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 12 Dec 2013, Jim Reid wrote: I think this is what I configured in dovecot. However when I try to set up a test account, dovecot reports the following error: Dec 12 02:22:00 shaun dovecot: imap-login: Login: user=, method=CRAM-MD5, rip=10.

Re: [Dovecot] what's wrong with this config file?

2013-12-12 Thread Alan McGinlay - SICS
On 2013-12-12 13:16, Steffen Kaiser wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 12 Dec 2013, Jim Reid wrote: I think this is what I configured in dovecot. However when I try to set up a test account, dovecot reports the following error: Dec 12 02:22:00 shaun dovecot: imap-lo

Re: [Dovecot] managesieve error with dovecot

2013-12-12 Thread saurabh
Hi Steffen, Thanks a ton. You idea helped me get out of the error. user_attrs = =home=/mail/%d/%n/, uidNumber=uid, gidNumber=gid this worked well without any error. Thanks for you valuable time and support. Regards, Saurabh On Thursday 12 December 2013 05:35 PM, Steffen Kaiser wrote: ---

Re: [Dovecot] Dsync error: Couldn't drop privileges: getgrnam

2013-12-12 Thread Alan McGinlay - SICS
On 2013-12-10 14:25, Alan McGinlay - SICS wrote: On 2013-12-10 14:09, Alan McGinlay - SICS wrote: On 2013-12-10 11:52, Alan McGinlay - SICS wrote: On 2013-12-10 11:34, Robert Schetterer wrote: Am 10.12.2013 11:25, schrieb Alan McGinlay - SICS: On 2013-12-09 11:21, Alan McGinlay - SICS wrote: On 2

Re: [Dovecot] Dovecot connection problem - Too many invalid commands (no auth attempts) - v2.0.19

2013-12-12 Thread benson
hie i am a newbie to using dovecot and have been experiencing the same problem ,can you please assist with the solution

[Dovecot] userdb { prefetch } problem after upgrade (was Re: v2.2.9 released)

2013-12-12 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 25 Nov 2013, Timo Sirainen wrote: I test an upgrade from v2.2.5 to v2.2.9. I have built v2.2.9 from hg source, make clean, make install; now it looks like that userdb prefetch won't work, but returns successful without any data all the tim

Re: [Dovecot] error with xz compression

2013-12-12 Thread Timo Sirainen
On 12.12.2013, at 10.12, Michael Cramer wrote: > i have enabled the zlib plugin with xz compression but on some new mails i > got now a segfault and the following lines in dovecot error.log > > Dec 12 08:51:23 imap(tes...@domain.com): Error: > lzma.read(/srv/vmail/mail/domain.com/root/storage/

Re: [Dovecot] userdb { prefetch } problem after upgrade (was Re: v2.2.9 released)

2013-12-12 Thread Timo Sirainen
On 12.12.2013, at 16.25, Steffen Kaiser wrote: > I test an upgrade from v2.2.5 to v2.2.9. > > I have built v2.2.9 from hg source, make clean, make install; now it looks > like that userdb prefetch won't work, but returns successful without any data > all the time. Fixed: http://hg.dovecot.org

Re: [Dovecot] Size detection/replair does not work with zlib

2013-12-12 Thread Charles Sprickman
Sorry for the top post, but this is a quick one. While I wasn't using compressed mailboxes, I ran into a similar bug, and I can't help but wonder if there's some commonality here. There was no resolution (can't find a bug tracker to add the issue to), but have a look: http://thr3ads.net/doveco

Re: [Dovecot] Size detection/replair does not work with zlib

2013-12-12 Thread Frerich Raabe
On 2013-12-12 12:47, Roland Rosenfeld wrote: Hi! Usually dovecot auto detects or repairs the size of a maildir message. So I can place a message named "foo" in the cur directory and dovecot uses it. Now I tried the same with a zlib compressed message but here dovecot doesn't recognize/repair t

Re: [Dovecot] Locking down master user to certain domains through passwd-file auth

2013-12-12 Thread Andrew Obertas
Yeah, I had screwed up and completely missed the segment at the bottom of the variables section that showed how to use them. Felt pretty bad after spending a few days trying to get SQL working, noticing how a long variable name was referenced in one of the auth lines, and then going back to fin

Re: [Dovecot] Dsync error: Couldn't drop privileges: getgrnam

2013-12-12 Thread Joseph Tam
Alan McGinlay wrote: Can't believe I'm the only one with this error, googled it and there is nothing. Sorry to whine but I am getting desperate here! I googled "safe_mkstemp permission denied" and first hit is this thread dovecot.org/list/dovecot/2010-August/052319.html which mentio

Re: [Dovecot] dovecot-imapd eating 100% cpu every once in a while

2013-12-12 Thread Nikolaus Rath
Hi, I've applied the patch and will report back if the problem occurs again. Thanks! Best, Nikolaus Timo Sirainen writes: > Hmh. Can you try if this patch fixes it? > http://hg.dovecot.org/dovecot-2.2/rev/c0236d1c4a04 > > On 11.12.2013, at 19.10, Nikolaus Rath wrote: > >> Hello, >> >> *ping*