pgnd via Postfix-users:
> in my pfx v3.10.7 config, i've
> 
>       recipient_bcc_maps = ${def_db_type}:${cfg_dir}/recipient_bcc_maps, 
> pcre:${cfg_dir}/recipient_bcc_maps.pcre
> 
> that's always in place, and works as intended
> 
> on occassion, i'd like to add ADDITIONAL, temporary maps.

Suppose you have

    recipient_bcc_maps = xxx:yyy, yyy:yyy

Then you can use a user-defined parameter name like this:

    recipient_bcc_maps = xxx:yyy, yyy:yyy, $extra_recipient_bcc_maps

With 
    extra_recipient_bcc_maps = zzz:zzz
or 
    extra_recipient_bcc_maps =

Alternatively, you can make the extra maps conditional on other
parameters:

    recipient_bcc_maps = xxx:yyy, yyy:yyy,
         ${{$enable_forensics} == {yes} ? {zzz:zzz}}

With
    enable_forensics =yes
or
    enable_forensics = no

By setting "enable_forensics = yes" you add the extra maps; you can
use this trick with other parameter settings, too.

You can make up your own parameter names, just avoid names that
can collide with future Postfix features (names that start with
smtpd_, smtp_, and other prefixes that Postfix already uses).

        Wietse
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to