[Dovecot] virtual plugin, delete mail

2011-06-07 Thread johnw
i use dovecot 2.0.x as imap server,i setup virtual plugin to view all unseen mail. when i delete the mail, it do not delete the real mail, the mail still exist in some mailbox. can i config virtual plugin delete the real mail? please help, and thank you. -- Sent from my Android phone with K-9

Re: [Dovecot] chroot lmtp, then can not open /usr/local/lib/dovecot

2011-06-07 Thread johnw
On 2011年06月07日 02:41, Timo Sirainen wrote: On 6.6.2011, at 19.59, johnw wrote: yes, i did it (put the mail_chroot inside the protocol !lmtp { mail_chroot = /var/vmail/ } and no mail_chroot anywhere. but the both doveconf mail_chroot and doveconf -f protocol=lmtp mail_chroot result is same

[Dovecot] lmtp lowercase/uppercase mailbox problem

2011-06-07 Thread johnw
after upgrade to 2.0.x, and change dovecot-lda to dovecot-lmtp as mail deliver. i find the lowercase/uppercase mail box problem, i see some mail is delivery to uppercase mail box, (my mail box is /var/vmail/johnw, now i see some mail in /var/vmail/JOHNW, i use maildir) it did not happen before

Re: [Dovecot] lmtp lowercase/uppercase mailbox problem

2011-06-07 Thread johnw
On 2011年06月07日 21:15, Timo Sirainen wrote: On Tue, 2011-06-07 at 21:13 +0800, johnw wrote: after upgrade to 2.0.x, and change dovecot-lda to dovecot-lmtp as mail deliver. i find the lowercase/uppercase mail box problem, i see some mail is delivery to uppercase mail box, (my mail box is /var

Re: [Dovecot] chroot lmtp, then can not open /usr/local/lib/dovecot

2011-06-07 Thread johnw
On 2011年06月07日 21:13, Timo Sirainen wrote: On Tue, 2011-06-07 at 19:19 +0800, johnw wrote: Couldn't drop privileges: Process is already chrooted, can't un-chroot for this user and lmtp can not delivery mail This'll fix it: http://hg.dovecot.org/dovecot-2.0/rev/ed05316ed441 Also remove

Re: [Dovecot] chroot lmtp, then can not open /usr/local/lib/dovecot

2011-06-07 Thread johnw
On 2011年06月07日 22:15, Timo Sirainen wrote: On Tue, 2011-06-07 at 22:02 +0800, johnw wrote: On 2011年06月07日 21:13, Timo Sirainen wrote: On Tue, 2011-06-07 at 19:19 +0800, johnw wrote: Couldn't drop privileges: Process is already chrooted, can't un-chroot for this user and lmtp can not delivery

Re: [Dovecot] chroot lmtp, then can not open /usr/local/lib/dovecot

2011-06-06 Thread johnw
On Mon, 06 Jun 2011 17:46:31 +0300, Timo Sirainen wrote: On Sat, 2011-06-04 at 21:48 +0800, johnw wrote: i want to chroot lmtp with sieve, but have some problem, look like lmtp can not load sieve's lib or something. the error message like this: dovecot: lmtp(12799): Fatal: opendir(/usr/local

Re: [Dovecot] chroot lmtp, then can not open /usr/local/lib/dovecot

2011-06-06 Thread johnw
On 2011年06月06日 23:28, Timo Sirainen wrote: On Mon, 2011-06-06 at 23:20 +0800, johnw wrote: (lmtp) Couldn't drop privileges: Process is already chrooted, can't un-chroot for this user i already config mail_chroot, should i remove it?(mail_chroot) any how-to document is for lmtp chroot

Re: [Dovecot] chroot lmtp, then can not open /usr/local/lib/dovecot

2011-06-06 Thread johnw
On 2011年06月06日 23:39, Timo Sirainen wrote: On Mon, 2011-06-06 at 23:36 +0800, johnw wrote: On 2011年06月06日 23:28, Timo Sirainen wrote: On Mon, 2011-06-06 at 23:20 +0800, johnw wrote: (lmtp) Couldn't drop privileges: Process is already chrooted, can't un-chroot for this user i already config

Re: [Dovecot] after upgrade to 2.x, sieve do not create folder

2011-06-06 Thread johnw
On 2011年06月06日 23:38, Timo Sirainen wrote: On Mon, 2011-06-06 at 23:08 +0800, John Wong wrote: after upgrade to 2.x, sieve do not create folder, which do not exist. i remenber(maybe wrong) 1.2.x sieve plugin will create folder, if it do not exist. the sieve log like this failed to store into

Re: [Dovecot] chroot lmtp, then can not open /usr/local/lib/dovecot

2011-06-06 Thread johnw
On 2011年06月07日 00:09, Timo Sirainen wrote: On Tue, 2011-06-07 at 00:02 +0800, johnw wrote: i already config mail_chroot, should i remove it?(mail_chroot) any how-to document is for lmtp chroot? protocol !lmtp { mail_chroot = /somewhere } i added it to 20-lmtp.conf, is it correct

Re: [Dovecot] chroot lmtp, then can not open /usr/local/lib/dovecot

2011-06-06 Thread johnw
On 2011年06月07日 00:42, Timo Sirainen wrote: On 6.6.2011, at 19.32, johnw wrote: Is there another mail_chroot setting elsewhere? The important thing is that when you do: doveconf mail_chroot it shows the chroot, but when you do: doveconf -f protocol=lmtp mail_chroot the result should

[Dovecot] chroot lmtp, then can not open /usr/local/lib/dovecot

2011-06-04 Thread johnw
i want to chroot lmtp with sieve, but have some problem, look like lmtp can not load sieve's lib or something. the error message like this: dovecot: lmtp(12799): Fatal: opendir(/usr/local/lib/dovecot) failed: No such file or directory all is work fine, when not config lmtp chroot. can i config