Using wildcards in virtusertable for sendmail: resources, pointers, and simple examples, please.
July 7, 2004 6:49 PM
Subscribe
Using wildcards in virtusertable for sendmail: resources, pointers, and simple examples, please. Google-fu fails to provide examples that answer my questions. [emm eye]
While the basic question, "Can I use wildcarded addresses at the server level with sendmail?" leads to the answer "of course, using vitusertable," the examples generally seen have broad scope:
myemail@somedomain.com -> %1@otherdomain.com
Compounding this is the sendmail-specific wildcarding scheme, which I still don't completely grok.
can I wildcard something like this?
[*+]foo[*+]@mydomain.com -> specificaddress@mydomain.com
(please note my also-primitive grasp of grep may mislead. I'm hoping that pseudo-address translates verbally to "any number and combination of characters on either or both sides of a specific string.")
So I think there are two parts here.
1. can I use virtusertable to set up subset-catchalls and direct them to the same domain?
2. can I get grep-style (grep-ish, what have you) wildcarding in virtusertable?
TIA!
posted by mwhybark to computers & internet (2 comments total)
By "[*+]foo[*+]" I'd guess you mean ".*foo.*"
Anyway, I don't know sendmail, sorry. Switched to postfix long ago, which apparently supports regular expressions in aliases, which would probably do what you want.
posted by sfenders at 8:42 PM on July 7, 2004