Wait any opinions.
> I have installed Sendmail 8.10 (release) and SASL 1.5.15.
> I use AUTH feature.
> I want to rewrite Sender email address using virtusertable and userid.
> Can I do it?
What exactly do you mean? Incoming mail can be re-routed with
virtusertable. To rewrite sender addresses, genericstable is used.
Do you want to use the authentication id as sender address? Please
explain.
--
If you feel the urgent wish to send me a courtesy copy of a Usenet
posting, then make sure it's recognizable as such!
The FAQ: http://www.sendmail.org/faq/
Before you ask.
> My plan is using generisctable (name --> email), but I want get name =
> userid (SMTP AUTH).
> Can I do it?
Yes.
You can either simply replace the address by $&{auth_authen} or
deny access if $&f is different from it. The exact details depend
on whether you use authentication mechanisms that support realms
and whether you want to support multiple domains.
Theoretically you can use the macro storage map to store $&{auth_authen}
in $f... You have to play around with that.
Let us know when you wrote a ruleset :-)
Thanks for your attention.