[Dovecot] How to delete retrieved mail

2009-08-03 Thread Don Muller
Hi All, I use Dovecot and XMail on a QNAP TS-509 NAS. QNAP has combined the two into a package they call XDove. Everything seems to be working great except for one thing. When Dovecot retrieves the mail from XMail it is not removing it from XMail. It is leaving a copy on XMail. Is there an

Re: [Dovecot] How to delete retrieved mail

2009-08-03 Thread Timo Sirainen
On Aug 3, 2009, at 2:07 AM, Don Muller wrote: I use Dovecot and XMail on a QNAP TS-509 NAS. QNAP has combined the two into a package they call XDove. Everything seems to be working great except for one thing. When Dovecot retrieves the mail from XMail it is not removing it from XMail. It

Re: [Dovecot] expire plugin no delete 1.2.1 / 1.2.2

2009-08-03 Thread Robert Schetterer
Robert Schetterer schrieb: Timo Sirainen schrieb: On Fri, 2009-07-31 at 17:21 +0200, Robert Schetterer wrote: Hi Timo, so now its clear, the mail did not got deleted if i now do Info: rob...@schetterer.com/Trash: no messages left So, it worked? no messages left means if you didn't give

[Dovecot] Bug - dovecot-auth hangs in ldap query. 1.1.16 (also in 1.2.2)

2009-08-03 Thread Marek Miska
dovecot-auth hangs when many (128) LDAP queries are submited simultaneously. (for example via pop3 benchmarking tool). Bug is in src/auth/db-ldap.c:db_ldap_request_queue_next if (queue_size DB_LDAP_MAX_PENDING_REQUESTS) { /* wait until server has replied to some

Re: [Dovecot] Best way to get login protocol (pop3/imap) in post-login script

2009-08-03 Thread Zhang Huangbin
On Aug 3, 2009, at 9:47 AM, Timo Sirainen wrote: How about giving the imap or pop3 as parameter? You're already modifying mail_executable, so: protocol imap { mail_executable = script.sh imap } protocol pop3 { mail_executable = script.sh pop3 } It works with above setting. Thanks Timo

Re: [Dovecot] expire plugin no delete 1.2.1 / 1.2.2

2009-08-03 Thread Robert Schetterer
Timo Sirainen schrieb: On Aug 3, 2009, at 3:26 AM, Robert Schetterer wrote: Timo Sirainen schrieb: On Fri, 2009-07-31 at 17:21 +0200, Robert Schetterer wrote: Hi Timo, so now its clear, the mail did not got deleted if i now do Info: rob...@schetterer.com/Trash: no messages left So, it

Re: [Dovecot] expire plugin no delete 1.2.1 / 1.2.2

2009-08-03 Thread Timo Sirainen
On Aug 3, 2009, at 3:52 AM, Robert Schetterer wrote: /etc/crontab 45 9 * * * root /usr/sbin/dovecot -c /etc/dovecot/dovecot.conf --exec-mail ext /usr/lib/dovecot/expire-tool.sh Disable this for now and tomorrow just run the --test first manually, save its output, then if it seemed ok

[Dovecot] Performance problem with STATUS after upgrade (1.0.15 - 1.2.2)

2009-08-03 Thread Stefan Förster
Hello list, after upgrading dovecot from 1.0.15 to 1.2.2 (and carefully reading through the upgrading notes in the wiki), I got sieve, quota and fts up and running, but I'm now suffering some kind of performance problem with the STATUS command. Symptoms: Reading mail on the IMAP server itself

Re: [Dovecot] expire plugin no delete 1.2.1 / 1.2.2

2009-08-03 Thread Robert Schetterer
Timo Sirainen schrieb: On Aug 3, 2009, at 3:52 AM, Robert Schetterer wrote: /etc/crontab 45 9 * * * root /usr/sbin/dovecot -c /etc/dovecot/dovecot.conf --exec-mail ext /usr/lib/dovecot/expire-tool.sh Disable this for now and tomorrow just run the --test first manually, save its

Re: [Dovecot] Performance problem with STATUS after upgrade (1.0.15 - 1.2.2)

2009-08-03 Thread Stefan Förster
Quick follwup to myself: * Stefan Förster cite+dovecot-us...@incertum.net: (The whole conversation is available as: http://www.incertum.net/~cite/dovecot-snoop.log) [...] dovecot -n (also available as: http://www.incertum.net/~cite/dovecot-n.log): I've noticed some people trying to access

[Dovecot] BUG: mbox_snarf causes message duplication when two IMAP connections are open

2009-08-03 Thread Robert Lazzurs
Hello, I have used dovecot to replace an ageing wu-imap installation using the mbox_snarf plugin however I have noticed that when we have more than one client checking the INBOX we then have messages being duplicated in the INBOX. Below is the configuration used as requested in the bug report

Re: [Dovecot] BUG: mbox_snarf causes message duplication when two IMAP connections are open

2009-08-03 Thread Charles Marcus
On 8/3/2009, Robert Lazzurs (r...@lazzurs.net) wrote: If anyone requires any further information to confirm this bug please let me know. What are the clients? -- Best regards, Charles

Re: [Dovecot] Subfolders not listed in Dovecot-1.2.2 with listescape

2009-08-03 Thread Petter Urkedal
On 2009-08-03, Timo Sirainen wrote: On Tue, 2009-07-28 at 20:32 +0200, Petter Urkedal wrote: After upgrading to Dovecot-1.2.2 from 1.1* subfolders disappeared, Fixed: http://hg.dovecot.org/dovecot-1.2/rev/7615ccab3829 It works, thanks! Petter

Re: [Dovecot] BUG: mbox_snarf causes message duplication when two IMAP connections are open

2009-08-03 Thread Robert Lazzurs
On Mon, Aug 3, 2009 at 11:39, Charles Marcuscmar...@media-brokers.com wrote: On 8/3/2009, Robert Lazzurs (r...@lazzurs.net) wrote: If anyone requires any further information to confirm this bug please let me know. What are the clients? Hello, The clients are thunderbird and GNOME

Re: [Dovecot] Performance problem with STATUS after upgrade (1.0.15 - 1.2.2)

2009-08-03 Thread Stefan Förster
Another follow-up on my first posting: * Stefan Förster cite+dovecot-us...@incertum.net: Those commands take almost one(!) second to complete. I've used strace to capture what happens and made the results available at http://www.incertum.net/~cite/imap.log. Comaring this to a 1.0.15, the main

[Dovecot] Panic: file mbox-sync-rewrite.c: line 590

2009-08-03 Thread Kostik
Hello! We start migrate to dovecot (v1.2.2). # 1.2.2: /usr/local/etc/dovecot.conf # OS: Linux 2.6.30 i686 Slackware 11.0.0 We have FS user quota and NFS mailboxs(mbox only). While user not overquota, all works fine. But if is, we get error at log: --- Aug 3 16:45:17 chest004 dovecot:

Re: [Dovecot] deliver is curious

2009-08-03 Thread Sven Strickroth
Hi, thanks for your fast response! Am 03.08.2009 03:27 schrieb Timo Sirainen: userdb passwd { args = home } Or since you use Maildir/ in your directory names, probably best to set: userdb passwd { args = home=/var/spool/imap/users/%u } Doesn't work for me (exactly the same

Re: [Dovecot] Spaces in user or group-names

2009-08-03 Thread Sven Strickroth
Hi, Am 26.07.2009 21:04 schrieb Timo Sirainen: how it is possible to use group names with spaces (like Domain Admins) in dovecot-acl files? Currently it's not. I guess I could implement it by using quotes. Done: http://hg.dovecot.org/dovecot-1.2/rev/7168ca62c556 If this patch is

[Dovecot] Trying to get dovecot and squirrelmail talking

2009-08-03 Thread Neil Bird
I have been using dovecot+squirrelmail with no problems on my Fedora box (currently at F10). I've been using a simple mail location string along the lines of 'mbox:~/usr/mail/%u:INBOX=mbox:/var/spool/mail/%u' (sorry, that's off the top of my head, I can't get into my box from here at the

Re: [Dovecot] deliver is curious

2009-08-03 Thread Timo Sirainen
On Aug 3, 2009, at 10:24 AM, Sven Strickroth wrote: Doesn't work for me (exactly the same output). auth default: passdb: driver: pam args: imap userdb: driver: passwd args: home=/var/spool/imap/users/%u blocking=yes system_groups_user=%n What Dovecot version? What does it log

Re: [Dovecot] Spaces in user or group-names

2009-08-03 Thread Timo Sirainen
On Aug 3, 2009, at 10:28 AM, Sven Strickroth wrote: Hi, Am 26.07.2009 21:04 schrieb Timo Sirainen: how it is possible to use group names with spaces (like Domain Admins) in dovecot-acl files? Currently it's not. I guess I could implement it by using quotes. Done:

[Dovecot] Mailbox locking problem with iphone and POP3

2009-08-03 Thread Bill Dunn - VCI Internet Services
I have a problem I can't seem to fix. I have dovecot configured to do POP3 with plain text authentication using a MySQL database. I am using Dovecot 1.0.7 with fcntl locking. My problem has been when an iPhone/iPod checks email. The iPhone/iPod doesn't disconnect with a TCP FIN packet

Re: [Dovecot] deliver is curious

2009-08-03 Thread Sven Strickroth
Am 03.08.2009 17:43 schrieb Timo Sirainen: Doesn't work for me (exactly the same output). auth default: passdb: driver: pam args: imap userdb: driver: passwd args: home=/var/spool/imap/users/%u blocking=yes system_groups_user=%n What Dovecot version? What does it log with

[Dovecot] v1.2.3 release candidate

2009-08-03 Thread Timo Sirainen
http://dovecot.org/tmp/dovecot-1.2.3.rc.tar.gz I thought about doing v1.2.3 release immediately, but I think I'll wait about 10-24h first. So until then, testing this RC is appreciated and hopefully we'll have a good release this time. :) + Allow namespace prefix to be opened as mailbox,

Re: [Dovecot] All mail in mbox disappears when using Outlook

2009-08-03 Thread Frank Leonhardt
This was sent on Saturday but didn't make it to the list (possibly a problem my end). Incidentally, I've since restarted Dovecot to see if that helped. It didn't. Luigi Rosa wrote on 01 August 2009 14:10 Frank Leonhardt said the following on 01/08/09 12:00: I've searched as far as I can for

Re: [Dovecot] All mail in mbox disappears when using Outlook

2009-08-03 Thread Timo Sirainen
On Sat, 2009-08-01 at 11:00 +0100, Frank Leonhardt wrote: Corrupt mbox file? Probably not. If you copy the problem one, the copy works fine. The really weird thing is that if you rename the problem file (using mv) it STILL DOESN'T work. I've considered the possibility that it's got a bad lock

Re: [Dovecot] All mail in mbox disappears when using Outlook

2009-08-03 Thread Frank Leonhardt
Timo Sirainen wrote on 03 August 2009 19:46: On Sat, 2009-08-01 at 11:00 +0100, Frank Leonhardt wrote: Corrupt mbox file? Probably not. If you copy the problem one, the copy works fine. The really weird thing is that if you rename the problem file (using mv) it STILL DOESN'T work. I've

Re: [Dovecot] Dovecot with SSL Client Certification

2009-08-03 Thread Evaggelos Balaskas
Indeed the problem was with ssl_ca_file. After your reply, i was able to fully understand how ssl authentication with x509 certificates works with dovecot. Timo keep up the great job you are doing with dovecot. Thank you very much for your answer. PS: I am working on a mini howto on this, and i

Re: [Dovecot] All mail in mbox disappears when using Outlook

2009-08-03 Thread Timo Sirainen
On Mon, 2009-08-03 at 20:03 +0100, Frank Leonhardt wrote: Any suggestions about where I could look for a clue will be followed up immediately. I'm new to Dovecot, but not BSD. My next step will be to put a network analyser on it. Looking at the imap traffic could help, especially if you can

[Dovecot] Released Sieve v0.1.10 for Dovecot v1.2.2

2009-08-03 Thread Stephan Bosch
Hello Dovecot users, In the last week two nasty bugs were found in the new Sieve implementation. Primarily, the include extension did not work when a compiled binary was loaded from disk. This is something that is still not tested by the test suite, giving this bug the opportunity to slip

[Dovecot] Linefeeds in mailbox names

2009-08-03 Thread Timo Sirainen
Wonder if I should just disallow creating mailboxes whose name contains CR or LF characters? Wonder how many peoples' scripts/tools already would break if a user created such mailbox names.. :) signature.asc Description: This is a digitally signed message part

Re: [Dovecot] Released Sieve v0.1.10 for Dovecot v1.2.2

2009-08-03 Thread Josh Miller
Stephan Bosch wrote: http://www.rename-it.nl/dovecot/1.2/dovecot-1.2-sieve-0.1.10.tar.gz Is this version restricted to only dovecot 1.2.2? I tried with dovecot 1.2.1 and failed with the following error: Aug 03 13:11:13 deliver(t...@test.com): Error:

Re: [Dovecot] Released Sieve v0.1.10 for Dovecot v1.2.2

2009-08-03 Thread Stephan Bosch
Josh Miller schreef: Stephan Bosch wrote: http://www.rename-it.nl/dovecot/1.2/dovecot-1.2-sieve-0.1.10.tar.gz Is this version restricted to only dovecot 1.2.2? I tried with dovecot 1.2.1 and failed with the following error: Aug 03 13:11:13 deliver(t...@test.com): Error:

Re: [Dovecot] Linefeeds in mailbox names

2009-08-03 Thread Charles Marcus
On 8/3/2009 4:15 PM, Timo Sirainen wrote: Wonder if I should just disallow creating mailboxes whose name contains CR or LF characters? Wonder how many peoples' scripts/tools already would break if a user created such mailbox names.. :) I am at a loss as to why anyone would want/need either of

[Dovecot] Creating a default domain

2009-08-03 Thread Charles Sprickman
Hello, I'm setting up a test server to work through the issues involved in bringing a bunch of vpopmail/qmail/courier users into a postfix/dovecot server. So far I'm seeing lots of info to aid in the transition. One thing I'm lost on is that since Dovecot is providing all the auth

Re: [Dovecot] Creating a default domain

2009-08-03 Thread Timo Sirainen
On Mon, 2009-08-03 at 19:55 -0400, Charles Sprickman wrote: Vpopmail allows for the concept of a default domain for authentication. So if I have a bunch of domains, and one is example.com, users in that domain can login with only the username part of their id (ie: john) rather than

[Dovecot] GSSAPI Authentication in v1.2.1

2009-08-03 Thread Phillip Macey
In the release notes for v1.2.2, Timo said: Found and fixes several v1.2-specific bugs. Hopefully it's now stable for most people's usage. * GSSAPI: More changes to authentication. Hopefully good now. What were the GSSAPI changes? I am having problems with _some_ of my users using