[CentOS] /etc/aliases file wildcard

Radu Radutiu rradutiu at gmail.com
Wed Oct 28 13:03:19 UTC 2009


On Wed, Oct 28, 2009 at 3:14 AM, Jerry Geis <geisj at pagestation.com> wrote:
> I have been trying to find out if the /etc/aliases file
> can accept wildcards in the user name
>
> I was hoping that a line like or similiar:
>
> machine*: myaccount
>
> would take any name matching machine* and forward onto the myaccount
> mailbox.
>
> man aliases didnt really help me nor did I find anything else.
> Is there a way to pattern match in /etc/aliases with an * or something?
>
> Thanks,
>
> Jerry

I think that it is possible to do this by using postfix and the
/etc/postfix/virtual config file.

Regards,

Radu



More information about the CentOS mailing list