[Dovecot] Bug report

2009-11-11 Thread Bryan Seitz
One of my users is causing dovecot to exit with signal 6 and generate a core file. Seems to be in the mbox code. Dovecot configuration: # 1.2.4: /usr/local/etc/dovecot.conf # OS: FreeBSD 7.2-STABLE amd64 protocols: imap imaps pop3s listen(default): localhost:143 listen(imap): localhost:143 li

Re: [Dovecot] multiple connections per imap/pop3 process in 2.0

2009-11-11 Thread Timo Sirainen
On Wed, 2009-11-11 at 19:18 -0600, Mike Abbott wrote: > Nov 11 16:54:31 server dovecot[5432]: imap(pid 5573 user user2): Fatal: > setgid(2002) failed with euid=2001(user1), gid=2001, egid=2001: Operation not > permitted > Then both users are logged out. > > Is there another setting I have to cha

[Dovecot] read/connect anvil-auth-penalty failed: EOF/Connection refused

2009-11-11 Thread Pascal Volk
Since the changesets: http://hg.dovecot.org/dovecot-2.0/rev/9bec70f26637 http://hg.dovecot.org/dovecot-2.0/rev/75b48fa3aec4 there is another problem. A `dovecot stop`, while auth and auth -w are still running, logs: Nov 12 03:17:00 master: Warning: Killed with signal 15 (by pid=3

[Dovecot] Sluggish log process

2009-11-11 Thread Pascal Volk
After the first `dovecot reload` the initial log process will not terminate immediately. The master logs: Nov 11 23:30:04 master: Warning: SIGHUP received - reloading configuration Nov 11 23:31:04 master: Warning: Processes aren't dying after reload, sending SIGTERM. Nov 11 23:32:04 master: Warni

[Dovecot] multiple connections per imap/pop3 process in 2.0

2009-11-11 Thread Mike Abbott
When I set this in master.conf: service imap { service_count = 5 } I see this error when two imap users log in: Nov 11 16:54:16 server dovecot[5432]: imap-login: Login: user=, method=PLAIN, rip=10.100.0.84, lip=10.80.0.163, pid=5573 Nov 11 16:54:31 server dovecot[5432]: imap-login: L

[Dovecot] Mailbox format conversion with dsync [was: Re: v2.0.tip Panic: file index-storage.c: line 385 (index_storage_mailbox_open): assertion failed: (!box->opened)]

2009-11-11 Thread Pascal Volk
On 11/11/2009 06:47 PM Timo Sirainen wrote: > convert-tool is going away. dsync is the new way to do conversion. For > example: > > dsync -e 'dsync -r -O -o mail_location=maildir:~/Maildir' For the archive: I'm using virtual users, without system access. So I had to add '-u user' to both dsync co

[Dovecot] patch for 2.0.alpha3 crash

2009-11-11 Thread Mike Abbott
Dovecot-2.0.alpha3 crashes on startup for me on Mac OS X. It hits a segmentation fault at: 0 libdovecot.0.dylib 0x000100025e9f master_service_set_die_with_master + 10 1 libdovecot.0.dylib 0x000100025d93 master_service_settings_read + 1818 2 libdo

Re: [Dovecot] v2.0.tip master: service(auth): kill(pid, SIGINT) failed: Operation not permitted

2009-11-11 Thread Pascal Volk
On 11/11/2009 06:51 PM Timo Sirainen wrote: > On Wed, 2009-11-11 at 13:36 +0100, Marcus Rueckert wrote: >> you got any security hardening patches running on your machine? No, nothing like SELinux, AppAmor … > Oh, I had a thought: libcap. Maybe this helps: > http://hg.dovecot.org/dovecot-2.0/rev/4

Re: [Dovecot] v2.0.tip master: service(auth): kill(pid, SIGINT) failed: Operation not permitted

2009-11-11 Thread Timo Sirainen
On Wed, 2009-11-11 at 13:36 +0100, Marcus Rueckert wrote: > On 2009-11-11 09:59:55 +0100, Pascal Volk wrote: > > Nov 11 hh:mm:23 el-negro dovecot: master: service(auth): kill(10884, > > SIGINT) failed: Operation not permitted > > you got any security hardening patches running on your machine? Oh

Re: [Dovecot] v2.0.tip Panic: file index-storage.c: line 385 (index_storage_mailbox_open): assertion failed: (!box->opened)

2009-11-11 Thread Timo Sirainen
On Wed, 2009-11-11 at 10:31 +0100, Pascal Volk wrote: > Hi Timo, > > I've tried to convert the Maildir from the first user: > /usr/local/libexec/dovecot/convert-tool j@example.com \ convert-tool is going away. dsync is the new way to do conversion. For example: dsync -e 'dsync -r -O -o mail_

Re: [Dovecot] sieve files wont get parsed/compiled using cmusieve

2009-11-11 Thread Timo Sirainen
On Tue, 2009-11-10 at 19:55 +0100, Moritz Krinke wrote: > deliver gets called and is saving the message to INBOX. > Sieve isn't mentioned at all in the log - only the MANAGESIEVE Service My guess: You don't have protocol lda { mail_plugins=sieve } signature.asc Description: This is a digitally

Re: [Dovecot] Postfix and Dovecot SASL

2009-11-11 Thread Jerry
On Wed, 11 Nov 2009 17:49:22 +0100 Rene Bakkum replied: > r...@mail003:/etc/dovecot# postconf -n > alias_database = hash:/etc/aliases > alias_maps = hash:/etc/aliases > append_dot_mydomain = no > biff = no > broken_sasl_auth_clients = yes > config_directory = /etc/postfix > home_mailbox = Maildir

Re: [Dovecot] selective disable_plaintext_auth

2009-11-11 Thread Timo Sirainen
On Wed, 2009-11-11 at 02:16 -0300, Mariano Absatz wrote: > > #login_trusted_networks = > It seems my version is too old for this... I'm using the standard > ubuntu server package (1.1.11-0ubuntu4.1 > http://packages.ubuntu.com/jaunty-updates/dovecot-imapd), which seems > to be 1.1.11 plus security

Re: [Dovecot] Postfix and Dovecot SASL

2009-11-11 Thread Rene Bakkum
Hi Jerry, My bad, I thought I did postconf -n. I was already wondering why I had so many garbage in my output :) Hereby the right postfix config: r...@mail003:/etc/dovecot# postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no broken_sasl

Re: [Dovecot] Postfix and Dovecot SASL

2009-11-11 Thread Jerry
On Wed, 11 Nov 2009 15:45:33 +0100 Rene Bakkum replied: > Hello all, > > I am struggeling to get my Dovecot SASL to work within postfix. I > have used the configuration example listed on the main-site of > dovecot and it basically isn't giving me any success at all. I am > probably missing somet

[Dovecot] Postfix and Dovecot SASL

2009-11-11 Thread Rene Bakkum
Hello all, I am struggeling to get my Dovecot SASL to work within postfix. I have used the configuration example listed on the main-site of dovecot and it basically isn't giving me any success at all. I am probably missing something easy, but after spending a few days testing and walking through e

Re: [Dovecot] panic 1.2.7

2009-11-11 Thread Cor Bosman
Im seeing multiple users with this same panic now. Probably a few an hour (out of tens of thousands of users, so nothing overly dramatic), and a new panic as well: Nov 11 14:34:59 userimap20.xs4all.nl dovecot: IMAP(yy): Panic: file maildir-uidlist.c: line 403 (maildir_uidlist_records_

[Dovecot] panic 1.2.7

2009-11-11 Thread Cor Bosman
Im getting a panic from a specific user: Nov 11 13:53:29 userimap24.xs4all.nl dovecot: IMAP(xx): Panic: file maildir-uidlist.c: line 1242 (maildir_uidlist_records_drop_expunges): assertion failed: (recs[i]- >uid < rec->uid) Nov 11 13:53:29 userimap24.xs4all.nl dovecot: IMAP(xx): Raw

Re: [Dovecot] v2.0.tip master: service(auth): kill(pid, SIGINT) failed: Operation not permitted

2009-11-11 Thread Marcus Rueckert
On 2009-11-11 09:59:55 +0100, Pascal Volk wrote: > Nov 11 hh:mm:23 el-negro dovecot: master: service(auth): kill(10884, SIGINT) > failed: Operation not permitted you got any security hardening patches running on your machine? darix -- openSUSE - SUSE Linux is my linux

[Dovecot] v2.0.tip Panic: file index-storage.c: line 385 (index_storage_mailbox_open): assertion failed: (!box->opened)

2009-11-11 Thread Pascal Volk
Hi Timo, I've tried to convert the Maildir from the first user: /usr/local/libexec/dovecot/convert-tool j@example.com \ /srv/mail/1/70003/70008 \ maildir:/srv/mail/1/70003/70008/Maildir \ mdbox:/srv/mail/1/70003/70008/mdbox Panic: file index-storage.c: line 385 (index_storage_mailbox_open): as

Re: [Dovecot] System Users with IMAP

2009-11-11 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 11 Nov 2009, Shane Arnold wrote: Sorry if this is a dumb questions, but what methods are available for retrieving mail for a system user i.e www-data. Basically my setup is just a normal Dovecot-IMAP which is working fine for shell users, b

Re: [Dovecot] log pop3/imap logins

2009-11-11 Thread Chantal Rosmuller
I already solved the problem myself I had this: protocol pop3 { log_path = /var/log/mail.log pop3_uidl_format = %08Xu%08Xv } and changed it to protocol pop3 { pop3_uidl_format = %08Xu%08Xv } the log_path is defined outside the pop3 block. Chantal Rosmuller wrote: > Hi List, > > I would l

Re: [Dovecot] sieve files wont get parsed/compiled using cmusieve

2009-11-11 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 10 Nov 2009, Moritz Krinke wrote: Any more ideas? ;-) turn on mail_debug Nov 10 19:46:33 mail deliver(mor...@krinke.biz): maildir++: root=/var/vmail/krinke.biz/moritz, index=, control=, inbox=/var/vmail/krinke.biz/moritz Nov 10 19:46:33

[Dovecot] v2.0.tip master: service(auth): kill(pid, SIGINT) failed: Operation not permitted

2009-11-11 Thread Pascal Volk
Hi Timo, I've configured the user nobody for the the service auth. doveconf -n # 2.0.alpha3: /usr/local/etc/dovecot/dovecot.conf # OS: Linux 2.6.30-1-amd64 x86_64 Debian squeeze/sid … service auth { user = nobody } … The other processes are executed by root (or logged in user): root 8758

[Dovecot] log pop3/imap logins

2009-11-11 Thread Chantal Rosmuller
Hi List, I would like to log pop3/imap login events but I don't see them in the logfiles. What am I doing wrong? dovecot version: 1.1.11 dovecot -n: # 1.1.11: /etc/dovecot/dovecot.conf # OS: Linux 2.6.28-13-server i686 Ubuntu 9.04 nfs base_dir: /var/run/dovecot/ log_path: /var/log/mail.log log

Re: [Dovecot] System Users with IMAP

2009-11-11 Thread Joseba Torre
El Miércoles 11 Noviembre 2009 a las 08:53, Shane Arnold escribió: > Hi All, > > Sorry if this is a dumb questions, but what methods are available > for retrieving mail for a system user i.e www-data. Basically my > setup is just a normal Dovecot-IMAP which is working fine for > shell users, bu