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: j...@example.com. Joe is member of
i...@example.com virtual address.
b...@example.com also member if i...@example.com. If Joe gets an email,
he wants to send an
auto-reply to sender - if the recipients is j...@example.com. 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.

Reply via email to