Re: [Dovecot] Corrupted transaction log file / record size too small

2008-10-18 Thread Steven Winikoff
>This and some other bugs are now fixed by this: >http://hg.dovecot.org/dovecot-1.1/rev/262c52055f2a Thank you! Both for this and for http://hg.dovecot.org/dovecot-1.1/rev/a0693aec0245 - Steven Steven Winikoff

Re: [Dovecot] regarding dovecot.index.cache

2008-10-18 Thread Timo Sirainen
On Fri, 2008-10-17 at 13:21 +0530, Dhaval Thakar wrote: > > If mails were delivered using Dovecot's deliver, it would update the > > cache file (as long as the user had logged in at least once so Dovecot > > would know what fields need to be cached). > > > hi, > > i have configured lda for qmail

Re: [Dovecot] Reporting NFS quotas via IMAP

2008-10-18 Thread Timo Sirainen
On Sat, 2008-10-18 at 18:07 +0200, Edgar Fuß wrote: > > If that's the case, change it (quota = maildir:userquota). > fs:user did the trick. Thanks. > > Would this catch be worth being documented in the WIKI? I changed all examples to use "quota = xxx:user" and added a note about Apple Mail to htt

[Dovecot] workaround for shared maildirs

2008-10-18 Thread Giuliano Gavazzi
Hello, this is my first post to the list. I have several mailservers running courier-imap, but am planning to convert one (and maybe more) to dovecot 1.1.4. In the process I am also looking to finally implement shared maildirs. As it is well known some clients (notable Apple's Mail) have probl

Re: [Dovecot] Sendmail and deliver LDA exits with EX_TEMPFAIL on overquota

2008-10-18 Thread Charles Marcus
On 10/18/2008 3:04 PM, Sotiris Tsimbonis wrote: > deliver(stsimb.t157.forthnet.gr): Oct 18 21:56:30 Info: > msgid=<[EMAIL PROTECTED]>: save failed > to INBOX: Quota exceeded (mailbox for user is full) > deliver(stsimb.t157.forthnet.gr): Oct 18 21:56:30 Info: > msgid=<[EMAIL PROTECTED]>: rejected: >

Re: [Dovecot] Dovecot 1.1.4 / Maildir++ quota and move to trash

2008-10-18 Thread Charles Marcus
On 10/18/2008 2:10 PM, Timo Sirainen wrote: Query: COPY 183 "INBOX.Trash" >>> So, apparently your only namespace has "INBOX." prefix and you've >>> configured trash plugin with "Trash" mailbox. You should have >>> configured >>> it to use "INBOX.Trash" instead. The same goes for quota >>>

Re: [Dovecot] Sendmail and deliver LDA exits with EX_TEMPFAIL on overquota

2008-10-18 Thread Sotiris Tsimbonis
Timo Sirainen wrote, On 10/18/2008 01:31 PM: On Fri, 2008-10-17 at 22:30 +0300, Sotiris Tsimbonis wrote: That should be the default. "quota_full_tempfail" setting controls it, do you have it commented out in the config file? (unfortunately lda section isn't listed with dovecot -n) Sorry, I f

Re: [Dovecot] Dovecot 1.1.4 / Maildir++ quota and move to trash

2008-10-18 Thread Timo Sirainen
On Sat, 2008-10-18 at 20:09 +0200, Xavier Beaudouin wrote: > Le 18 oct. 08 à 19:54, Timo Sirainen a écrit : > > > On Sat, 2008-10-18 at 19:12 +0200, Xavier Beaudouin wrote: > >> I have tried the method to add more space especialy for Trash... > >> > >> No luck... > >> > >> On logfile I have : > >>

Re: [Dovecot] Dovecot 1.1.4 / Maildir++ quota and move to trash

2008-10-18 Thread Xavier Beaudouin
Le 18 oct. 08 à 19:54, Timo Sirainen a écrit : On Sat, 2008-10-18 at 19:12 +0200, Xavier Beaudouin wrote: I have tried the method to add more space especialy for Trash... No luck... On logfile I have : Oct 18 19:09:42 mail01 dovecot: IMAP([EMAIL PROTECTED]): copy: uid=183, dest=Trash, msgid

Re: [Dovecot] Pop3 on dovecot

2008-10-18 Thread Timo Sirainen
On Sat, 2008-10-18 at 22:50 +0530, Rajiv Gore wrote: > Hi > When I telnet localhost 110 > I get a response as > +OK POP3 localhost 2006c.94 server ready > I expect to get +OK Dovecot ready. Right. > Is there any other pop3 server running on port 110? Yes. > If so how to assign port 110 to Dov

Re: [Dovecot] Dovecot 1.1.4 / Maildir++ quota and move to trash

2008-10-18 Thread Timo Sirainen
On Sat, 2008-10-18 at 19:12 +0200, Xavier Beaudouin wrote: > I have tried the method to add more space especialy for Trash... > > No luck... > > On logfile I have : > > Oct 18 19:09:42 mail01 dovecot: IMAP([EMAIL PROTECTED]): copy: uid=183, > dest=Trash, msgid=<[EMAIL PROTECTED]>, size=999 > O

Re: [Dovecot] Corrupted transaction log file / record size too small

2008-10-18 Thread Timo Sirainen
On Fri, 2008-10-10 at 14:22 -0400, Steven Winikoff wrote: >Oct 10 04:48:46 alcor dovecot: Panic: pop3-login: file > client-authenticate.c: line 163 (sasl_callback): assertion failed: > (!client->destroyed || reply == SASL_SERVER_REPLY_CLIENT_ERROR || reply == > SASL_SERVER_REPLY_MASTER_FAILE

Re: [Dovecot] Corrupted transaction log file / record size too small

2008-10-18 Thread Timo Sirainen
On Sun, 2008-10-05 at 19:20 -0400, Steven Winikoff wrote: >Oct 3 17:52:21 alcor dovecot: imap[14973] , NNN.NNN.NN.NNN: Corrupted > transaction log file /home//mail/.imap/sent-mail/dovecot.index.log: > record size too small (type=0xcd91, offset=8180, size=0) This and some other bugs

[Dovecot] Pop3 on dovecot

2008-10-18 Thread Rajiv Gore
Hi When I telnet localhost 110 I get a response as +OK POP3 localhost 2006c.94 server ready I expect to get +OK Dovecot ready. Is there any other pop3 server running on port 110? If so how to assign port 110 to Dovecot? Thanks for advice -- Rajiv Gore 102 Sahakarnagar Ahmednagar 414 003 M

Re: [Dovecot] Dovecot 1.1.4 / Maildir++ quota and move to trash

2008-10-18 Thread Xavier Beaudouin
Le 18 oct. 08 à 13:55, Timo Sirainen a écrit : On Fri, 2008-10-17 at 17:38 +0200, Ralf Hildebrandt wrote: * Xavier Beaudouin <[EMAIL PROTECTED]>: Hello, Seems there is some nasty problems with Dovecot 1.1.4... We use Maildir++ quota, and when moving mail to Trash, Dovecot just drop the c

Re: [Dovecot] Request for help with new plugin

2008-10-18 Thread Charles Marcus
On 10/18/2008, Timo Sirainen ([EMAIL PROTECTED]) wrote: >> In this case, SAVE_DATE mean the dat/time the message was originally >> delivered? Or does it mean the date/tim the message was simply moved to >> the TRASH? > It's the date/time of when the message was saved/copied to that > particular ma

Re: [Dovecot] Request for help with new plugin

2008-10-18 Thread Timo Sirainen
On Sat, 2008-10-18 at 11:49 -0400, Charles Marcus wrote: > On 10/18/2008, Timo Sirainen ([EMAIL PROTECTED]) wrote: > >> 3. Is SAVE_DATE the correct field to be looking for here? I want the > >> expiration to be based on the amount of time the letter has spent in > >> the trash folder. > > > Y

Re: [Dovecot] Reporting NFS quotas via IMAP

2008-10-18 Thread Edgar Fuß
Try with manual IMAP commands instead: Yes, sorry, I should have checked that before. Does it return correct output? Yes. IIRC some clients (maybe Apple Mail?) had problems listing quota if quota root was empty. Hmpf. So I was just using a defective client to test my presumably defective

Re: [Dovecot] Request for help with new plugin

2008-10-18 Thread Charles Marcus
On 10/18/2008, Timo Sirainen ([EMAIL PROTECTED]) wrote: >> 3. Is SAVE_DATE the correct field to be looking for here? I want the >> expiration to be based on the amount of time the letter has spent in >> the trash folder. > Yes. I'm not a prgrammer, so would have zero success answering this m

Re: [Dovecot] quota-warning.sh mail from

2008-10-18 Thread Timo Sirainen
On Thu, 2008-10-16 at 18:00 +0400, Proskurin Kirill wrote: > Hello all > > How Dovecot 1.1.3 quota script understand to who send a mail? > > In try to do this: > > In conf: > quota_warning = storage=80%% /usr/local/bin/quota-warning.sh 80 [EMAIL > PROTECTED] You probably want just %u since it

Re: [Dovecot] Multiple "mail" field in one LDAP account

2008-10-18 Thread Timo Sirainen
On Thu, 2008-10-16 at 14:18 +0400, Proskurin Kirill wrote: > Timo Sirainen wrote: > > On Oct 16, 2008, at 12:09 PM, Proskurin Kirill wrote: > > > >> pass_attrs = mail=user,userPassword=password > > > > You could remove the mail=user here and instead set > > auth_username_format=%Lu to make sure

Re: [Dovecot] Request for help with new plugin

2008-10-18 Thread Timo Sirainen
On Thu, 2008-10-09 at 10:26 -0500, John Lightsey wrote: > 1. Is there any documentation of how the hook system and virtual > mailboxes work outside of the source code? Unfortunately I haven't had time to write docs. > 2. I'd like the Trash cleanup to occur at logout, but the closest I > could

Re: [Dovecot] Reporting NFS quotas via IMAP

2008-10-18 Thread Timo Sirainen
On Fri, 2008-10-17 at 18:15 +0200, Edgar Fuß wrote: > I'm confident that the question has been asked before, but I can't > remember the answer. > > I have > -- dovecot 1.1.2 > -- Mail storage (maildir format) on NFS > -- Quotas on that file system > -- A working rquotad > -- mail_plugins = quota

Re: [Dovecot] 1.2: Bug in listing of shared mailboxes with dot in user id

2008-10-18 Thread Timo Sirainen
On Fri, 2008-10-17 at 15:18 +0200, Sascha Wilde wrote: > now, when I subscribe to a shared mailbox of another user with an dot in > the users id, like: users/[EMAIL PROTECTED]/INBOX/foo and I list my > subscribed mailboxes I get: > > l001 lsub "" "*" > * LSUB () "/" "users/[EMAIL PROTECTED]/com/I

Re: [Dovecot] REQ: Dovecot Authentication Problem with PAM

2008-10-18 Thread Timo Sirainen
On Fri, 2008-10-17 at 16:04 +0200, Selim Kraneis wrote: > Oct 17 13:18:42 animal dovecot: auth(default): pam([EMAIL > PROTECTED],127.0.0.1): pam_authenticate() failed: User not known to the > underlying authentication module .. > Oct 17 13:18:40 animal dovecot-auth: (pam_unix) check pass; user un

Re: [Dovecot] deliver not picking up INDEX setting?

2008-10-18 Thread Timo Sirainen
On Sat, 2008-10-18 at 13:54 +0100, Tim Bishop wrote: > I'm using the post-login script approach to give more customisation to > where our users can store their mail. It detects the location and type > of the mailbox at runtime and passes it through using the environment to > imapd. This works great

[Dovecot] deliver not picking up INDEX setting?

2008-10-18 Thread Tim Bishop
I'm using the post-login script approach to give more customisation to where our users can store their mail. It detects the location and type of the mailbox at runtime and passes it through using the environment to imapd. This works great. However, I can't seem to make deliver do the same. I pass

Re: [Dovecot] imap crash (1.1.4)

2008-10-18 Thread Timo Sirainen
On Thu, 2008-10-16 at 15:23 +0200, Ralf Hildebrandt wrote: > #10 0xb80d738a in trash_quota_test_alloc (ctx=0x8ee45d0, size=3527394, Fixed: http://hg.dovecot.org/dovecot-1.1/rev/b6605966e4ec signature.asc Description: This is a digitally signed message part

Re: [Dovecot] Dovecot 1.1.4 / Maildir++ quota and move to trash

2008-10-18 Thread Timo Sirainen
On Fri, 2008-10-17 at 17:38 +0200, Ralf Hildebrandt wrote: > * Xavier Beaudouin <[EMAIL PROTECTED]>: > > Hello, > > > > Seems there is some nasty problems with Dovecot 1.1.4... > > > > We use Maildir++ quota, and when moving mail to Trash, Dovecot just drop > > the connection... when the maildir i

Re: [Dovecot] dovecot-deliver occasionally fails to deliver, leaving no clues

2008-10-18 Thread Timo Sirainen
On Fri, 2008-10-17 at 12:47 -0700, Lucas Madar wrote: > I turned on delivery logging to see what I'd get, and I simply get this: > deliver([EMAIL PROTECTED]): Oct 17 00:36:22 Info: Loading modules from > directory: /usr/local/lib/dovecot/lda > deliver([EMAIL PROTECTED]): Oct 17 00:36:22 Info: Mod

[Dovecot] dovecot-deliver occasionally fails to deliver, leaving no clues

2008-10-18 Thread Lucas Madar
Hello, I have a FreeBSD 7.1 x86 system using dovecot with postfix and a mysql user database. Everything works completely fine, except that on occasion dovecot-deliver fails. When postfix tries to redeliver the message in about 15 minutes, it succeeds. So this isn't a very big problem, jus

Re: [Dovecot] Sendmail and deliver LDA exits with EX_TEMPFAIL on overquota

2008-10-18 Thread Timo Sirainen
On Fri, 2008-10-17 at 22:30 +0300, Sotiris Tsimbonis wrote: > > That should be the default. "quota_full_tempfail" setting controls it, > > do you have it commented out in the config file? (unfortunately lda > > section isn't listed with dovecot -n) > > > > Sorry, I forgot to include this part..