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.

Forwarders not working

Discussion in 'General Discussion' started by ploppy, Sep 19, 2007.

  1. ploppy

    ploppy Active Member

    Joined:
    Mar 28, 2006
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    i have set up forwarders to forward mail from: user@mydomain.com>user@forwarddomain.com, but it isn't working. all mail is still being delivered to default mail box and not getting forwarded. Any suggestions would be most welcome.

    cPanel: 11.11.0-STABLE 16999
    whm: 11.2.0

    many thanks.
     
  2. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    Check the maillogs and see if you get some error in there. Maillogs are stored at /var/log/exim_mainlog
     
  3. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Note that even with a forwarder, if there is a mail account for user@mydomain.com, they will still receive the email regardless if the forwarder is working or not.

    However, the fact that user@forwarddomain.com isn't receiving the forwards is concerning.
     
  4. 4u123

    4u123 Well-Known Member
    PartnerNOC

    Joined:
    Jan 2, 2006
    Messages:
    765
    Likes Received:
    1
    Trophy Points:
    18
    Did you resolve this ?

    I have one customer who is trying to forward all mail from domain1 to domain2 using an "email domain forwarder". It sends the message into the default catch - all mailbox instead. The valiases and vdomainaliases files are configured correctly.

    domain2 is an addon domain - domain1 is his primary domain - would that make a difference ?
     
  5. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Are you saying you have an account set up (e.g. bob@domain2) and when you email bob@domain1 it is getting delivered to the catch-all for domain2?
     
  6. 4UHChris

    4UHChris Member

    Joined:
    Sep 30, 2007
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Yes, I think thats exactly whats happening. The email domain forwarder should overide the default setting but it seems not to. If the default setting for domain2 is :fail: - the messages will bounce regardless of the email domain forwarder. If it is set to catch-all - the mail will go into the specified catch-all mailbox.

    So the problem is that the email domain forwarder is not overiding the default setting.

    I've had the customer run a few tests. If he sets up a standard forwarder from one address to another - it works fine. Its only the whole domain forward that seems to be ignored however the entry in vdomainaliases is correct.

    Apologies for hijacking this thread.
     
  7. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    There's a nifty diagnostic tool you can use to see exactly what is happening rather than making educated guesses. If you go to the cPanel interface, in the Mail feature block, click Email Delivery Route. Enter in the address (e.g. bob@domain1) and it will show you exactly where that is getting redirected to and all the steps it takes along the way. This works best when you do this on the server that is actually hosting domain1 and domain2 :).
     
  8. 4u123

    4u123 Well-Known Member
    PartnerNOC

    Joined:
    Jan 2, 2006
    Messages:
    765
    Likes Received:
    1
    Trophy Points:
    18
    Hi David,

    The address trace simply shows that the mail has gone directly into the catchall mailbox bypassing the email domain forwarding.

    Any other ideas ? I think I may need to log a support ticket. It just seems to toally ignore the domain forwarding.
     
  9. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    That's weird that it would completely ignore the domain forwarding. I'd recommend submitting a support ticket with your cPanel/WHM licensing provider so they determine what is causing that to happen.
     
  10. internetfab

    internetfab Well-Known Member
    PartnerNOC

    Joined:
    Feb 20, 2003
    Messages:
    336
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Gothenburg, Sweden
    cPanel Access Level:
    DataCenter Provider
    We have the same problem. Email domain forwarders are not updating the /etc/valiases/domain files.

    When deleting through cPanel it says:

    Code:
    Email Forwarding Maintenance
    
    's mail will no longer be redirected to . 
    It is on: WHM 11.11.0 cPanel 11.15.0-R17665
     
  11. elmister

    elmister Active Member

    Joined:
    Mar 2, 2004
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    Same problem here, email is not being forwarded when the email account still exists, if i delete it, old email would be lost
     
Loading...

Share This Page