[EMAIL PROTECTED] wrote:

I use a bunch of virtual domains and I'd like to have tmda automatically use a different source address when sending challenges. How would I do that?

This might just work automatically - I don't recall, but TMDA might generate it's challenge requests simply by rewriting the destination address of the email it's processing. Try it!


(Although this won't work with tmda-ofmipd - the best way is to configure your email client with a set of identities, and select the correct one each time you send email)

If not...

You'll need to use a different TMDA configuration for each virtual domain.

So, setup your MTA to deliver mail for each domain's email to a different location. Each of these locations should somehow point TMDA at a separate config file.

You could do this by making the user for each domain have a different HOME directory, with a whole Maildir/mailbox, TMDA configuration etc.

Or, if you're using qmail, you'll can create .qmail files along the lines of:

.qmail-domain1
.qmail-domain1-default (symlink to .qmail-domain1)
.qmail-domain2
.qmail-domain2-default (symlink to .qmail-domain2)

all in the same dir. .qmail-domain1 and .qmail-domain2 should pass options to tmda-filter to point at a different .tmdarc file, each of which can define a different email address and then include a common config file.

--
Stephen Warren, Software Engineer, NVIDIA, Fort Collins, CO
[EMAIL PROTECTED]     http://www.wwwdotorg.org/pgp.html
_____________________________________________
tmda-users mailing list ([email protected])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to