Matt Saladna via Postfix-users:
> I'd like to export a single var to a set of pipe processes without
> wrapping with env or setting export_environment in main.cf.
>
> This works in main.cf,
>
> export_environment=TZ MAIL_CONFIG LANG X=Y
>
> On the other hand, adding -o export_environment="TZ MAIL_CONFIG LANG
> X=Y" in master.cf results in a parser error, "fatal: unknown attribute
> name: TZ"
Did you reaad "man 5 master"? You should.
> vmaildrop unix - n n - 20 pipe
> -o export_environment="LANG TZ MAIL_CONFIG X=Y"
> flags=XODRhu user=mail argv=/usr/bin/maildrop
Use: -o { export_environment = LANG TZ MAIL_CONFIG ... }
And RTFM.
Wietse
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]