Re: [Dovecot] Broken dovecot-uidlist files

2009-02-23 Thread Ulrich Zehl
On Mon, Feb 23, 2009 at 12:10:29PM -0500, Timo Sirainen wrote: > On Mon, 2009-02-23 at 16:27 +0100, Ulrich Zehl wrote: > > I did > > > > # mount -o remount,actimeo=0 /srv/storage > > To both servers? There's three Dovecot servers (NFS clients), actually, and I remounted /srv/storage on all of th

[Dovecot] "dovecot-uidlist: Duplicate file entry at line" error

2009-02-23 Thread Dovecot List
This is with respect to an error that I am facing in dovecot. The error is that is seen in logs is "Feb 23 00:04:46 mailblade1 dovecot: IMAP(USERNAME): /indexes/USERNAME/.INBOX/dovecot-uidlist: Duplicate file entry at line 7: 1234776125.M559298P3988.s2o.qlc.co.in,S=13111,W=13470:2, (uid 94277 -> 9

Re: [Dovecot] Postfix LDA vs the Dovecot LDA + other quetions

2009-02-23 Thread Linux Advocate
thanx timo, u were right. i am confusing things. vmail needs to exist as a unix user (nologin priveleges) not as a virtual user. just give ownership of the folders to vmail... since postfix LDA doesnt need to acccess the folders anymore... right? will test dovecot lda and report back. > > >

Re: [Dovecot] Postfix LDA vs the Dovecot LDA + other quetions

2009-02-23 Thread Timo Sirainen
On Feb 23, 2009, at 9:35 PM, Linux Advocate wrote: I just heard that Postfix doesn't allow you to do that (as you would have noticed too). So just use vmail. Ok. but its amazing that dovecot can deliver as vmail, a user who doesnt exist.how does it accomplish this? Huh? Maybe you're

Re: [Dovecot] Postfix LDA vs the Dovecot LDA + other quetions

2009-02-23 Thread Linux Advocate
> >>> my /home/vmail/ directories are owned by postfix. do i then need to make > >> vmail a member of the group? > >> > >> You could just execute Dovecot LDA using postfix user. > >> > > > > Therefore, ( copied from dovecot wiki, http://wiki.dovecot.org/LDA/Postfix ) > > > > > > dovecot u

Re: [Dovecot] Postfix LDA vs the Dovecot LDA + other quetions

2009-02-23 Thread Timo Sirainen
On Feb 23, 2009, at 9:23 PM, Linux Advocate wrote: Timo, if we use the dovecot LDA, we do need to create a user "vmail" , with no login priveleges etc? No. my /home/vmail/ directories are owned by postfix. do i then need to make vmail a member of the group? You could just execute Doveco

Re: [Dovecot] Postfix LDA vs the Dovecot LDA + other quetions

2009-02-23 Thread Linux Advocate
> >> > >>> 3. Quota Management ( Creating, enforcing, notifying ) - is it done thru > >> dovecot or postfix or are both needed? > >> > >> Depends on if you use Dovecot LDA. If not, then both. > > > > Timo, if we use the dovecot LDA, we do need to create a user "vmail" , with > > no > login

Re: [Dovecot] Postfix LDA vs the Dovecot LDA + other quetions

2009-02-23 Thread Timo Sirainen
On Feb 23, 2009, at 8:49 PM, Linux Advocate wrote: On Sun, 2009-02-22 at 23:58 -0800, Linux Advocate wrote: 2. What is the benefit of using Dovecot's SASL as compared to Cyrus SASL? Is there better performance? Probably not, but I've always hated configuring Cyrus SASL. It's not as f

Re: [Dovecot] Postfix LDA vs the Dovecot LDA + other quetions

2009-02-23 Thread Linux Advocate
> > On Sun, 2009-02-22 at 23:58 -0800, Linux Advocate wrote: > > 2. What is the benefit of using Dovecot's SASL as compared to Cyrus SASL? > > Is > there better performance? > > Probably not, but I've always hated configuring Cyrus SASL. It's not as > flexible and the error and debug message

Re: [Dovecot] OT: Fixing Messages To Be RFC 2822 Compliant

2009-02-23 Thread Neil
Thank you for the suggestion. Will this still work if I'm using the maildir format? (Something I should've mentioned upfront, sorry...) On Mon, Feb 23, 2009 at 5:17 AM, Darabos Edvárd Konrád < n...@hippy.csoma.elte.hu> wrote: > Hi! > > EXAMPLES > ... > To convert a non-standard mailbox f

Re: [Dovecot] pkgsrc-ing sieve and managesieve

2009-02-23 Thread Timo Sirainen
On Mon, 2009-02-23 at 22:55 +0100, Edgar Fuß wrote: > I'm trying to integrate both the new sieve implementation and managesieve > into pkgsrc. > > Managesieve seems to need some dovecot libraries that dovecot doesn't install > (lib-storage/libstorage.a, lib-auth/libauth.a, lib-imap/libimap.a, >

[Dovecot] pkgsrc-ing sieve and managesieve

2009-02-23 Thread Edgar Fuß
I'm trying to integrate both the new sieve implementation and managesieve into pkgsrc. Managesieve seems to need some dovecot libraries that dovecot doesn't install (lib-storage/libstorage.a, lib-auth/libauth.a, lib-imap/libimap.a, lib-index/libindex.a, lib-mail/libmail.a, lib-charset/libcharse

Re: [Dovecot] sieve-test again

2009-02-23 Thread Ian P. Christian
2009/2/23 Stephan Bosch : > This was also an issue for `deliver -p` and this is fixed by Timo. That's fantastic Stephan, thanks!

Re: [Dovecot] sieve-test again

2009-02-23 Thread Stephan Bosch
Ian P. Christian schreef: 2009/2/23 Ian P. Christian : I'm not sure what it is I'm doing wrong here, perhaps my 'test' mail is not in the format expected by sieve-test. I don't know why I didn't figure this out from my previous mail/error. sieve-test appears not to handle relative paths as it

Re: [Dovecot] Postfix LDA vs the Dovecot LDA + other quetions

2009-02-23 Thread Timo Sirainen
On Mon, 2009-02-23 at 13:14 -0500, Charles Marcus wrote: > > And having Dovecot support also client SASL would require a lot of > > new code which isn't used by Dovecot itself anywhere. > > I understand... but it would still be nice... ;) maybe a good candidate > for the Goggle Summer of Code? Ma

Re: [Dovecot] Postfix LDA vs the Dovecot LDA + other quetions

2009-02-23 Thread Charles Marcus
On 2/23/2009 12:12 PM, Timo Sirainen wrote: 2. What is the benefit of using Dovecot's SASL as compared to Cyrus SASL? Is there better performance? >>> Probably not, but I've always hated configuring Cyrus SASL. It's >>> not as flexible and the error and debug messages are worse. >> I a

Re: [Dovecot] Postfix LDA vs the Dovecot LDA + other quetions

2009-02-23 Thread Stephan Bosch
Timo Sirainen schreef: On Mon, 2009-02-23 at 09:50 -0500, Charles Marcus wrote: On 2/23/2009 9:21 AM, Timo Sirainen wrote: On Sun, 2009-02-22 at 23:58 -0800, Linux Advocate wrote: 2. What is the benefit of using Dovecot's SASL as compared to Cyrus SASL? Is there better performance? Probably

Re: [Dovecot] from postfix deliver to dovecot deliver

2009-02-23 Thread Pascal Volk
On 23.02.2009 09:13 Johan Hendriks wrote: > One more question regarding this. > All the howto's are using a seperate user for the dovecot LDA, like vmail. > Now all my mailboxes have the userid and groupid from postfix. > Can i use the postfix user for the dovecot LDA? > Citing PIPE(8postfix):

Re: [Dovecot] Postfix LDA vs the Dovecot LDA + other quetions

2009-02-23 Thread Timo Sirainen
On Mon, 2009-02-23 at 09:50 -0500, Charles Marcus wrote: > On 2/23/2009 9:21 AM, Timo Sirainen wrote: > > On Sun, 2009-02-22 at 23:58 -0800, Linux Advocate wrote: > >> 2. What is the benefit of using Dovecot's SASL as compared to Cyrus SASL? > >> Is there better performance? > > > > Probably not

Re: [Dovecot] Broken dovecot-uidlist files

2009-02-23 Thread Timo Sirainen
On Mon, 2009-02-23 at 16:27 +0100, Ulrich Zehl wrote: > > > On the client side, it's Linux 2.6.23.16. All attribute cache related > > > values are at their default, as far as I can tell. The entry in fstab > > > reads: > > > > > > nfs-server:/srv/storage /srv/storage nfs > > > rw,nfsvers=3,hard,i

Re: [Dovecot] sieve-test again

2009-02-23 Thread Ian P. Christian
2009/2/23 Ian P. Christian : > I'm not sure what it is I'm doing wrong here, perhaps my 'test' mail > is not in the format expected by sieve-test. I don't know why I didn't figure this out from my previous mail/error. sieve-test appears not to handle relative paths as it's 2nd param. This works:

[Dovecot] lda catchall

2009-02-23 Thread Stéphane Cottin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'm using dovecot lda in a qmail / vpopmail testing environnement. I would like to replace vpopmail lda with dovecot's one , because of quotas , sieve filers, indexing while delivering ... Everything is working great, except the catchall. If I

Re: [Dovecot] Broken dovecot-uidlist files

2009-02-23 Thread Ulrich Zehl
On Fri, Feb 20, 2009 at 05:50:28PM -0500, Timo Sirainen wrote: > On Tue, 2009-01-27 at 08:30 +0100, Ulrich Zehl wrote: > > On Mon, Jan 26, 2009 at 10:02:19AM -0500, Timo Sirainen wrote: > > > Perhaps the NFS cache flushing doesn't work then for some reason. What > > > OS (kernel) are you using on t

Re: [Dovecot] Postfix LDA vs the Dovecot LDA + other quetions

2009-02-23 Thread Charles Marcus
On 2/23/2009 9:21 AM, Timo Sirainen wrote: > On Sun, 2009-02-22 at 23:58 -0800, Linux Advocate wrote: >> 2. What is the benefit of using Dovecot's SASL as compared to Cyrus SASL? >> Is there better performance? > > Probably not, but I've always hated configuring Cyrus SASL. It's not as > flexibl

Re: [Dovecot] Which email clients support SMTP/IMAP via STDIN&STDOUT of proxy command?

2009-02-23 Thread Andrzej Adam Filip
Timo Sirainen wrote: > On Sun, 2009-02-22 at 17:59 +0100, Andrzej Adam Filip wrote: >> Which email clients support SMTP/IMAP via STDIN&STDOUT of proxy command? > > For which OS? I know at least Evolution, mutt and pine support imap > proxy commands. No idea about SMTP. For future readers referen

[Dovecot] sieve-test again

2009-02-23 Thread Ian P. Christian
I'm not sure what it is I'm doing wrong here, perhaps my 'test' mail is not in the format expected by sieve-test. The 'test' file is a file taken directly from a dovecot maildir - so is in the normal format of having headers, a new line, then the body. There is nothing exceptional about this email

Re: [Dovecot] Postfix LDA vs the Dovecot LDA + other quetions

2009-02-23 Thread Timo Sirainen
On Sun, 2009-02-22 at 23:58 -0800, Linux Advocate wrote: > 2. What is the benefit of using Dovecot's SASL as compared to Cyrus SASL? Is > there better performance? Probably not, but I've always hated configuring Cyrus SASL. It's not as flexible and the error and debug messages are worse. > 3. Q

Re: [Dovecot] sieve-test issue

2009-02-23 Thread Ian P. Christian
2009/2/23 Ian P. Christian : > # sieve-test -c ../../../sieve/default.sieve > 1235038385.M765212P13483.tch-mailstore1\,S\=3927\,W\=4017\:2\,S > Fatal: Can't open mail stream as raw > Running strace on this, I see it's trying to do this: open("sieve/default.svbin.tmp", O_WRONLY|O_CREAT|O_TRUNC, 06

[Dovecot] sieve-test issue

2009-02-23 Thread Ian P. Christian
Hi all, I'm using a build of dovecot 1.2, and I'm seeing this: # ls -al 1235038385.M765212P13483.tch-mailstore1\,S\=3927\,W\=4017\:2\,S -rw--- 1 mail mail 3927 2009-02-19 10:13 1235038385.M765212P13483.tch-mailstore1,S=3927,W=4017:2,S (r...@tch-mailstore1:/mailstore/mail/domain.net/i/ian/mai

Re: [Dovecot] Update on Issues

2009-02-23 Thread Charles Marcus
On 2/22/2009, Gene Steinberg (g...@macnightowl.com) wrote: > Linux server.paracastworld.net 2.6.27.15 Ummm... I think thats a quesion for your Distro support... Timo can't be expected to keep up with which kernel works and which doesn't from x number of patched kernels from x # of distro's. --

Re: [Dovecot] v1.2.beta1 released

2009-02-23 Thread Sascha Wilde
Timo Sirainen writes: > On Thu, 2009-02-12 at 13:10 +0100, Sascha Wilde wrote: >> - cyrus imapd actually tries[1] to implement a variant of this >> possibility in that it does not allow to remove the 'a' right from the >> owner: > > I implemented this to Dovecot now too. Good. :) I just

Re: [Dovecot] OT: Fixing Messages To Be RFC 2822 Compliant

2009-02-23 Thread Darabos Edvárd Konrád
Hi! EXAMPLES ... To convert a non-standard mailbox file into a standard mailbox file you can use: formail -ds >new_mailbox Or, if you have a very tolerant mailer: formail -a Date: -ds >new_mailbox ... These are not working based on explicit

Re: [Dovecot] IMAP ACLs and global ACLs in v1.2

2009-02-23 Thread Sascha Wilde
Timo Sirainen writes: > On Thu, 2009-01-15 at 17:48 +0100, Sascha Wilde wrote: >> > But should it just internally convert "owner" to "username" when >> > replying? >> >> From our experience this would be a very good idea. Many clients >> recognize the username and handle those ACLs differently i

Re: [Dovecot] OT: Fixing Messages To Be RFC 2822 Compliant

2009-02-23 Thread Neil
Hi, Yeah, I'm vaguely familiar with formail, but (after reviewing the literature) it doesn't seem like it can be used to identify/fix existing messages (unless you already know how they're broken and give it explicit instructions to fix them). Is there something I'm missing? Thanks. On Mon, Feb

Re: [Dovecot] OT: Fixing Messages To Be RFC 2822 Compliant

2009-02-23 Thread Darabos Edvárd Konrád
Hello! I am not sure about what you want, but I found something that maybe useful for you. http://gd.tuwien.ac.at/linuxcommand.org/man_pages/formail1.html Bye Neil wrote: Soapparently I have some messages which are not RFC compliant sitting in my mailboxes (mostly older ones), and

[Dovecot] OT: Fixing Messages To Be RFC 2822 Compliant

2009-02-23 Thread Neil
Soapparently I have some messages which are not RFC compliant sitting in my mailboxes (mostly older ones), and I have some software which is refusing to handle such messages. 1. Does anyone know of a nice way to verify that all my messages are compliant/find those that aren't? (I suppose I cou

Re: [Dovecot] Postfix LDA vs the Dovecot LDA + other quetions

2009-02-23 Thread Geert Hendrickx
On Sun, Feb 22, 2009 at 11:58:01PM -0800, Linux Advocate wrote: > > Guys , > > 1. What is the benefit of using Dovecot' LDA as compared to postfix's > LDA? Will there be better performance? With Dovecot's LDA, mailbox indexes are updated at mail delivery time instead of (only) at pop3/imap log

Re: [Dovecot] dovecot auth

2009-02-23 Thread ben
You were right... I changed the %n to %Lu in the passdb file scheme and everything is working now :-) thx a lot On Sun, 2009-02-22 at 13:42 +0100, Andrzej Adam Filip wrote: > ben wrote: > > > tried %Lu, dovecot seems to still strip of the domain part before > > looking it up in dovecot.passwd.

Re: [Dovecot] from postfix deliver to dovecot deliver

2009-02-23 Thread Johan Hendriks
Johan Hendriks schreef: Hello all. I use dovecot in combination with postfix, postfixadmin for virtual users. Deliver to the mailbox now is done by postfix Now i want to enable quota's and therefor i need dovecot deliver. Can i just switch to dovecot deliver? Or must i first do some prrperation