On 19/05/2012 8:46 AM, Jeroen Geilman wrote:
On 05/19/2012 04:01 AM, john wrote:
I recently "upgraded" my server to Debian 6.
One of the things that seems to have been changed in the Postfix-Dovecot setup is the configuration of the "mailbox_command".

In my old setup the command was

mailbox_command = /usr/lib/dovecot/dovecot-lda -f ${sender} *-d ${recipient}* -m ${extension}

in the new setup the command is

mailbox_command = /usr/lib/dovecot/dovecot-lda -f ${sender} *-d ${user}@${nexthop}* -m ${extension}

Similarly master.cf has also changed

dovecot   unix  -       n       n       -       -       pipe
flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/dovecot-lda -f ${sender} *-d ${recipient}* -m ${extension}

new setup

dovecot   unix  -       n       n       -       -       pipe
flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/dovecot-lda -f ${sender} *-d ${user}@${nexthop}* -m ${extension}


Which is better and why?


You'd have to consult the relevant *dovecot* documentation for questions relating to *dovecot*

Dovecot does not care what goes here, it just expects a string.

What I am trying to understand is the difference between the Postfix variable ${recipient} and ${user}@${nexthop}, and what are the advantages and/or disadvantages to either one?
Somebody thought it worth making the change, why?
Should I go with the "new and improved" or revert to my older but "tried and true"?

John A

Reply via email to