Jerry Geis 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?
I don't think this is possible. You can enable getting a copy of bounces to the postmaster account, but the bounce is still delivered to invalid addresses. Or you could use a milter like MimeDefang to alter the destination.