Read this in the dovecot sieve wiki: "The envelope sender is taken from a Return-Path: header in the message. The envelope recipient is taken from -d option passed to deliver." Is "-d" still a valid deliver switch? When I configure postfix's main.cf like so... mailbox_command = /usr/local/libexec/dovecot/deliver -d -e ..it sqwaks with, "Jun 18 18:44:50 G518X2 deliver(-e): net_connect(/ usr/local/var/run/dovecot/auth-master) failed: No such file or directory" when configured like so... mailbox_command = /usr/local/libexec/ dovecot/deliver -e -d ${recipient} ..it burps with, "Jun 18 18:56:40 G518X2 postfix/local[19766]: 3BBC16C96E0: to=<me at mydomain.com>, relay=local, delay=0, status=bounced (command line usage error. Command output: Fatal: Missing destination argument )" It doesn't like... mailbox_command = /usr/local/libexec/dovecot/ deliver -e -d "$recipient" either! Is -d required any longer... and if so, how, please. B. Bodger
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 18 Jun 2007, Bruce Bodger wrote:> net_connect(/usr/local/var/run/dovecot/auth-master) failed: No such file or > directory"It looks like your Dovecot Auth Master is missing, didst you read: http://wiki.dovecot.org/LDA section "With a lookup"? Bye, - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBRnecai9SORjhbDpvAQIXdAgAx9JDmhSBDAYUzHXgDBkwxm3GZoFnxOqP uBpl2o/wlBNNq1CMQ7H778oLyNUveNmBqmf6zVwsfw2vD9HN7mEJqbR/mxAfOK+L JfE1UovBR2nT24OrhYcx+lMkMs6CS1YIdJhw/bFDH8Hr0h+NtDjMe4yahVPAi1ap Gqsk0F8gIKc/wlVWPrIZvmj8AWH9+mLodjE+4st8Jjsfe6aOfzeSRMEqdRzKRonR SoJVo/n9aC0EdEb8hO+mAeGXVRkhbHnyf1AkshzZR/0pMA4wn1A2NMf27CSKJMDA M9tqgQGyCq7zyqXFaTMxI2vEgDfimTnAbEp43EpkljQ45MjuUwk/ww==4Dju -----END PGP SIGNATURE-----
On Mon, 2007-06-18 at 19:08 -0400, Bruce Bodger wrote:> Read this in the dovecot sieve wiki: > > "The envelope sender is taken from a Return-Path: header in the > message. The envelope recipient is taken from -d option passed to > deliver."It should be -f actually. Fixed in wiki.> mailbox_command = /usr/local/libexec/dovecot/deliver -d -eAnd if you do use it, you'll need to give the envelope parameter after the -f. I don't know if you can do this with mailbox_command. In any case if Return-Path: header is written (and I think it is with mailbox_command), there's no need for -f. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070619/36bb97cf/attachment-0002.bin>