Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 26
  1. #1
    Registered User
    Join Date
    Sep 2004
    Posts
    1

    Default Email domain forwarding is not working

    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. #2
    Member
    Join Date
    Jun 2004
    Posts
    57

    Default

    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. #3
    Member
    Join Date
    Aug 2003
    Posts
    46

    Default

    Did the DNS propagate already on your server? Are you able to access domain 1 and domain2?

  4. #4
    Member danimal's Avatar
    Join Date
    Jul 2003
    Posts
    79

    Default 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

    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?
    Last edited by danimal; 05-19-2005 at 12:14 AM. Reason: update on MX record

  5. #5
    Member
    Join Date
    May 2003
    Location
    Boston, MA USA
    Posts
    34

    Default

    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. #6
    Member KLEVO's Avatar
    Join Date
    Nov 2004
    Location
    Ukraine,Zaporozhia
    Posts
    21

    Default

    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. #7
    Member
    Join Date
    Oct 2002
    Posts
    81

    Default

    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. #8
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Then log a ticket with them, if you haven't already.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  9. #9
    Member linux-image's Avatar
    Join Date
    Jun 2004
    Location
    India
    Posts
    1,185
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    chirpy, is it possible wrt danimal that clientotherdomain.com dosent have an entry at localdomains ?

  10. #10
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    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.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  11. #11
    Member
    Join Date
    Oct 2002
    Posts
    81

    Default

    have sent a ticket

  12. #12
    Member
    Join Date
    Oct 2002
    Posts
    81

    Default

    not 1 word from cpanel concerning this ticket yet

    This request has been assigned #106147

  13. #13
    Member
    Join Date
    Oct 2002
    Posts
    81

    Default

    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. #14
    Member
    Join Date
    Oct 2002
    Posts
    81

    Default

    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. #15
    Member
    Join Date
    Oct 2002
    Posts
    81

    Default

    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} }

Similar Threads & Tags
Similar threads

  1. Domain Email Forwarding Not Working
    By domaineplus in forum E-mail Discussions
    Replies: 2
    Last Post: 04-14-2011, 01:02 PM
  2. email forwarding not working at all
    By mahmoud73 in forum E-mail Discussions
    Replies: 9
    Last Post: 10-11-2010, 11:28 AM
  3. Domain forwarding not working
    By jhitesma in forum E-mail Discussions
    Replies: 15
    Last Post: 02-07-2008, 02:11 PM
  4. domain forwarding not working
    By edyst37 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-21-2006, 02:49 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube