Hello List,
I try to use ${original_recipients} in master.cf for an external
commands arguments as service.
The Postfix pipe manual describes it:
${original_recipient}
This macro expands to the complete recipient
address before any address rewriting or
aliasing.
Example:
vacation unix - n n - - pipe
flags=ORhu user=vacation argv=/usr/local/vacation-ng/vacation-ng.py
${original_recipient}
What I want exactly:
there is a simple address, eg: [email protected]. Joe is member of
[email protected] virtual address.
[email protected] also member if [email protected]. If Joe gets an email,
he wants to send an
auto-reply to sender - if the recipients is [email protected]. If
recipient is a virtual address,
he doesn't want to send auto-reply.
But, in that example above the script gets the real address as first
argument, not original
(virtual) address.
What did I miss?
I hope my problem is clear.
Thank you:
a.