Re: [Dovecot] Wrong message information

2008-06-12 Thread Anders
Timo Sirainen wrote: I think this will finally fix it: http://hg.dovecot.org/dovecot-1.1/rev/5f481022db04 This has finally gotten rid of the problem: no more 1970 in rawlog after three days of logging. Thanks! Anders.

Re: [Dovecot] Antispam plugin custom behavior?

2008-06-12 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 11 Jun 2008, Kyle Wheeler wrote: those directories is turned into piping the message to a script of my choosing (a different one for each folder). There is a pipe plugin, which README exactly fits this sentence, search the archives of

Re: [Dovecot] quota-rewrite patch userdb quota overriding

2008-06-12 Thread Juan C. Blanco
Hello Alan, I think that the last quota-rewrite patchs in the dovecot site is not the correct one since Timo updated the source/hg tree but I think that the patch was not updated at the time. I have a modified patch that works for me, if you want to test it I can send it to you off list.

[Dovecot] Need a quick, safe method to empty /home/user/Maildir/{.Junk, .Trash}

2008-06-12 Thread Jeff Kowalczyk
I have some (Thunderbird client, dovecot-1.0.13, Maildir) users who get an appalling amount of spam-with-attachment, and it's causing backups to take an inordinate amount of time. I'll implement some quota and server-side spam management when I go to dovecot-1.1, but in the meantime: What is the

[Dovecot] Dovecot 1.1rc9 strange messages

2008-06-12 Thread Raphael Bittencourt S. Costa
Helo all, I'm working on a migration from qmail+courier+maildrop to postfix +dovecot1.1+lda and today the logs has too many strange messages like this: Jun 12 10:51:22 mailserver03 dovecot: IMAP([EMAIL PROTECTED]): Broken file

Re: [Dovecot] Antispam plugin custom behavior?

2008-06-12 Thread Kyle Wheeler
On Wednesday, June 11 at 06:34 PM, quoth Andre Rodier: As a temporary solution, and if your linux box as iNotify support, I suggest you use incron. incron is an inotify cron system. It works like the regular cron but is driven by filesystem events instead of time events. Interesting idea...

Re: [Dovecot] Need a quick, safe method to empty /home/user/Maildir/{.Junk, .Trash}

2008-06-12 Thread Bill Cole
At 9:22 AM -0400 6/12/08, Jeff Kowalczyk wrote: I have some (Thunderbird client, dovecot-1.0.13, Maildir) users who get an appalling amount of spam-with-attachment, and it's causing backups to take an inordinate amount of time. I'll implement some quota and server-side spam management when I go

Re: [Dovecot] Antispam plugin custom behavior?

2008-06-12 Thread Kyle Wheeler
On Wednesday, June 11 at 11:51 PM, quoth Johannes Berg: On Wed, 2008-06-11 at 23:43 +0200, Johannes Berg wrote: Kyle, Obviously, I qualify as a spammer because I wrote the antispam plugin. Or something like that. Heh, sorry about that - I have my server set to reject non-list-related

Re: [Dovecot] Need a quick, safe method to empty /home/user/Maildir/{.Junk, .Trash}

2008-06-12 Thread Kyle Wheeler
On Thursday, June 12 at 11:10 AM, quoth Bill Cole: What is the safest way to empty all messages within, but not delete, the following folders from the server command line: /home/user/Maildir/.Junk /home/user/Maildir/.Trash I don't want the Thunderbird-2.0.14 client to report corrupt indexing,

[Dovecot] Current opened sessions

2008-06-12 Thread tutankamen
Is there in Dovecot a command or another way to show current opened sessions, I mean who is connected using IMAP ti the server? It could be useful to know if I can restart my server without dusturb any client. Thank you Tutan

Re: [Dovecot] Current opened sessions

2008-06-12 Thread Ralf Hildebrandt
* tutankamen [EMAIL PROTECTED]: Is there in Dovecot a command or another way to show current opened sessions, I mean who is connected using IMAP ti the server? It could be useful to know if I can restart my server without dusturb any client. ps auxwww|grep dovecot works for me, since I

Re: [Dovecot] Need a quick, safe method to empty /home/user/Maildir/{.Junk, .Trash}

2008-06-12 Thread Alexander Prinsier
Jeff Kowalczyk wrote: Any thoughts on a variant using find -name that could safely iterate over /home/*/Maildir for all users? Otherwise I would script it in python. What about: find /home/*/Maildir/.Junk/cur -type f -delete Alexander

Re: [Dovecot] Need a quick, safe method to empty /home/user/Maildir/{.Junk, .Trash}

2008-06-12 Thread Jeff Kowalczyk
On Thu, 12 Jun 2008 19:07:36 +0200, Alexander Prinsier wrote: Jeff Kowalczyk wrote: Any thoughts on a variant using find -name that could safely iterate over /home/*/Maildir for all users? Otherwise I would script it in python. What about: find /home/*/Maildir/.Junk/cur -type f -delete

[Dovecot] 9GB of messages in /tmp

2008-06-12 Thread Charles Marcus
Hello, Well, I have a brain-dead user (using Thunderbird 2.0.0.14) who just won't listen when I tell them not to try to move 5000+ messages at one time (or if deleting, bypass the Trash), and they managed to royally screw up their maildirs... I have two problems... 1. The /tmp directory

Re: [Dovecot] 9GB of messages in /tmp

2008-06-12 Thread Daniel L. Miller
Charles Marcus wrote: Hello, Well, I have a brain-dead user (using Thunderbird 2.0.0.14) who just won't listen when I tell them not to try to move 5000+ messages at one time (or if deleting, bypass the Trash), and they managed to royally screw up their maildirs... It's never bothered me -

Re: [Dovecot] 9GB of messages in /tmp

2008-06-12 Thread Charles Marcus
On 6/12/2008, Daniel L. Miller ([EMAIL PROTECTED]) wrote: Well, I have a brain-dead user (using Thunderbird 2.0.0.14) who just won't listen when I tell them not to try to move 5000+ messages at one time (or if deleting, bypass the Trash), and they managed to royally screw up their maildirs...

Re: [Dovecot] Need a quick, safe method to empty /home/user/Maildir/{.Junk, .Trash}

2008-06-12 Thread Kyle Wheeler
On Thursday, June 12 at 01:02 PM, quoth Jeff Kowalczyk: On Thu, 12 Jun 2008 10:19:48 -0500, Kyle Wheeler wrote: If you have a *TON* of messages in those folders (i.e. several thousand), your shell may complain that there are too many arguments to the rm command. If that happens, these may be

Re: [Dovecot] Need a quick, safe method to empty /home/user/Maildir/{.Junk, .Trash}

2008-06-12 Thread Benjamin R. Haskell
On Thu, 12 Jun 2008, Kyle Wheeler wrote: On Thursday, June 12 at 01:02 PM, quoth Jeff Kowalczyk: On Thu, 12 Jun 2008 10:19:48 -0500, Kyle Wheeler wrote: If you have a *TON* of messages in those folders (i.e. several thousand), your shell may complain that there are too many arguments to the

[Dovecot] strange looking code and userdb errors

2008-06-12 Thread Tony den Haan
hi, i'm trying to use passdb ldap and userdb prefetch, using the userdb_ prefixes in pass_attrs, and i get: passdb didn't return userdb entries looking at the code at auth/userdb-prefetch.c i see: if (auth_request-userdb_reply == NULL) { if (auth_request-auth-userdbs-next ==

Re: [Dovecot] auth issues on centos5 with ldap backend

2008-06-12 Thread Jurvis LaSalle
On Jun 5, 2008, at 3:47 PM, Timo Sirainen wrote: On Thu, 2008-06-05 at 12:55 -0400, Jurvis LaSalle wrote: Jun 5 12:37:46 khan dovecot-auth: pam_unix(dovecot:auth): authentication failure; logname= uid=0 euid=0 tty=dovecot ruser= rhost=127.0.0.1 user=validLDAPaccount So the user was logged

Re: [Dovecot] Need a quick, safe method to empty /home/user/Maildir/{.Junk, .Trash}

2008-06-12 Thread Jurvis LaSalle
On Jun 12, 2008, at 9:22 AM, Jeff Kowalczyk wrote: I have some (Thunderbird client, dovecot-1.0.13, Maildir) users who get an appalling amount of spam-with-attachment, and it's causing backups to take an inordinate amount of time. /home/user/Maildir/.Junk /home/user/Maildir/.Trash What

Re: [Dovecot] auth issues on centos5 with ldap backend

2008-06-12 Thread Timo Sirainen
On Thu, 2008-06-12 at 17:31 -0400, Jurvis LaSalle wrote: Here's my dovecot PAM conf (i've manually included the include lines). I tried to comment out the pam_unix.so lines so that only ldap would be checked, but that made all authentication attempts fail. I'm not quite sure how to

Re: [Dovecot] Need a quick, safe method to empty /home/user/Maildir/{.Junk, .Trash}

2008-06-12 Thread Timo Sirainen
On Thu, 2008-06-12 at 11:10 -0400, Bill Cole wrote: At 9:22 AM -0400 6/12/08, Jeff Kowalczyk wrote: I have some (Thunderbird client, dovecot-1.0.13, Maildir) users who get an appalling amount of spam-with-attachment, and it's causing backups to take an inordinate amount of time. I'll

Re: [Dovecot] 9GB of messages in /tmp

2008-06-12 Thread Charles Marcus
On 6/12/2008, Timo Sirainen ([EMAIL PROTECTED]) wrote: I have two problems... 1. The /tmp directory has 9+GB in it... can I just rm tmp/* on that directory without making this problem worse? Only part of Dovecot that writes to /tmp is deliver, and it keeps the files there probably less than

Re: [Dovecot] Dovecot 1.1rc9 strange messages

2008-06-12 Thread Timo Sirainen
On Thu, 2008-06-12 at 11:37 -0300, Raphael Bittencourt S. Costa wrote: Helo all, I'm working on a migration from qmail+courier+maildrop to postfix +dovecot1.1+lda and today the logs has too many strange messages like this: Jun 12 10:51:22 mailserver03 dovecot: IMAP([EMAIL PROTECTED]):

Re: [Dovecot] strange looking code and userdb errors

2008-06-12 Thread Timo Sirainen
On Thu, 2008-06-12 at 22:27 +0200, Tony den Haan wrote: hi, i'm trying to use passdb ldap and userdb prefetch, using the userdb_ prefixes in pass_attrs, and i get: passdb didn't return userdb entries looking at the code at auth/userdb-prefetch.c i see: if (auth_request-userdb_reply ==

Re: [Dovecot] Need a quick, safe method to empty /home/user/Maildir/{.Junk, .Trash}

2008-06-12 Thread Bill Cole
At 1:17 AM +0300 6/13/08, Timo Sirainen wrote: On Thu, 2008-06-12 at 11:10 -0400, Bill Cole wrote: [...] However, I DO clobber the dovecot-uidlist in .Trash as part of my monthly housekeeping because it tends to get very large All the expunged messages get removed from it the next time a

Re: [Dovecot] Need a quick, safe method to empty /home/user/Maildir/{.Junk, .Trash}

2008-06-12 Thread Timo Sirainen
On Thu, 2008-06-12 at 19:28 -0400, Bill Cole wrote: At 1:17 AM +0300 6/13/08, Timo Sirainen wrote: On Thu, 2008-06-12 at 11:10 -0400, Bill Cole wrote: [...] However, I DO clobber the dovecot-uidlist in .Trash as part of my monthly housekeeping because it tends to get very large All