Cory Wright wrote:
> On Oct 5, 2006, at 3:56 PM, [EMAIL PROTECTED] wrote:
>> Log Message:
>> -----------
>> A new command-line option, '-e/--environ' which you can use to add
>> a VAR=value
>> pair to the environment. One example use of this is to allow TMDA
>> to be setup
>> as a Postfix transport. Contributed by Bernard Johnson.
>
> Excellent. I recently migrated my mail server completely off of
> qmail and
> onto Postfix and I spent a lot of time trying to get a transport
> working for
> TMDA using /usr/bin/env. This kept failing for whatever reason, so I am
> glad to see that there will be an easy way to grab environment variables
> in TMDA.
Well, you still have to make TMDA understand the necessary environment
variables to process the email (I do this in /etc/tmdarc) but at least
now you can do this:
(/etc/postfix/master.cf)
# tmda
tmda unix - n n - - pipe
flags=Rqhu user=mailuser argv=/usr/bin/tmda-filter -c /etc/tmdarc -e
SENDER=${sender} -e RECIPIENT=${recipient} -e EXTENSION=${extension} -e
USER=${user}
_________________________________________________
tmda-workers mailing list ([email protected])
http://tmda.net/lists/listinfo/tmda-workers