Forwarding email from a parked domain to the correct primary domain POP account

spaceman

Well-Known Member
Mar 25, 2002
517
8
318
When I park a domain over another domain (I'll call it the 'primary' domain), emails sent to the parked domain should automatically map to the appropriate POP account of the primary domain.

[email protected] => [email protected]

Or more generally, the parked domain should inherit all the mail settings of the primary domain, ie. forwarders, filters, etc.

Yes, I'm sure I can do some funky command line editing of some server files to make this happen (which may or may not get reset with the next automatic cpanel/whm/ensim upgrade), but I'm talking about Cpanel/WHM USABILITY here (one of my favourite topics as a web developer).

This is what people expect to happen (not unreasonably) by default.

'Nuff said.

cPanel.net Support Ticket Number:
 
Last edited:

spaceman

Well-Known Member
Mar 25, 2002
517
8
318
Nope :). I'm hoping that in due course this feature will be integrated into WHM/cPanel. Not holding my breath though!
 

TCSLEA

Active Member
Oct 29, 2003
36
0
156
Austin, T E X A S
reason it doesn't work the old way

According to an email from cPanel tech support, cPanel USED to cause parked domains to inherit the properties (so-to-speak) of the main domain, so that email incorrectly sent to [email protected] would automagically be sent to [email protected]

Apparently the majority of the cPanel users saw this as a bug, not a feature, and it was recently changed. Now each parked domain email account is separate from matching email accounts on the main domain. This means that [email protected] is an entirely different email account than [email protected] (ie: [email protected] is not the same as [email protected] or [email protected])

There IS a way to make several file changes to get it back to the old way...

My solution was to create an email autoresponder that sent notice that they were using the wrong domain, and told them what the correct domain was. I then made the autoresponder the default (aka catchall) email address for that parked domain.
 

tcwebguy

Active Member
Sep 28, 2001
31
0
306
Code changes...

Anyone know what those changes are that would allow that? Can you make the changes on a per-domain basis?
 

TCSLEA

Active Member
Oct 29, 2003
36
0
156
Austin, T E X A S
changes

Here is the relevant excerpt from the email I got from tech support, which may be of some help:

You may be able to get around this by deleting the .com and .net domain files in /etc/valiases/ and symlinking them to the .org, so that any changes to the .org would be mirrored in the other two. You might also need to do this symlinking for /home/user/etc/domains.tld to /home/user/etc/domain.com/passwd (and shadow) and then also /home/user/mail/domains.tld to /home/user/mail/domain.com .
Chris