How to create a "catch all" email account

Can anyone tell me the mechanics used by CPANEL to create a default email account?

This is the account where email goes if it's not addressed to a valid account on the system, or it's not already forwarded to another account.

The behavior appears to be:

Mail is delivered to an actual account on the system unless this account is forwarded, or there is no such account. If there is no such account, the mail is delivered to the "default account", which can also be forwarded. If there is no default account, the mail bounces.

Is this really how it works?

Is this done with sendmail rewrite rules or what?

Thanks,

-t

 

 

 

 

Top