[TriLUG] wildcards in /etc/aliases
Brian Henning
brian at strutmasters.com
Wed Jul 26 11:33:44 EDT 2006
Woo-hoo to self-replying.. Anyway, if anyone else wishes to perform
such silliness, here's what I came up with to accomplish my goal.
There aren't really wildcards in /etc/aliases (that I could find), but
according to the aliases manpage: "...When alias database search fails,
and the recipient localpart contains the optional recipient delimiter
(e.g., user+foo), the search is repeated for the unextended address
(e.g., user)."
So, I changed my scheme to "unsub+nnnn" and aliased "unsub", with
positive results.
~B
Brian Henning wrote:
> Hi Gang!
> Can anyone tell me if wildcards are possible in /etc/aliases? Or a
> better way to achieve unsub-nnnn at mydomain.com being a valid recipient,
> where nnnn is a number of one to six digits. Without having to
> completely re-roll my mail setup (sendmail on FC3)...
>
> Cheers,
> ~Brian
>
--
----------------
Brian A. Henning
strutmasters.com
336.597.2397x238
----------------
More information about the TriLUG
mailing list