Re: [Dovecot] more than one ldap database.

2008-04-18 Thread Mauro Sanna
Il giorno gio, 17/04/2008 alle 07.58 -0500, Jack McKinney ha scritto: > While I am still having trouble getting LDAP to work with dovecot, I > have successfully solved this particular problem. > My users login with their emails. The correct search base for > "[EMAIL PROTECTED]" is "ou

[Dovecot] Sieve script executed, but nothing happens

2008-04-18 Thread Wouter Amsterdam
Hi all, I think I have almost solved my dovecot-deliver lookup problems, but now sieve still fails to work. From deliver's logfile I can tell the user's homedir is found and the sieve script is executed, but not as expected. My sieve testscript is very basic: /home/virtual/user.dovecot.siev

Re: [Dovecot] Sieve script executed, but nothing happens

2008-04-18 Thread Asheesh Laroia
On Fri, 18 Apr 2008, Wouter Amsterdam wrote: if address :is "to" "user@ mydomain.nl" { Is this space intentional? "usermydomain.nl"? -- Asheesh. -- "In the long run, every program becomes rococo, and then rubble." -- Alan Perlis

Re: [Dovecot] more than one ldap database.

2008-04-18 Thread Angel Marin
Mauro Sanna wrote: Il giorno gio, 17/04/2008 alle 07.58 -0500, Jack McKinney ha scritto: While I am still having trouble getting LDAP to work with dovecot, I have successfully solved this particular problem. My users login with their emails. The correct search base for "[EMAIL P

Re: [Dovecot] Does dovecot work with OpenLDAP? (was Re: Please help: LDAP configuration _almost_ works.)

2008-04-18 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 17 Apr 2008, Gavin Henry wrote: So why is dovecot searching for uid? I am not asking it to; in fact, my pass_attrs field is empty. Im' no tsure, I was hoping someone else would know why. Is it a hard coded default? Also,

Re: [Dovecot] Sieve script executed, but nothing happens

2008-04-18 Thread Wouter Amsterdam
No, that's a typo. Wouter -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Asheesh Laroia Verzonden: vrijdag 18 april 2008 9:24 Aan: Wouter Amsterdam CC: dovecot@dovecot.org Onderwerp: Re: [Dovecot] Sieve script executed, but nothing happens On Fri, 18 Apr

Re: [Dovecot] Minor namespace issue - inconsistent default value

2008-04-18 Thread Timo Sirainen
On Tue, 2008-04-15 at 19:59 -0600, Joel Johnson wrote: > I burned some time yesterday over a documentation inconsistency. > > The dovecot-example.conf file shipped with dovecot (checked with 1.1rc4 and > the April 3 nightly), includes an indication at the top that the commented > values listed are

Re: [Dovecot] remove mails from shared folders

2008-04-18 Thread Timo Sirainen
On Tue, 2008-04-15 at 22:00 +0200, Patrick Fischer wrote: > The problem is that, if a user move an email out of the email pool, the > other users still can see the mail in the pool. > It takes a long time to remove the mail from the pool for every user. > Move TO the pool works immediatley. > The

Re: [Dovecot] dovecot and postfix virtual mailbox domains, system users

2008-04-18 Thread Timo Sirainen
On Fri, 2008-04-11 at 23:07 -0400, Dave wrote: > mail_location: maildir:/home/vmail/%d/%u .. > Apr 11 23:48:17 s15298471 dovecot: pop3-login: Login: user=, > method=PLAIN, rip=66.139.186.37, lip=74.208.64.129, TLS > Apr 11 23:48:17 s15298471 dovecot: POP3(user): stat(/home/vmail//user/cur) > fail

Re: [Dovecot] Single quote email addresses

2008-04-18 Thread Timo Sirainen
On Fri, 2008-04-11 at 11:06 +0100, Guy wrote: > Hi, > > I've just been told that I need to make our mail server cater to > accounts with single quotes. > Has anyone set dovecot up to do this or know of any > documentation/howto on it, assuming it's possible at all. Shouldn't be a problem at least

Re: [Dovecot] Dovecot sending OK while idling

2008-04-18 Thread Timo Sirainen
On Fri, 2008-04-11 at 00:17 -0700, John Temples wrote: > When an IDLE command is active, Dovecot sends an OK every two minutes. > Is it possible to disable this? I'm trying to eliminate unnecessary > traffic on a link that's charged by the kilobyte. It's easy to disable by modifying the sources,

Re: [Dovecot] 1.0.5: many pop3-login processes?

2008-04-18 Thread Timo Sirainen
On Mon, 2007-10-29 at 12:18 -0400, Alan Ferrency wrote: > I expect this is the reality of the situation: some port-scanner or > something somewhere is occasionally hitting the server enough to > increase the pop3-login process count, but nothing ever uses them > after that. > > The processes aren

Re: [Dovecot] A large number of imap processes

2008-04-18 Thread Timo Sirainen
On Mon, 2008-04-07 at 15:48 +0200, Claude Frantz wrote: > My system is very slow, the Maildir is mounted via NFS, the index is on > a local disk system. > > In the config, there is: > > max_mail_processes = 3000 > login_processes_count = 6 > login_max_processes_count = 1500 > > I can see a larg

Re: [Dovecot] Dovecot LDA / Deliver question

2008-04-18 Thread Timo Sirainen
On Tue, 2008-04-15 at 12:58 -0500, Stacy Trippe wrote: > I am not sure where to go to troubleshoot Dovecot LDA...and how to turn > up/down the verbosity of debug messages (albeit now I am logging the deliver > info to /var/log/dovecot-deliver.log). mail_debug=yes gives more information. > dovecot

Re: [Dovecot] Master user and missing folders

2008-04-18 Thread Timo Sirainen
On Sat, 2008-04-12 at 17:28 +0200, Anders wrote: > Hello again. > > I am trying to use a master user. The login works. However, a LIST > command gives me only the INBOX. Is this to be expected? When logging in > normally, I do get the full list of folders. Your configuration is somehow wrong th

Re: [Dovecot] dovecot + qmail - deliver not working...

2008-04-18 Thread Timo Sirainen
On Fri, 2008-04-11 at 06:56 -0600, Peter Van den Wildenbergh wrote: > Can't_open_log_file_/var/log/dovecot.log:_Permission_denied/ > status: local 0/10 remote 0/20 > status: exiting > > permission on /var/log/dovecot.log = > -rw-r--r-- 1 vmail vmail 728 2008-04-10 21:36 /var/log/dovecot.log I gue

Re: [Dovecot] Cross Compiling Dovecot?

2008-04-18 Thread Timo Sirainen
On Tue, 2008-04-15 at 21:38 +0200, [EMAIL PROTECTED] wrote: > Are there any plans to support cross compiling? Or > have any of you succeed with cross compiling > Dovecot? Not really a priority for me, but someone apparently has managed to do it: http://www.dovecot.org/list/dovecot/2006-December

Re: [Dovecot] Feature request

2008-04-18 Thread Timo Sirainen
On Fri, 2008-03-28 at 11:40 +0100, Ruud Boon wrote: > Hi! > > I hope I'm using the right mailing for a feature request. I'm using > dovecot on my server for a year now and I'm very happy > with it. Its extremely stable and fast. > Ok what is my situation why I'm asking a feature.. > > Users are

Re: [Dovecot] How to log login errors?

2008-04-18 Thread Timo Sirainen
On Fri, 2008-04-11 at 09:19 +0200, Sven Schmidt wrote: > Hi! > I used "auth_debug=yes" and "auth_debug_passwords=yes". But I only see > connects and disconnects: > Apr 11 09:17:43 dovecot: POP3([EMAIL PROTECTED]): Disconnected: Logged out > top=0/0, retr=0/0, del=0/0, size=0 That means the clien

Re: [Dovecot] postfix, dovecot-lda, sieve & smartsieve not working on 1.1-rc4

2008-04-18 Thread Timo Sirainen
On Fri, 2008-04-04 at 16:52 +0200, [EMAIL PROTECTED] wrote: > Seems there is a bug in 1.1-rc4 in regards to sieve/managesieve, this > problem goes away if I downgrade to 1.0.13. Since it's not logging "Using sieve path" it most likely means it doesn't find Sieve script. Could you patch your Sieve

[Dovecot] Feature Request - starting dovecot, config file behavior

2008-04-18 Thread Charles Marcus
Hey Timo, I was wondering how much trouble it would be to again emulate the way postfix does something - in this case, the way it reads its config file when starting up. Current behavior: Postfix: If postfix encounters the same setting defined more than once, the last one wins. Dovecot: I

Re: [Dovecot] authentication troubles

2008-04-18 Thread Timo Sirainen
On Sun, 2008-03-30 at 17:20 +0200, Albert Dengg wrote: > hi > > i have a strange problem with my dovecot installtion: > i configured it to accept digest-md5 authentication only but for some > reason mailclients (i tried mutt and thunderbird so far) want to log > with PLAIN (which fails of course).

Re: [Dovecot] Mixing LDAP and static

2008-04-18 Thread k bah
That didn't work for me: user_attrs = =home=/var/dovecot-test/home/%n,uid=user (at /etc/dovecot/dovecot-ldap.conf) ( /etc/dovecot/dovecot.conf: mail_location = mbox:/var/dovecot-test/data/%n~%d:INBOX=/var/dovecot-test/%n~%d:INDEX=/var/dovecot-test-no-quotas/index/%n~%d ) neither: user_att

Re: [Dovecot] Mixing LDAP and static

2008-04-18 Thread Timo Sirainen
On Fri, 2008-04-18 at 19:10 +0800, k bah wrote: > That didn't work for me: .. > using dovecot-1.0.5-6 on OpenSuSE 10.3. It works only with v1.1. I thought you were using it, because: > gosaMailQuota=quota_rule=*:bytes=%$M %$ works also only in v1.1.. signature.asc Description: This is a digi

Re: [Dovecot] Feature Request - starting dovecot, config file behavior

2008-04-18 Thread Timo Sirainen
On Fri, 2008-04-18 at 06:43 -0400, Charles Marcus wrote: > Postfix: > If postfix encounters the same setting defined more than once, the last > one wins. This is how Dovecot also works, just tested.. > Dovecot: > If dovecot encounters the same setting defined more than once it gives > an error

Re: [Dovecot] Mixing LDAP and static

2008-04-18 Thread Lauro Costa G. Borges
Citando Timo Sirainen <[EMAIL PROTECTED]>: On Fri, 2008-04-18 at 19:10 +0800, k bah wrote: That didn't work for me: .. using dovecot-1.0.5-6 on OpenSuSE 10.3. It works only with v1.1. I thought you were using it, because: gosaMailQuota=quota_rule=*:bytes=%$M %$ works also only in v1.1.

Re: [Dovecot] Feature Request - starting dovecot, config file behavior

2008-04-18 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Apr 18, 2008 at 06:43:37AM -0400, Charles Marcus wrote: > Hey Timo, > > I was wondering how much trouble it would be to again emulate the way > postfix does something [...] [last config item should win] FWIW I was just bitten by something l

Re: [Dovecot] A large number of imap processes

2008-04-18 Thread Claude Frantz
Timo Sirainen wrote: I can see a large number of processes named "imap", some users have more than 12 such processes running. Is such a large number per user a "normal" behaviour ? It's probably normal. Each connection is handled by a separate imap process currently, and many clients can crea

Re: [Dovecot] Does dovecot work with OpenLDAP? (was Re: Please help: LDAP configuration _almost_ works.)

2008-04-18 Thread Jack McKinney
On Fri, 2008-04-18 at 10:10 +0200, Steffen Kaiser wrote: > I got the impression that this is problem, see the Doc: > http://wiki.dovecot.org/AuthDatabase/LDAP > > pass_attrs = uid=user,userPassword=password > > This is the default, please add "mail=user" to your pass_attrs and re-add > auth_b

Re: [Dovecot] Does dovecot work with OpenLDAP? (was Re: Please help: LDAP configuration _almost_ works.)

2008-04-18 Thread Timo Sirainen
On Fri, 2008-04-18 at 08:12 -0500, Jack McKinney wrote: > > BTW: Do you use any sort of firewall, iptables or whatsoever on the mail, > > dns or ldap server? Did you disabled it? > > LDAP and IMAP are on the same server. Since the query and the result > both show up in the LDAP logs, it co

[Dovecot] dovecot 1.1.rc4 -> 1.0.10 : Recent counter wrong

2008-04-18 Thread Laurent Papier
Hi, I have tested dovecot 1.1.rc4. I seems to works fine with my configuration. I have also tested the downgrade from 1.1rc4 to 1.0.10. It seems to work fine too expect the following messages. Apr 15 14:46:44 dev dovecot: IMAP([EMAIL PROTECTED]): Fixing header counts in index /data/mail/gretel.c

[Dovecot] Message UID Question

2008-04-18 Thread Joe Allesi -X (joallesi - Coyote Creek Consulting at Cisco)
I have referred to the wiki and the RFC, but I still can't find the exact answer I'm looking for. From what I know, Dovecot uses the IMAP standard of 32 bit integers to uniquely identify messages. After a message is deleted from the mbox, can this UID ever be reissued to a new message or is that

Re: [Dovecot] dovecot 1.1.rc4 -> 1.0.10 : Recent counter wrong

2008-04-18 Thread Timo Sirainen
On Apr 18, 2008, at 5:46 PM, Laurent Papier wrote: Hi, I have tested dovecot 1.1.rc4. I seems to works fine with my configuration. I have also tested the downgrade from 1.1rc4 to 1.0.10. It seems to work fine too expect the following messages. Apr 15 14:46:44 dev dovecot: IMAP([EMAIL PROT

Re: [Dovecot] Message UID Question

2008-04-18 Thread Timo Sirainen
On Apr 18, 2008, at 5:57 PM, Joe Allesi -X (joallesi - Coyote Creek Consulting at Cisco) wrote: I have referred to the wiki and the RFC, but I still can't find the exact answer I'm looking for. From what I know, Dovecot uses the IMAP standard of 32 bit integers to uniquely identify messages. A

[Dovecot] CRAM-MD5 HMAC-MD5 password algorithm for PHP

2008-04-18 Thread Hajo Noerenberg
Hi, based on the recent discussion by Bill Cole and Douglas Willcocks I've quickly put together a PHP script which generates MD5 'contexts' for Dovecot's password files: http://www.noerenberg.de/hajo/pub/dovecot_hmacmd5.php.txt The script has not been tested extensively, so use it on your

Re: [Dovecot] How to deal with mail to unknown virtual recipients?

2008-04-18 Thread Andreas Ntaflos
On Thursday 17 April 2008 23:50:40 mouss wrote: > > But today I received spam mail (which was correctly identified as such by > > amavisd-new) for "[EMAIL PROTECTED]" and "[EMAIL PROTECTED]", two > > recipient addresses that do not exist. According to [1] "it's left up to > > the non-Postfix delive

Re: [Dovecot] How to deal with mail to unknown virtual recipients?

2008-04-18 Thread Ed W
Seeing as Dovecot recognises when a virtual recipient is invalid, couldn't it somehow put the to-be-rejected mail back to Postfix (or whichever MTA)? Or should it just drop it? I don't know what the SMTP (whichevery protocol is to be followed here) says about this, so I pose the question again

Re: [Dovecot] How to deal with mail to unknown virtual recipients?

2008-04-18 Thread Charles Marcus
On 4/18/2008, Andreas Ntaflos ([EMAIL PROTECTED]) wrote: Is there anything Dovecot itself can do to reject or handle mail to invalid virtual users? Not directly - the solution, as you surmised, earlier, is to use the same db backend for your users. Or does this situation *have* to be dealt

Re: [Dovecot] Mixing LDAP and static

2008-04-18 Thread Anders
Timo Sirainen wrote: On Sat, 2008-04-12 at 22:37 +0200, Anders wrote: user_attrs = uid=home=/var/mail/vhosts/%d/%n,gosaMailQuota=quota_rule=*:bytes=%$M Just drop the "uid", like: =home=/var/mail/.. Hi. This is not documented, I think? Anyway, it does not really work, I guess it might

Re: [Dovecot] How to deal with mail to unknown virtual recipients?

2008-04-18 Thread Andreas Ntaflos
On Friday 18 April 2008 18:56:08 Charles Marcus wrote: > On 4/18/2008, Andreas Ntaflos ([EMAIL PROTECTED]) wrote: > > Is there anything Dovecot itself can do to reject or handle mail to > > invalid virtual users? > > Not directly - the solution, as you surmised, earlier, is to use the > same db bac

Re: [Dovecot] Master user and missing folders

2008-04-18 Thread Anders
Timo Sirainen <[EMAIL PROTECTED]> writes: > On Sat, 2008-04-12 at 17:28 +0200, Anders wrote: >> I am trying to use a master user. The login works. However, a LIST >> command gives me only the INBOX. Is this to be expected? When logging in >> normally, I do get the full list of folders. > > Your