Ralf Hildebrandt:
> Which $variables are available in a bounce template?

main.cf parameters, including some main.cf parameters with special
suffixes as listed in the bounce(5) manual page.

> The second portion of a bounce template consists of message text. As the
> above example shows, template message text may contain main.cf
> $parameters. Besides the parameters that are defined in main.cf, the
> following parameters are treated spe- cially depending on the suffix that
> is appended to their name.
> 
> I wonder if something like "orig_recipient_domain" is available :)

That is not a main.cf parameter, and it is not a main.cf parameter
with a special suffix as listed in the bounce(5) manual page.

Recipient information would have to be stored into an array (there
can be more than one) of structures that also contain the reason
and other status information. The bounce template would look like
a PHP script.  Not sure if it is a good idea to put a PHP processor
into Postfix.

        Wietse

> -- 
> Ralf Hildebrandt ([EMAIL PROTECTED])          [EMAIL PROTECTED]
> Postfix - Einrichtung, Betrieb und Wartung       Tel. +49 (0)30-450 570-155
> http://www.arschkrebs.de                              I'm looking for a job
> ASCII and ye shall receive. 
> 
> 

Reply via email to