Default Account - :blackhole: / :fail: not working correctly

rinty

Well-Known Member
May 31, 2002
45
0
306
Hi,

We are currently having a problem with CPanel where if you set Default Account to :fail: the main account email box does not receieve email...

anyideas why this is happening?
 

rinty

Well-Known Member
May 31, 2002
45
0
306
But it says only unrouted mail wont get through.. so ???
 

scsiman

Registered
Jan 29, 2003
4
0
151
I agree it says all unrouted email.

Is there a way to fix this, as it is broken. If I have a main account of [email protected] and I set the default address to :fail: it should allow mail to [email protected] and reject anything else that does not exist on the server.

IE:

Main Account: bobby
Other email: [email protected]
another one: [email protected]
another one: [email protected]

If I set Default Address to :fail: then....

Emails to webmaster, suzzy, tim, AND bobby should pass through since they exist, but mail to [email protected] should be bounced ( if using :fail: ) or eaten ( if using :blackhole )
This is the way I read the documentation for CPanel.
 

JustinK

Well-Known Member
Sep 4, 2001
251
0
316
The problem comes when someone doesn't want mail to the main username at all. As it is now, it works great for those people which were complaining before since they didn't have an option for that.

You can manually edit the alias file for the domain (/etc/valiases/theirdomain.com) and add the following line in to fix that:
[email protected]: mainuser