Newbie wants Email Forwarding using a mask. Is it possible?
Hi All,I originally posted this at my Webhost's forums, but I haven't received any responses yet. I am hoping I can get an answer from a wider audience.
I have been searching far and wide for information on how to use a mask for email forwarding, but I haven't found any posts on this subject. I don't know if it is because I am using incorrect search terminology, because what I want to do is not possible, or people don't really give a *bleep* about this!! In any case, I apologize if this question has already been addressed.
I want to forward messages using masks similar to the following:
I want email sent to: *abc@mydomain.com, *xyz@mydomain.com
forwarded to: abc@mydomain.com, xyz@mydomain.com, respectively.
I have a catchall which sends all unrouted email to mydomain@mydomain.com.
Test1
====
After I create my attempt at the mask with an "*" (using cpanel 6), entries in /etc/valiases/mydomain.com look like:
*abc@mydomain.com: abc@mydomain.com
*: mydomain (the catchall)
Results1
======
My catchall works as it should, but the attempted mask doesn't do what I think it should and my test emails wind up in the catchall account.
Test2
====
I tried to modify the valiases file to remove the "@mydomain.com" to see if that was the issue:
*abc: abc
*: mydomain
Results2
======
Same results: *abc@mydomain.com forwards to mydomain@mydomain.com.

Tests3-9999
==========
Variations on a theme
Results3-9999
===========
Same

I appreciate any ideas, suggestions and workarounds for masking and forwarding. I know there must be 100 ways to do this, I just need to know one or two. I'm a newbie; I can modify files on the server, but if scripting is required, I'll have to read a manual first.
Thanks in advance,
Jabberwock