[Dovecot] parameters to deliver
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@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:
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 Jun 19, 2007, at 5:05 AM, Steffen Kaiser 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:
section "With a lookup"?
I understand your point and thank you for your reply. Even though
your response is valid I don't think it's the answer to my question
since, in my case, I have no virtual users so I really shouldn't need
to define a lookup. The question:
"Is -d required any longer... and if so, how, please."
My overall goal relates to incorporating the use of the dovecot sieve
module. My current 'deliver' command line within postfix's main.cf
"mailbox_command = /usr/local/libexec/dovecot/deliver -e" is working
fine. When incorporating the sieve filter I came across this in the
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."... and wondered if I MUST modify the 'deliver' command line
to properly run sieve (and its vacation script).
Thank you again, B. Bodger
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 -e
And 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.
On Tue, 2007-06-19 at 15:55 +0300, Timo Sirainen wrote:
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.
No, I read it wrong originally. Changed the wording:
"The envelope recipient is taken from the recipient user (-d parameter with virtual user setup)."
So it's not required to give -d with system user setup.
participants (3)
-
Bruce Bodger
-
Steffen Kaiser
-
Timo Sirainen