Cory Wright <[EMAIL PROTECTED]> writes:
> tmdabounce would be either defined in /var/qmail/users/assign or a
> special system account, to be controlled by a .qmail-default file.
> example.com would be the domain of the tmda user. So if I have a
> vpopmail virtual domain, example1.com, and a spammer,
> [EMAIL PROTECTED], sends a message to [EMAIL PROTECTED] then bounces
> would go out as:
>
> [EMAIL PROTECTED]
>
> So basically its broken into 3 sections:
>
> (catchall account)-(virtual domain)-(senders address) @
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)
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users