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.

Email domain forwarding is not working

Discussion in 'E-mail Discussions' started by ptselvan, Mar 3, 2005.

  1. ptselvan

    ptselvan Registered

    Joined:
    Sep 24, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I have setup an email domain forwarding through cpanel, but it is not working.

    Need to setup domain1.com to redirect to domain2.com, any email send to any address at domain1.com should be sent to the corresponding user at domain2.com (For example : user@domain1.com should be sent to user@domain2.com)


    Any help will greatly appreciated.


    Thanks,
     
  2. aeroweb

    aeroweb Well-Known Member

    Joined:
    Jun 4, 2004
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    I have the same issue.
    Currently running WHM 10.1.0 cPanel 10.2.0-R52

    Anyone have any suggestions as to what may be configured incorrectly?
     
  3. scapeweb

    scapeweb Well-Known Member

    Joined:
    Aug 16, 2003
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    6
    Did the DNS propagate already on your server? Are you able to access domain 1 and domain2?
     
  4. danimal

    danimal Well-Known Member

    Joined:
    Jul 14, 2003
    Messages:
    79
    Likes Received:
    0
    Trophy Points:
    6
    same problem here

    I have the same problem. I'm running the latest RELEASE version: 10.2.0-RELEASE_82

    I have client.com as the main account and then I parked these two domains:
    clientotherdomain.com
    clientstillanotherdomain.com

    The DNS is fine. The parking is fine. HTTP requests forward as expected.

    But when I add the two parked domains as Domain Email Forwarding pointing to client.com, it doesn't work. I get the following error in my exim logs:

    Code:
    2005-05-18 15:24:43 H=(blah.blah.blah) [123.123.123.123] F=<me@mydomain.com> rejected RCPT <customer@clientotherdomain.com>: no such address here
    One thing I've noticed: the DNS records for clientotherdomain.com show the MX line as: clientotherdomain.com. Shouldn't the Domain Email Forwarding functionality actually _change_ this to be: client.com ??

    Any thoughts folks?

    Thanks in advance!

    -Danimal :cool:

    UPDATE: I manually modified the DNS record so that the MX line for clientotherdomain.com points to client.com. The change has taken effect, but it's still not working... I.e. email to customer@clientotherdomain.com still gives the "no such address here" error, even though there is a valid account: customer@client.com. *sigh* Any thoughts anyone?
     
    #4 danimal, May 18, 2005
    Last edited: May 19, 2005
  5. ElrondBCN

    ElrondBCN Active Member

    Joined:
    May 19, 2003
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Boston, MA USA
    I'm having a similar problem, ever since I installed clamavconnector. The only difference is that email going to the forwarded domain is immediately going to :blackhole: as if it was taking the setting from the "Default Address" area.
     
  6. KLEVO

    KLEVO Member

    Joined:
    Nov 15, 2004
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ukraine,Zaporozhia
    At my server Email domain forwarding is working good.
    Maybe problem in :
    - Dns is not valid configured.
    - You need to resetup forwarding
    - You have Filter software like clamav or spamassasin.
     
  7. nzservers

    nzservers Well-Known Member

    Joined:
    Oct 27, 2002
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    just keeps getting better!!! NOT

    same problem...

    I re setup Email Domain Forwarding
    I changed the MX & mail. to the domain mail should be forwarded to but it is still using the default address setting.

    clients are getting pissed with these cpanel screw ups and so am I
     
  8. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Then log a ticket with them, if you haven't already.
     
  9. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,192
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    Root Administrator
    chirpy, is it possible wrt danimal that clientotherdomain.com dosent have an entry at localdomains ?
     
  10. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Possibly, but I've seen a lot of posts and complaints about email domain forwarding being broken in the newer exim releases that downgrading fixes. That's why someone with the problem needs to log it with cPanel.
     
  11. nzservers

    nzservers Well-Known Member

    Joined:
    Oct 27, 2002
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    have sent a ticket
     
  12. nzservers

    nzservers Well-Known Member

    Joined:
    Oct 27, 2002
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    not 1 word from cpanel concerning this ticket yet :(

    This request has been assigned #106147
     
  13. nzservers

    nzservers Well-Known Member

    Joined:
    Oct 27, 2002
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    cpanel have been in and tried a couple of things which hasn't worked.

    are you others still having the same problem or is it fixed? if fixed, what was it?

    looking through exim.conf I can't find any reference to /etc/vdomainaliases, should it not be there? presuming it's exim that sends the domain forwarded mail.

    I don't know but I would assume something like these?

    virtual_aliases:
    driver = redirect
    allow_defer
    allow_fail
    data = ${if exists{/etc/valiases/$domain}{${lookup{*}lsearch{/etc/valiases/$domain}}}}
    file_transport = address_file
    group = mail
    pipe_transport = virtual_address_pipe
    domains = lsearch;/etc/localdomains
    retry_use_local_part

    userforward:
    #!!# filter renamed allow_filter
    driver = redirect
    allow_filter
    check_ancestor
    check_local_user
    domains = ! lsearch;/etc/userdomains
    no_expn
    file = $home/.forward
    file_transport = address_file
    pipe_transport = address_pipe
    reply_transport = address_reply
    no_verify
     
  14. nzservers

    nzservers Well-Known Member

    Joined:
    Oct 27, 2002
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    This is happening on another server as well and the commonality is installing cpanel's Pro, uninstalling doesn't fix it either.
    Luckily this user isn't too concerned but it's of major concern to me, does anyone know of a workaround in the mean time?
     
  15. nzservers

    nzservers Well-Known Member

    Joined:
    Oct 27, 2002
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    FIXED

    this was missing from exim.conf


    valias_domain_file:
    driver = redirect
    allow_defer
    allow_fail
    condition = ${lookup {$domain} lsearch {/etc/vdomainaliases/$domain}{yes}{no} }
    require_files = /etc/vdomainaliases/$domain
    data = $local_part@${lookup {$domain} lsearch {/etc/vdomainaliases/$domain} }
     
  16. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Well done. Have you mentioned it to cPanel or were they the ones that found the problem?
     
  17. nzservers

    nzservers Well-Known Member

    Joined:
    Oct 27, 2002
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    yep, told them

    this must be missing from all the latest exim configs, I'm surprised there aren't more people noticing it although the feature is relatively new so I guess not many clients use it...
     
  18. nzservers

    nzservers Well-Known Member

    Joined:
    Oct 27, 2002
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    Update

    using WHM exim config editor removes that code again

    it has to be added into

    /etc/exim.conf.mailman2.exiscan.dist
    /etc/exim.conf.mailman2.dist
    /etc/exim.conf.dist

    but I have added it to all the exim conf files just to be sure :D
     
  19. jcallery

    jcallery Well-Known Member

    Joined:
    Aug 25, 2003
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    Where in the config file did you insert this fix? I'm not sure where I should paste it.

    Thanks
     
  20. jcallery

    jcallery Well-Known Member

    Joined:
    Aug 25, 2003
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    Nevermind. Found it from an Exim backup file.

    Thanks!
     
Loading...

Share This Page