Re: [Dovecot] Apple patches 6-8

2008-12-18 Thread Timo Sirainen
On Wed, 2008-12-17 at 09:35 -0600, Mike Abbott wrote: > Here are a few more patches. Still keeping it easy for now. Again > the basis for these patches is dovecot-1.1.7. > > Patch #6. Solve a cross-compilation endianness issue. Currently, > Dovecot assumes that the endianness of the build

Re: [Dovecot] Move mail in Maildir without IMAP

2008-12-18 Thread Timo Sirainen
On Fri, 2008-12-19 at 01:11 +, RW wrote: > I set-up some spam/ham learning folders where a crontab entry learns > the mail and them moves it do a different Maildir folder. > Unfortunately, since it has a different dovecot-keywords file, any imap > flags get changed to unknown-0, unknown-1 etc.

[Dovecot] Move mail in Maildir without IMAP

2008-12-18 Thread RW
I set-up some spam/ham learning folders where a crontab entry learns the mail and them moves it do a different Maildir folder. Unfortunately, since it has a different dovecot-keywords file, any imap flags get changed to unknown-0, unknown-1 etc. I tried the following, but it didn't work mv "${

Re: [Dovecot] More info from mail_log plugin

2008-12-18 Thread Timo Sirainen
On Thu, 2008-12-18 at 19:49 +0100, Bardur Haskor wrote: > Thanks a lot :-) it works just like I had hoped for with IMAP. > Unfortunatly, the mail_log plugin won't start with Pop3 anymore. I get > the following error in the log: > > Dec 18 18:24:49 bardur-desktop dovecot: POP3(bardur): > dlopen(/

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

2008-12-18 Thread Timo Sirainen
On Fri, 2008-12-19 at 02:53 +0300, Zohan wrote: > As we see, the first "if" block intercepts auth_request->passdb_password == > NULL condition, ignoring auth_request->no_password and making line 127 > (passdb_result = PASSDB_RESULT_OK) unreachable even if > auth_request->no_password is set. > Fo

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

2008-12-18 Thread Zohan
Timo, Seems that "nopassword" extra field (more exactly, auth_request->no_password condition) is completely ignored in passdb-ldap.c, due to (line 112 as of Dovecot 1.1.7): === if (auth_request->passdb_password == NULL) { auth_request_log_error(auth_request, "ldap",

Re: [Dovecot] OT: Looking for a robust IMAP client

2008-12-18 Thread Bjørn T Johansen
On Thu, 18 Dec 2008 22:11:25 + Mário Barbosa wrote: > On Mon, 15 Dec 2008 12:45:13 -0500 > Stewart Dean wrote: > > > Is there a simple robust IMAP client to replace Pine (which I *think* > > is no longer supported)? GUI or TTY session? > > > > I'm wondering if there is something we can te

Re: [Dovecot] OT: Looking for a robust IMAP client

2008-12-18 Thread Mário Barbosa
On Mon, 15 Dec 2008 12:45:13 -0500 Stewart Dean wrote: > Is there a simple robust IMAP client to replace Pine (which I *think* > is no longer supported)? GUI or TTY session? > > I'm wondering if there is something we can tell users to use when > Things Are Dire. GUI would be better since it re

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

2008-12-18 Thread Zohan
> Do you have a "nopassword" field in LDAP? If not, then it doesn't get > set. Perhaps what you want is: > > pass_attrs = uid=user, =nopassword=1 Timo, Thank you for your tip. The correct dovecot-ldap.conf line should look like: pass_attrs = uid=user, =password=, =nopassword=1 But even in this

Re: [Dovecot] More info from mail_log plugin

2008-12-18 Thread Bardur Haskor
Thanks a lot :-) it works just like I had hoped for with IMAP. Unfortunatly, the mail_log plugin won't start with Pop3 anymore. I get the following error in the log: Dec 18 18:24:49 bardur-desktop dovecot: POP3(bardur): dlopen(/usr/local/lib/dovecot/pop3/lib20_mail_log_plugin.so) failed: /us

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

2008-12-18 Thread Chris Wakelin
Chris Wakelin wrote: > Andrey Panin wrote: >>> I've applied the patch to Dovecot 1.1.7 (with minor change to >>> configure.in) on Solaris 10 sparc 64-bit but Dovecot fails on startup >>> >>> dovecot: Dec 18 12:45:47 Info: Dovecot v1.1.7 starting up >>> dovecot: Dec 18 12:45:47 Fatal: auth(default):

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

2008-12-18 Thread Chris Wakelin
Andrey Panin wrote: >> I've applied the patch to Dovecot 1.1.7 (with minor change to >> configure.in) on Solaris 10 sparc 64-bit but Dovecot fails on startup >> >> dovecot: Dec 18 12:45:47 Info: Dovecot v1.1.7 starting up >> dovecot: Dec 18 12:45:47 Fatal: auth(default): initgroups(root, 0) >> fail

Re: [Dovecot] SSL Certificate Authentication

2008-12-18 Thread Andrey Panin
On 353, 12 18, 2008 at 01:13:27PM +0100, Thomas Siebert wrote: > What you really want is the "AUTH EXTERNAL" authentication mechanism. This > would authenticate your users based on the used certificate. Unfortunately, > this mechanism is not supported in dovecot as well as in most clients. > Courie

Re: [Dovecot] Dovecot imap processes pinning CPU

2008-12-18 Thread nuitari-dovecot
That fixed it for me as well. You can get the patch from gitweb at (formatting is a bit nicer for patching): http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=711a49a07f84f914aac26a52143f6e7526571143 It is not fixed in 2.6.27.9, but will be fixed in 2.6.27.10 according

Re: [Dovecot] Dovecot imap processes pinning CPU

2008-12-18 Thread Patrick McLean
Steffen Weber wrote: > Just saw this thread on > This fix seems to work for me: > http://lkml.indiana.edu/hypermail/linux/kernel/0812.1/00998.html That fixed it for me as well. You can get the patch from gitweb at (formatting is a bit nicer for patching): http://git.kernel.org/?p=linux/kernel/git

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

2008-12-18 Thread Andrey Panin
On 353, 12 18, 2008 at 12:50:11PM +, Chris Wakelin wrote: > Andrey Panin wrote: > > On 349, 12 14, 2008 at 08:03:25AM +0200, Timo Sirainen wrote: > >> On Fri, 2008-11-21 at 15:30 +0300, Andrey Panin wrote: > >>> Hello all, > >>> > >>> this patch allows master process to drop more root privelege

Re: [Dovecot] Segfault on antispam plugin

2008-12-18 Thread Allan Cassaro
On Thu, Dec 18, 2008 at 11:00 AM, Steffen Kaiser wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Thu, 18 Dec 2008, Allan Cassaro wrote: > > BTW: Without a trash folder configured, deleting a mail from the SPAM folder > will cause a HAM learning. Yes! This is exactly what I want! :

Re: [Dovecot] Segfault on antispam plugin

2008-12-18 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 18 Dec 2008, Allan Cassaro wrote: BTW: Without a trash folder configured, deleting a mail from the SPAM folder will cause a HAM learning. Dec 18 10:30:13 curie imap: antispam: mail backend sendmail /usr/libexec/dovecot/blockthis.py Hmm,

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

2008-12-18 Thread Chris Wakelin
Andrey Panin wrote: > On 349, 12 14, 2008 at 08:03:25AM +0200, Timo Sirainen wrote: >> 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

Re: [Dovecot] Segfault on antispam plugin

2008-12-18 Thread Allan Cassaro
On Wed, Dec 17, 2008 at 4:45 PM, Allan Cassaro wrote: > On Thu, Dec 11, 2008 at 7:49 AM, Allan Cassaro > wrote: >> On Thu, Dec 11, 2008 at 7:17 AM, Steffen Kaiser >> wrote: >>> -BEGIN PGP SIGNED MESSAGE- >>> Hash: SHA1 >>> >>> On Thu, 11 Dec 2008, Allan Cassaro wrote: >>> >>> On Thu, 11

Re: [Dovecot] SSL Certificate Authentication

2008-12-18 Thread Thomas Siebert
What you really want is the "AUTH EXTERNAL" authentication mechanism. This would authenticate your users based on the used certificate. Unfortunately, this mechanism is not supported in dovecot as well as in most clients. Courier supports it since some months if you really need it. There's no way

Re: [Dovecot] SSL Certificate Authentication

2008-12-18 Thread Charles Marcus
On 12/17/2008, Anthony Davies (anthony.dav...@phoenixphire.org) wrote: > Sorry, my statement wasnt clear. I want/have to be prompted for the > passphrase on my certificate, its the password to check against my > system authentication mechanism I want to disable, ie /etc/shadow. I > want certificate