[Dovecot] Dovecot LDA

Steven F Siirila sfs at tc.umn.edu
Mon Oct 9 19:15:44 UTC 2006


On Sun, Oct 08, 2006 at 10:25:53PM +0300, Timo Sirainen wrote:
> On Fri, 2006-10-06 at 21:00 -0500, Steven F Siirila wrote:
> > I am running Dovecot 1.0-rc6 along with dovecot-sieve from 2006-10-05 CVS.
> > I am calling dovecot deliver from Postfix (main.cf):
> > 
> > mailbox_command = /opt/dovecot/libexec/dovecot/deliver
> > 
> > Upon switching to dovecot deliver, I observed two problems:
> > 
> > 1) An extraneous "From " header now appears at the top of each message
> >    delivered, e.g.:
> > 
> > 	From dovecot.deliver  Fri Oct 06 19:59:57 2006
> > 	From sfs at tc.umn.edu  Fri Oct  6 19:59:57 2006
> > 	Return-Path: <sfs at tc.umn.edu>
> > 
> >    Using Postfix delivery the first of these lines does not appear.
> >    This, of course, confuses MUAs.
> 
> Don't give F flag to Postfix's pipe command.

In looking into this further, I see what you're getting at.  There are
commands in postfix/master.cf which specify different flags depending
on what external delivery program is used.  However, I haven't touched
that and none of the entries that came with the standard master.cf file
reference Dovecot, so I'm not sure if any of those entries even apply.
What I changed to cause Dovecot delivery to be initiated was simply the
mailbox_command in postfix/main.cf:

mailbox_command = /opt/dovecot/libexec/dovecot/deliver

I have been unable to determine what, if any, changes are necessary in
the master.cf file to customize what parameters are sent to Dovecot deliver.

Anyone?

> Although this reminds me that the "dovecot.deliver" is wrong in there..
> Hmm. I think I'll add a maildrop-compatible -f <envelope> parameter
> here.

Great.  Now if I could only figure out how to get Postfix to specify that.  :)

> There, done in CVS. I'll also make 1.0rc8 release today.
> 
> > 2) The "Content-Length:" header appears after a blank line, essentially
> >    putting it into the RFC822 body, e.g.:
> > 
> > 	User-Agent: Mutt/1.4.2.1i
> > 	X-UID: 11510
> > 	Status:
> > 	X-Keywords:
> > 
> > 	Content-Length: 200
> > 
> > 	test
> 
> Are you sure it's a blank line? Dovecot adds lots of spaces after
> X-Keywords which could just make it look like that.
> 
> If it really is a blank line, then it's most likely something else than
> Dovecot that changes the spaces that way.



-- 

Steven F. Siirila			Office: Lind Hall, Room 130B
Internet Services			E-mail: sfs at umn.edu
Office of Information Technology	Voice: (612) 626-0244
University of Minnesota			Fax: (612) 626-7593


More information about the dovecot mailing list