Re: [Dovecot] Source patches from Apple

2008-12-13 Thread Ralf Hildebrandt
* Dave McGuire mcgu...@neurotica.com: You don't have to, you could simply nullroute the source IPs :) By having fail2ban manipulate the routing table a-la route add etc? route add *host* reject yes, something like that. -- Ralf Hildebrandt (ralf.hildebra...@charite.de)

Re: [Dovecot] Source patches from Apple

2008-12-13 Thread Dave McGuire
On Dec 13, 2008, at 3:13 AM, Ralf Hildebrandt wrote: You don't have to, you could simply nullroute the source IPs :) By having fail2ban manipulate the routing table a-la route add etc? route add *host* reject yes, something like that. Understood. I sorta like this idea. I will give

Re: [Dovecot] assertion failed in 1.1.7 file mbox-sync.c: line 1305 (mbox_sync_handle_eof_updates)

2008-12-13 Thread Diego Liziero
On Thu, Dec 4, 2008 at 8:26 AM, Diego Liziero diego...@gmail.com wrote: Dovecot 1.1.7 is running so smoothly that I gave up checking its log files daily. :) I've just had a look, and among the usual IMAP(username): FETCH for mailbox Sent UID xx got too little data: xx vs xx messages (that

Re: [Dovecot] Autocreate plugin for 1.1 - not compile in FreeBSD (gcc problem?) [SOLVED]

2008-12-13 Thread Proskurin Kirill
Heh - I solve it. To make it compile in FreeBSD you need to: cd /usr/ports/mail/dovecot make extract mkdir work/dovecot-1.1.*/sys locate sysmacros.h cp /your/path/to/sysmacros.h work/dovecot-1.1.*/sys/ patch it as sayd at wiki. And then all work well. I update wiki now. Hello all. I try to

Re: [Dovecot] unkillable imap process(es) with high CPU-usage

2008-12-13 Thread Arno Wald
Timo Sirainen wrote: Or does it make more sense to try another kernel first? I guess that could also help. I started testing this with another kernel (2.6.26-6.slh.1-sidux-686). Until now (the last 15 hours) no such failing imap process did show up. So I guess it happens with 2.6.27

Re: [Dovecot] unkillable imap process(es) with high CPU-usage

2008-12-13 Thread Timo Sirainen
On Sat, 2008-12-13 at 11:33 +0100, Arno Wald wrote: Timo Sirainen wrote: Or does it make more sense to try another kernel first? I guess that could also help. I started testing this with another kernel (2.6.26-6.slh.1-sidux-686). Until now (the last 15 hours) no such failing imap

Re: [Dovecot] Autocreate plugin for 1.1 - not compile in FreeBSD (gcc problem?) [SOLVED]

2008-12-13 Thread Timo Sirainen
Yarema, do you have any thoughts on this? On Sat, 2008-12-13 at 13:54 +0300, Proskurin Kirill wrote: I'd rather say this is a bug in the FreeBSD ports. If you compiled Dovecot directly from sources you wouldn't have had this problem. Well may be. But: ..

Re: [Dovecot] fine tuning for 10 users?

2008-12-13 Thread Timo Sirainen
On Wed, 2008-12-10 at 21:48 -0800, badeguruji wrote: Hello, How can i fine tune dovecot for less then 10 users? or is there no need? http://wiki.dovecot.org/PerformanceTuning lists some tuning settings. But the defaults should work fine with small installations. Also, is there any smtp

Re: [Dovecot] dovecot 1.2 Alpha4 shared folders

2008-12-13 Thread Timo Sirainen
On Wed, 2008-12-10 at 12:56 +0100, Diederick van Dijk wrote: namespace: type: shared separator: / prefix: Shared/%%u/ location: maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u list: yes subscriptions: yes Looks ok. auth default: passdb: driver: pam userdb:

Re: [Dovecot] unkillable imap process(es) with high CPU-usage

2008-12-13 Thread Cor Bosman
The other guy who also had a problem was using 2.6.27. If the 3rd guy also replies that he's using 2.6.27 then that's pretty clearly the problem. Might be worth asking about in Linux kernel mailing list. We've had something similar happen on 2.6.24. Over time processes would take more and more

Re: [Dovecot] assertion failed

2008-12-13 Thread Timo Sirainen
On Wed, 2008-12-03 at 14:14 +0100, Antonio Casado Rodríguez wrote: Hi all, I have seen this in log: dovecot: Dec 03 06:12:57 Error: IMAP(maurirrr): file mail-index-view-sync.c: line 666 (mail_index_view_sync_end): asser tion failed: (view-log_file_offset = view-map-hdr.log_file_int_offset)

Re: [Dovecot] unkillable imap process(es) with high CPU-usage

2008-12-13 Thread Arno Wald
Cor Bosman wrote: It seemed to be NFS related in our case. Is your Maildir directory mounted via NFS? I am using NFS-mounts, but not in connection with dovecot. Greetings, Arno

Re: [Dovecot] Possible bug in Maildir++ quota?

2008-12-13 Thread Timo Sirainen
On Tue, 2008-12-09 at 17:49 +0100, Ulrich Zehl wrote: While researching a possible bug in our custom-made Maildir++ expiration script, I found the following in src/plugins/quota/quota-maildir.c. | static const char * | maildir_list_next(struct maildir_list_context *ctx, time_t *mtime_r) |

Re: [Dovecot] Source patches from Apple

2008-12-13 Thread Charles Marcus
On 12/13/2008, Dave McGuire (mcgu...@neurotica.com) wrote: Hoards of little prepubescent miscreants won't stop hammering on my pop3 port and it's driving me bananas. Although I'm not necessarily arguing against such a feature being integrated directly into dovecot, you can fix you're problem

Re: [Dovecot] Source patches from Apple

2008-12-13 Thread Charles Marcus
On 12/13/2008, Dave McGuire (mcgu...@neurotica.com) wrote: and I'm not interested in running a firewall on my mail server. Wow.. I can't imagine NOT running a mail server without a firewall... Different strokes for different folks I guess... :) -- Best regards, Charles

Re: [Dovecot] Source patches from Apple

2008-12-13 Thread mouss
Charles Marcus a écrit : On 12/13/2008, Dave McGuire (mcgu...@neurotica.com) wrote: and I'm not interested in running a firewall on my mail server. Wow.. I can't imagine NOT running a mail server without a firewall... Different strokes for different folks I guess... :) He said _ON_ my

Re: [Dovecot] Dovecot imap processes pinning CPU

2008-12-13 Thread David Rosenstrauch
On Sat, December 13, 2008 12:28 am, Timo Sirainen wrote: On Dec 13, 2008, at 3:40 AM, David Rosenstrauch wrote: In recent days, dovecot's imap processes keep getting stuck. Each time I check my server (running dovecot 1.1.7) there's a bunch of imap processes (sometimes 2 of them, sometimes

Re: [Dovecot] unkillable imap process(es) with high CPU-usage

2008-12-13 Thread David Rosenstrauch
On Sat, December 13, 2008 5:43 am, Timo Sirainen wrote: The other guy who also had a problem was using 2.6.27. If the 3rd guy also replies that he's using 2.6.27 then that's pretty clearly the problem. Might be worth asking about in Linux kernel mailing list. Has anyone reported this over on

Re: [Dovecot] unkillable imap process(es) with high CPU-usage

2008-12-13 Thread Timo Sirainen
On Sat, 2008-12-13 at 09:23 -0500, David Rosenstrauch wrote: On Sat, December 13, 2008 5:43 am, Timo Sirainen wrote: The other guy who also had a problem was using 2.6.27. If the 3rd guy also replies that he's using 2.6.27 then that's pretty clearly the problem. Might be worth asking about

Re: [Dovecot] dovecot 1.2 Alpha4 shared folders

2008-12-13 Thread Timo Sirainen
On Sat, 2008-12-13 at 15:17 +0100, Diederick van Dijk wrote: It doesn't show anything until there are shared mailboxes. Are there any? How do I setup these, symlinks ? Or is it in the acl ? What do you need shared mailboxes for? Perhaps you don't really need user-shared mailboxes, but

Re: [Dovecot] Dovecot imap processes pinning CPU

2008-12-13 Thread David Rosenstrauch
David Rosenstrauch wrote: Wow. Yeah, *some*thing's changed recently to cause this. If I had to guess, I'd say it's a recent Thunderbird upgrade that's triggering it, as it's been 2-3 weeks since my last dovecot upgrade. Some other interesting data points: * This problem seems to happen when

Re: [Dovecot] Source patches from Apple

2008-12-13 Thread Charles Marcus
On 12/13/2008, mouss (mo...@netoyen.net) wrote: Wow.. I can't imagine NOT running a mail server without a firewall... Different strokes for different folks I guess... :) He said _ON_ my mail server. he didn't say that he doesn't have a firewall between the mail server and the jungle

Re: [Dovecot] Source patches from Apple

2008-12-13 Thread Bruce Bodger
On Dec 13, 2008, at 9:07 AM, Charles Marcus wrote: On 12/13/2008, mouss (mo...@netoyen.net) wrote: Wow.. I can't imagine NOT running a mail server without a firewall... Different strokes for different folks I guess... :) He said _ON_ my mail server. he didn't say that he doesn't have a

[Dovecot] another assertion failure in dovecot 1.1.7 mbox-sync-rewrite: (mails[idx].from_offset == start_offset)

2008-12-13 Thread Diego Liziero
Sorry, this time I've no core file, (I forgot to set ulimit -c unlimited before starting dovecot) Regards, Diego. --- dovecot: Dec 09 08:26:52 Panic: IMAP(user): file mbox-sync-rewrite.c: line 590 (mbox_sync_rewrite): assertion failed: (mails[idx].from_offset == start_offset) dovecot: Dec 09

Re: [Dovecot] Missing return-path on vacation messages

2008-12-13 Thread Stephen Vaughan
I was talking about vacation auto-reply messages missing the return path On Sun, Dec 14, 2008 at 12:41 AM, Timo Sirainen t...@iki.fi wrote: On Wed, 2008-12-10 at 14:09 +1100, Stephen Vaughan wrote: I can see this has been discussed previously, was just wondering if it's been fixed in

Re: [Dovecot] another assertion failure in dovecot 1.1.7 mbox-sync-rewrite: (mails[idx].from_offset == start_offset)

2008-12-13 Thread Timo Sirainen
On Sat, 2008-12-13 at 16:45 +0100, Diego Liziero wrote: Sorry, this time I've no core file, (I forgot to set ulimit -c unlimited before starting dovecot) I did several mbox fixes today. Wonder if they could have fixed also some of these other mbox bugs you've reported? signature.asc

Re: [Dovecot] Missing return-path on vacation messages

2008-12-13 Thread Timo Sirainen
Pretty much the same thing, just replace rejection with vacation in my reply. Why do you want them to have the return path? On Sun, 2008-12-14 at 03:15 +1100, Stephen Vaughan wrote: I was talking about vacation auto-reply messages missing the return path On Sun, Dec 14, 2008 at 12:41 AM,

Re: [Dovecot] Missing return-path on vacation messages

2008-12-13 Thread Stephen Vaughan
The vacation auto reply is being rejected by spamassassin, for bad_MIME On Sun, Dec 14, 2008 at 3:17 AM, Timo Sirainen t...@iki.fi wrote: Pretty much the same thing, just replace rejection with vacation in my reply. Why do you want them to have the return path? On Sun, 2008-12-14 at 03:15

Re: [Dovecot] Missing return-path on vacation messages

2008-12-13 Thread Timo Sirainen
Are you sure it's because of a missing return path? Sounds more like the message MIME body is broken. I've never checked if it is.. On Sun, 2008-12-14 at 03:19 +1100, Stephen Vaughan wrote: The vacation auto reply is being rejected by spamassassin, for bad_MIME On Sun, Dec 14, 2008 at 3:17

Re: [Dovecot] Source patches from Apple

2008-12-13 Thread Dave McGuire
On Dec 13, 2008, at 10:07 AM, Charles Marcus wrote: Wow.. I can't imagine NOT running a mail server without a firewall... Different strokes for different folks I guess... :) He said _ON_ my mail server. he didn't say that he doesn't have a firewall between the mail server and the jungle

Re: [Dovecot] WAS Apple - of networks and stuff

2008-12-13 Thread Rick Romero
My network security is handled elsewhere. I too believe in layered security, but my desire to use the right tool for the job is much stronger. My mail server is busy serving mail; my network security is handled by equipment built and optimized for that job. It's not like it costs

[Dovecot] Firewalls are [essentially] free - WAS: Re: Source patches from Apple

2008-12-13 Thread Charles Marcus
On 12/13/2008, Dave McGuire (mcgu...@neurotica.com) wrote: My network security is handled elsewhere. I too believe in layered security, but my desire to use the right tool for the job is much stronger. My mail server is busy serving mail; my network security is handled by equipment built and

Re: [Dovecot] Dovecot imap processes pinning CPU

2008-12-13 Thread Darren Pilgrim
David Rosenstrauch wrote: On Sat, December 13, 2008 12:28 am, Timo Sirainen wrote: On Dec 13, 2008, at 3:40 AM, David Rosenstrauch wrote: In recent days, dovecot's imap processes keep getting stuck. Each time I check my server (running dovecot 1.1.7) there's a bunch of imap processes

Re: [Dovecot] another assertion failure in dovecot 1.1.7 mbox-sync-rewrite: (mails[idx].from_offset == start_offset)

2008-12-13 Thread Diego Liziero
On Sat, Dec 13, 2008 at 5:16 PM, Timo Sirainen t...@iki.fi wrote: I did several mbox fixes today. Wonder if they could have fixed also some of these other mbox bugs you've reported? I'm stress-testing current 1.1.x mercurial head with imaptest and with my account. So far everything seems

Re: [Dovecot] Firewalls are [essentially] free - WAS: Re: Source patches from Apple

2008-12-13 Thread Dave McGuire
On Dec 13, 2008, at 12:57 PM, Charles Marcus wrote: My network security is handled elsewhere. I too believe in layered security, but my desire to use the right tool for the job is much stronger. My mail server is busy serving mail; my network security is handled by equipment built and

Re: [Dovecot] Dovecot imap processes pinning CPU

2008-12-13 Thread nuitari-dovecot
Wow. Yeah, *some*thing's changed recently to cause this. If I had to guess, I'd say it's a recent Thunderbird upgrade that's triggering it, as it's been 2-3 weeks since my last dovecot upgrade. Some other interesting data points: * This problem seems to happen when I use Thunderbird (both

Re: [Dovecot] Firewalls are [essentially] free - WAS: Re: Source patches from Apple

2008-12-13 Thread nuitari-dovecot
Your argument is bogus - see above... again, a basic, properly configured firewall has negligible impact on pretty much any systems resources, even ancient ones... So, yeah, enabling a firewall on a mail server is essentially free, whether talking impact on system resources, or dollar cost.

Re: [Dovecot] Autocreate plugin for 1.1 - not compile in FreeBSD (gcc problem?) [SOLVED]

2008-12-13 Thread Yarema
Timo Sirainen wrote: Yarema, do you have any thoughts on this? On Sat, 2008-12-13 at 13:54 +0300, Proskurin Kirill wrote: I'd rather say this is a bug in the FreeBSD ports. If you compiled Dovecot directly from sources you wouldn't have had this problem. Well may be. But: ..

Re: [Dovecot] unkillable imap process(es) with high CPU-usage

2008-12-13 Thread Arno Wald
David Rosenstrauch wrote: Has anyone reported this over on LKML yet? Or filed a bug? I did not yet. First I would like to test my self compiled dovecot without inotify against 2.6.27. Second I do not know where and how to report kernel issues. (Also I am a little bit afraid of the whole

Re: [Dovecot] can deliver filter through spamc?

2008-12-13 Thread Timo Sirainen
On Sat, 2008-12-13 at 15:04 -0500, Neal Becker wrote: I'm using maildrop to filter mail like: xfilter /usr/bin/spamc xfilter /usr/bin/bogofilter -ep I want to change to deliver (so I can use sieve) but can deliver do this? deliver can't execute external programs. Typically you'd run these

Re: [Dovecot] assert with zlib and (maybe) fts

2008-12-13 Thread Timo Sirainen
On Wed, 2008-12-10 at 23:55 +0100, Matthias Rieber wrote: Hi, I compressed a folder with the following script: ... for i in *.*.*; do file $i | grep bzip2 /dev/null 21 if [ $? -ne 0 ]; then echo Compress: $i cat $i | bzip2 -9

Re: [Dovecot] trash plugin

2008-12-13 Thread Timo Sirainen
On Thu, 2008-12-04 at 16:17 +0200, Ivars Strazdiņš wrote: Hi there, are there more trash plugin related updates since v1.1.4 ? I'm trying to use the plugin with dovecot+mysql according to documentation and get frequent segfaults Dec 4 13:58:21 mail kernel: [1605631.688946] imap[16662]:

Re: [Dovecot] Broken sorting(?)

2008-12-13 Thread Timo Sirainen
On Tue, 2008-12-02 at 17:40 -0700, Michael M. Slusarz wrote: Somewhere between revision f5554ae61732 (12 days ago) and the release of 1.2a4 (f53952ac4285; 9 days ago) sorting appears to have broken. I fixed it yesterday. signature.asc Description: This is a digitally signed message part

Re: [Dovecot] qmail and LDA: passdb didn't return userdb entries

2008-12-13 Thread Timo Sirainen
On Wed, 2008-12-03 at 09:33 +0100, Alessio Cecchi wrote: Il Tuesday 02 December 2008 18:14:23 Timo Sirainen ha scritto: On Tue, 2008-12-02 at 15:35 +0100, Alessio Cecchi wrote: passdb: driver: checkpassword args: /home/vpopmail/bin/vchkpw .. userdb static { args = uid=89

Re: [Dovecot] Autocreate plugin for 1.1 - not compile in FreeBSD (gcc problem?) [SOLVED]

2008-12-13 Thread Timo Sirainen
On Sun, 2008-12-14 at 00:41 +0300, Proskurin Kirill wrote: Hm. I update ports and try it again: mx# cd /usr/ports/mail/dovecot mx# make clean === Cleaning for dovecot-1.1.7_1 mx# make extract === WARNING: Vulnerability database out of date, checking anyway === Found saved configuration

Re: [Dovecot] Autocreate plugin for 1.1 - not compile in FreeBSD (gcc problem?) [SOLVED]

2008-12-13 Thread Timo Sirainen
On Sun, 2008-12-14 at 04:41 +0200, Timo Sirainen wrote: Oh. You haven't run configure at this point, so it's using config.h that's distributed in the dovecot tarball and reflects my machine's configuration. That won't work. I'm surprised it worked even this well. I wonder why the config.h is

Re: [Dovecot] proxy and master user

2008-12-13 Thread Timo Sirainen
On Fri, 2008-12-05 at 17:43 +0100, Matthieu Herrb wrote: Hi For some application we need a master user on our IMAP servers. We use dovecot 1.1.7 in proxy mode, with proxy_maybe (some mailboxes are on the proxy itself, others are on remote servers, also running dovecot). But the proxy

Re: [Dovecot] nopassword extra field useless with LDAP passdb

2008-12-13 Thread Timo Sirainen
On Tue, 2008-12-09 at 02:44 +0300, Zohan wrote: Dec 9 02:11:15 localhost dovecot: auth(default): ldap(user1,127.0.0.1): pass search: base=ou=People,dc=example,dc=com scope=subtree filter=((objectClass=inetOrgPerson)(uid=user1)) fields=uid,nopassword Do you have a nopassword field in LDAP?

Re: [Dovecot] Imap logging and inetd

2008-12-13 Thread Timo Sirainen
On Tue, 2008-12-02 at 13:48 -0500, Jonathan Siegle wrote: Jonathan Siegle said the following on 12/2/08 7:16 AM: When I ran /usr/local/sbin/dovecot, the variable login_log_format_elements from dovecot.conf was honored. Now when I run /usr/local/libexec/dovecot/imap-login from

Re: [Dovecot] Panic in 1.1.6 file ioloop.c: line 206

2008-12-13 Thread Timo Sirainen
On Mon, 2008-12-01 at 14:15 +0100, Laurent Blume wrote: Timo Sirainen a écrit : I can't really think of why this would have happened. You wouldn't happen to have a core dump available from this? That would be very helpful in figuring out why this happened. I have, here are the pstacks:

Re: [Dovecot] Imap logging and inetd

2008-12-13 Thread Jonathan Siegle
On Dec 13, 2008, at 10:54 PM, Timo Sirainen wrote: On Tue, 2008-12-02 at 13:48 -0500, Jonathan Siegle wrote: Jonathan Siegle said the following on 12/2/08 7:16 AM: When I ran /usr/local/sbin/dovecot, the variable login_log_format_elements from dovecot.conf was honored. Now when I

Re: [Dovecot] Imap logging and inetd

2008-12-13 Thread Timo Sirainen
On Sat, 2008-12-13 at 23:06 -0500, Jonathan Siegle wrote: On Dec 13, 2008, at 10:54 PM, Timo Sirainen wrote: On Tue, 2008-12-02 at 13:48 -0500, Jonathan Siegle wrote: Jonathan Siegle said the following on 12/2/08 7:16 AM: When I ran /usr/local/sbin/dovecot, the variable

Re: [Dovecot] dovecot 1.1.3 + antispam plugin issues

2008-12-13 Thread Timo Sirainen
On Mon, 2008-11-24 at 00:10 +0100, Marcin Rzepecki wrote: Hello, i have following problems using dovecot-antispam plugin (Dovecot 1.1.3, FreeBSD 8.0-Current, dovecot-antispam 1.0/1.1) dovecot-antispam compiled using dspam-exec/mailtrain, with/wo debugging (i've tried all possibilities)

Re: [Dovecot] Master user with user=?

2008-12-13 Thread Timo Sirainen
On Thu, 2008-11-20 at 15:42 -0500, Alan Ferrency wrote: Hello, In our configuration, we are using a passdb passwd-file, with user= directives in each username, and a separate userdb passwd-file which contains the target usernames for the user= directives. This works fine, for normal logins

Re: [Dovecot] [PATCH] drop root privileges on solaris, request for testing

2008-12-13 Thread Timo Sirainen
On Fri, 2008-11-21 at 15:30 +0300, Andrey Panin wrote: Hello all, this patch allows master process to drop more root priveleges under Solaris. My limited testing shows that code works, but I'm not sure that defined privilege set is permissive enough for dovecot. Unfortunately I have no