[Dovecot] Postfix, mailbox_command, Dovecot deliver, LDAP and mail_location

Patrick Ben Koetter p at state-of-mind.de
Sat Feb 2 13:04:14 EET 2008


* Timo Sirainen <tss at iki.fi>:
> On Thu, 2008-01-31 at 20:49 +0100, Patrick Ben Koetter wrote:
> > * Timo Sirainen <dovecot at dovecot.org>:
> > > On Thu, 2008-01-31 at 20:36 +0100, Patrick Ben Koetter wrote:
> > > > # Mail delivery
> > > > Jan 31 20:28:20 mail deliver(p): Loading modules from directory: /usr/lib/dovecot/modules/lda
> > > > Jan 31 20:28:20 mail deliver(p): Module loaded: /usr/lib/dovecot/modules/lda/lib10_quota_plugin.so
> > > > Jan 31 20:28:20 mail deliver(p): Module loaded: /usr/lib/dovecot/modules/lda/lib90_cmusieve_plugin.so
> > > > Jan 31 20:28:20 mail deliver(p): maildir: data=/home/p/Maildir
> > > > Jan 31 20:28:20 mail deliver(p): maildir: root=/home/p/Maildir, index=/home/p/Maildir, control=, inbox=
> > > > Jan 31 20:28:20 mail deliver(p): cmusieve: Using sieve path: /home/p/.dovecot.sieve
> > > > Jan 31 20:28:20 mail deliver(p): cmusieve: Executing script /home/p/.dovecot.sievec
> > > > Jan 31 20:28:20 mail deliver(p): msgid=<20080131192820.822F680CCAA at mail.state-of-mind.de>: saved mail to INBOX
> > > 
> > > There's no auth info here, so it's not doing an auth lookup. So you're
> > > not giving -d parameter to deliver?
> > 
> > You mean on the Postfix $mailbox_command? No, I am not.
> 
> The userdb lookup is done only when giving -d dest at user parameter to
> deliver. I don't know if mailbox_command allows that.

Ah!

The Postfix mailbox_command allows to pass optional information as described
in the postconf man page:

$ man 5 postconf | less +/^mailbox_command

Yesterday I came up with this and it works:

mailbox_command = /usr/lib/dovecot/deliver -d "$RECIPIENT"

Thanks for your assistance!

p at rick


-- 
state of mind
Agentur für Kommunikation, Design und Softwareentwicklung

Patrick Koetter            Tel: 089 45227227
Echinger Strasse 3         Fax: 089 45227226
85386 Eching               Web: http://www.state-of-mind.de

Amtsgericht München        Partnerschaftsregister PR 563


More information about the dovecot mailing list