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.

Forwarding to default mailbox

Discussion in 'E-mail Discussions' started by Bdzzld, Jun 3, 2007.

  1. Bdzzld

    Bdzzld Well-Known Member

    Joined:
    Apr 3, 2004
    Messages:
    356
    Likes Received:
    1
    Trophy Points:
    18
    Hi,

    When creating a new account, we currently have the account setup so all e-mail is being bounced :)fail:) by default. How can you create a forwarder which delivers e-mail to the default mailbox ?

    Code:
    E.g.
    
    domain name : mycpanelserver.xxx
    user_name : mycpanel
    server : host.domainnamess.xxx
    
    forwarding info@mycpanelserver.xxx is currently set up as :
    
    info@mycpanelserver.xxx -> mycpanel@host.domainnamess.xxx
    
    This works without problems. The only problem I can think of though is when the account is moved to another server, all forwarders need to be changed afterwards. What other solutions are there to forward to? I've tried "localhost" instead of the FQDN but that did not work...

    Thanks.
     
  2. WebScHoLaR

    WebScHoLaR Well-Known Member

    Joined:
    Dec 14, 2005
    Messages:
    511
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Planet Earth
    As far as I know, you don't need to specify host.domainnamess.xxx. If you will only specify mycpanel, the mailserver will treat it as mycpanel@host.domainnamess.xxx so you won't have to edit the forwarders.
     
  3. Bdzzld

    Bdzzld Well-Known Member

    Joined:
    Apr 3, 2004
    Messages:
    356
    Likes Received:
    1
    Trophy Points:
    18
    Hi,

    Thanks for your input.
    I've already tried that, and as far as I know that always used to work.
    However cPanel adds the domain name automatically (mycpanel@mycpanelserver.xxx) when you only add a user name and thus the e-mail gets bounced back with an error.

    Thanks.
     
  4. Bdzzld

    Bdzzld Well-Known Member

    Joined:
    Apr 3, 2004
    Messages:
    356
    Likes Received:
    1
    Trophy Points:
    18
    Can any one please opt if this is a *bug* or not...

    Thanks.
     
  5. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Forwards to a system account don't need the @example.com portion, just the user name. How are you creating these forwards?

    A forward I just created: accounter@parkonme.test -> tramel

    Where tramel is the system account, produces this in the exim log:

    2007-06-08 09:06:43 1Hwf6x-0005vI-1V <= myself@mysqlbugs.com U=cpanel P=local S=757 id=20070608090643.eiq10v50y6o84s84@mundane
    2007-06-08 09:06:43 1Hwf6x-0005vI-1V => accounter <accounter@parkonme.test> R=virtual_user T=virtual_userdelivery
    2007-06-08 09:06:43 1Hwf6x-0005vI-1V => tramel <accounter@parkonme.test> R=localuser T=local_delivery
    2007-06-08 09:06:43 1Hwf6x-0005vI-1V Completed

    And looks like this in /etc/valiases/parkonme.test:
    accounter@parkonme.test: tramel

    There may be something misconfigured within exim.conf on your system that is causing your problems. Please open a support ticket and we'll help you resolve it.
     
  6. Bdzzld

    Bdzzld Well-Known Member

    Joined:
    Apr 3, 2004
    Messages:
    356
    Likes Received:
    1
    Trophy Points:
    18
    Hi Kenneth,

    Thanks for taking the time to look into this problem.
    I'm using cPanel Build 10.9.0-STABLE 9966.

    If I add a forwarder in cPanel and I do not add a domain name (only the user name), the domain name is automatically added by cPanel.

    Shown after a forward was added :

    Code:
    All email sent to test@somedomain.com will now be redirected to somedom
    
    This looks normal. When I request a list of all the forwarders though :

    Code:
    test@somedomain.com >> somedom@somedomain.com
    
    That's not what was entered! As you can see the domain name was added by cPanel itself.
     
  7. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    What does the entry in /etc/valiases/somedomain.com look like? It should resemble:

    test@somedomain.com: somedom


    Also, I'll see if I can locate a cPanel 10 test machine to check what else may be causing this.
     
  8. Bdzzld

    Bdzzld Well-Known Member

    Joined:
    Apr 3, 2004
    Messages:
    356
    Likes Received:
    1
    Trophy Points:
    18
    Nope, it does not. It shows :

    Code:
    test@somedomain.com: somedom@somedomain.com
    
    Just like the overview of the forwarders actually shows. I've three servers with the same version of cPanel and they all share this identical problem.
     
  9. Bdzzld

    Bdzzld Well-Known Member

    Joined:
    Apr 3, 2004
    Messages:
    356
    Likes Received:
    1
    Trophy Points:
    18
    @ cpanelkenneth :

    Recently all three servers were upgraded from 10.9.0-STABLE_9966 to 10.9.0-STABLE_13517. I tried out the same routine and discovered the problem's still there in this stable relase as well...
     
  10. Bdzzld

    Bdzzld Well-Known Member

    Joined:
    Apr 3, 2004
    Messages:
    356
    Likes Received:
    1
    Trophy Points:
    18
    #10 Bdzzld, Jun 21, 2007
    Last edited: Jun 21, 2007
  11. Bdzzld

    Bdzzld Well-Known Member

    Joined:
    Apr 3, 2004
    Messages:
    356
    Likes Received:
    1
    Trophy Points:
    18
    Hi,

    A small update to this problem, as it seems to have reoccurred in a somewhat different fashion in the latest stable release.


    cPanel -> Mail -> Forwarders -> Add Forwarder
    Forwarding to a default mailbox is not accepted in WHM 11.15.0 cPanel 11.17.0-S19434 (latest stable version); only actual e-mail addresses are accepted as input.

    Should I post this as a *bug* in Bugzilla?
     
  12. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    I reported this matter to our Interface Developers as it exists in all builds.
     
  13. Bdzzld

    Bdzzld Well-Known Member

    Joined:
    Apr 3, 2004
    Messages:
    356
    Likes Received:
    1
    Trophy Points:
    18
    Correct. It checks whether you've entered a correct e-mail address or not and therefore does not allow usernames to be entered... :eek:
     
  14. Bdzzld

    Bdzzld Well-Known Member

    Joined:
    Apr 3, 2004
    Messages:
    356
    Likes Received:
    1
    Trophy Points:
    18
    Bug still in the latest stable release

    Hi,

    Is this bug already solved in any downloadable version of cPanel, because it's still there in the latest stable?

    Thanks.
     
  15. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    NO. It's still an outstanding issue.
     
  16. Bdzzld

    Bdzzld Well-Known Member

    Joined:
    Apr 3, 2004
    Messages:
    356
    Likes Received:
    1
    Trophy Points:
    18
  17. davetanguay

    davetanguay Active Member

    Joined:
    Mar 30, 2008
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    I agree. This needs to be fixed ASAP! Many if not all of our customers use the default mailbox as their main mailbox but they cannot create email forwarders to it using cpanel. We have to manually enter all email forwarders to the default mailbox via root. This just doesn't make any sense that this problem is still an open issue with cpanel!
     
Loading...

Share This Page