Forward mails to Main Account

sinistar

Registered
Oct 14, 2006
3
0
151
Hi Community,

I've read through quite a few threads regarding my problems but it seems I just don't get it right. Following situation:

I do have rented webspace which is administrated with cPanel. In the Mail manager it shows me the Main Account (username) and a new created account called [email protected]. [email protected] is also set as default adress (catch-all).

I use the Main Account and I want to have several mail adresses forward to the Main Account, i.e. [email protected] .... [email protected]. If I set up a forwarder to just username w/o the @domain.com part cPanel automatically adds the last part.

My problem now is, that all email regardless if it is sent to [email protected] or [email protected] or even [email protected] is send to the [email protected] mailbox.

So how can I use the Main Account mailbox so that I receive the mails for name1 through [email protected] as well ass [email protected]?

Thanks in advance
sinistar
 

freedog96150

Well-Known Member
Mar 25, 2005
68
0
156
Nevada, USA
Just make your Main Account the catch-all, instead of the spam@ account. Keep in mind that you will now receive all emails not destined for an actual account. The only other way is to alias(forward) each name that you DO want to receive to your main account.

From the cPanel for the domain in question, go to Mail --> Default Address --> Set Default Address and input your Mian Account email address. Click Save and you are done.
 

freedog96150

Well-Known Member
Mar 25, 2005
68
0
156
Nevada, USA
Oops! A classic case of not reading the question twice to determine what is really being asked. Do not know about anyone else, but I have my catch-all (default) set to :fail: No such user here. This is discussed in great length in the forums and Chirpy has a full dissertation on why to use fail posted at his website at http://configserver.com/free/fail.html. Try changing your catch-all from spam@ to the recommended :fail: and see what happens. If it still does not work, then you may need to open a support ticket with your hosting provider as this sound like more of a problem with their mail server configuration versus your forwarding configuration.
 

gflamerich

Well-Known Member
Jul 21, 2003
122
0
166
sinistar said:
That's exactly what I do NOT want. On my Main Account I ONLY want the name1 through [email protected] to be received. Alle the rest shall go to [email protected]. So how can I forward a mail to my Main Account (username)? If I forward to [email protected] it also is dropped at [email protected].
I don't think you can do that from cpanel.
The only way to do a forward to the main account is editing /etc/valiases/domain.com.
So, if you don't have root access this will be impossible. Use main account with a default address other than main accout is not compatible, unless you can edit /etc/valiases/domain.com
 

sinistar

Registered
Oct 14, 2006
3
0
151
Hello,

thanks for that :fail:-link. I do want to set it to fail later on, but right now, I do want to receive _all_ mail for my domain due to some observation of mine.

I have access to etc/domain.com, there is no etc/valiases/ folder. Am I missing something. In etc/domain.com/ are three files: passwd, quota, shadow. Now what would be the next step?

Thanks in advance
sinistar
 

gflamerich

Well-Known Member
Jul 21, 2003
122
0
166
sinistar said:
Hello,

I have access to etc/domain.com, there is no etc/valiases/ folder. Am I missing something. In etc/domain.com/ are three files: passwd, quota, shadow. Now what would be the next step?

Thanks in advance
sinistar
That /etc/domain.com is inside your home domain diectory.
When I refered to the /etc/valiases/domain.com is the main server /etc directory. It can be edited by root, so you may ask your ISP to edit that, otherwise, you shoul use mail filters, forwarders and default account to achive same or similar behavior.