On Tue, 15 Oct 2002, Jason R. Mastaler wrote:

> This can be done with some scripting in your .tmda/config.  Capture
> the appropriate environment variables that qmail-command provides, and
> then do some string manipulation to set BOUNCE_ENV_SENDER.
>
> Here is an example based on the above:
>
> import os
> domain = os.environ.get('HOST')
> sender = os.environ.get('SENDER')
> senderverp = sender.replace('@', '=')
>
> BOUNCE_ENV_SENDER = 'tmdabounce-%s-%s@%s' % (domain, senderverp, domain)

Exactly what I am looking for.  Thanks Jason.

Cory

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to