ozpass

Registered
Jan 23, 2013
2
0
1
cPanel Access Level
Root Administrator
Weird situation.

A customer has an email account that is - for reasons unknown and beyond our control - sending out munged reply addresses for his emails occasionally.

Instead of [email protected] it's sending out [email protected].

The webserver is set up as secondary MX for the domain already and therefore has a default account set up for domain.com - the mailserver (separate box) collects mail from this periodically using POP3.

I know that this isn't the sane solution (i.e. fix the issue causing the error in the reply address) but is there any possible way I can get EXIM to accept mail for the www "subdomain" and deliver it to the default address for the account? It wont let me set up a forwarder for a subdomain that doesn't exist. I can't set up a www subdomain because it already exists as a special subdomain for the web traffic.

Hope someone can help!
 

ozpass

Registered
Jan 23, 2013
2
0
1
cPanel Access Level
Root Administrator
Call your Data Center, It seems your host was hosted by www.domain.com as default instead of domain.com
Hi Greenhost.

I'm not quite sure that I follow you. We have our own rack in the datacentre, the account in question is on a server to which we have root access. We also have full control of the DNS records (glue records point to the WHM server on which the account resides, as well as our failover)

In the case I'm discussing, the only thing that we don't have access to are the client's mailserver, and his devices configured to send the mail.

I appreciate that it's a round-the-houses solution to actually configure our WHM/cPanel/Exim box to *accept* mail for [email protected] but it's the option that I have control over.

I found another thread here that suggested parking www.domain.com onto the hosting, but I got an error saying (not unreasonably) that I can't park the default domain on top of itself.

If there was some way of creating an alias to send mail into the [email protected] catchall account I'd be happy to implement it at the commandline. Can /etc/aliases be used in any way?

At present when I tail Exim's main log, I see the connection getting a 550 error - presumably because there's no actual account or forwarder for that email address.