The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need to accept email for user@www.domain.com

Discussion in 'E-mail Discussions' started by ozpass, Jan 23, 2013.

  1. ozpass

    ozpass Registered

    Joined:
    Jan 23, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    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 user@domain.com it's sending out user@www.domain.com.

    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!
     
  2. Greenhost

    Greenhost Well-Known Member

    Joined:
    Jan 22, 2013
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    6
    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
     
  3. ozpass

    ozpass Registered

    Joined:
    Jan 23, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    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 user@www.domain.com 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 user@domain.com 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.
     
Loading...

Share This Page