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.

Mail forwarders have gone missing from cPanel

Discussion in 'E-mail Discussions' started by aarondwyer, Aug 9, 2007.

  1. aarondwyer

    aarondwyer Well-Known Member

    Joined:
    Mar 26, 2005
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Brisbane
    cPanel Access Level:
    Root Administrator
    I've got an account where the email forwarders that still exist in /etc/valiases/domain.com and are working fine, have gone missing from the cPanel GUI.

    They are associated with an addon domain that is also not showing up in the "add email forwarder" drop down box.

    The addon domain is still functioning fine. and is showing up in the addon domain area of cPanel.

    This account has unlimited subdomains/addon domains.

    How do I get the forwarders to come back into the cPanel GUI?

    Is there some /script fix that I can run.?

    Thanks
    Aaron
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Does the file /etc/valiases/domain.com have the right permissions and ownership? It ought to be:

    Owner: account:mail
    Perms: 644
     
  3. aarondwyer

    aarondwyer Well-Known Member

    Joined:
    Mar 26, 2005
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Brisbane
    cPanel Access Level:
    Root Administrator
    Hi Chirpy

    Yes it does, I can't figure this one out.

    Perhaps it has something to do with the addon domain not showing in the drop down list of domains that comes up when you go to add a forwarder?

    I don't know where cPanel gathers that data from for the drop down list.

    Thanks
    Aaron
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    It gets it from /var/cpanel/users/account

    Try running:

    /scripts/updateuserdomains

    It should come straight back. If you get any errors, then you probably have the addon domain attributed to more than one account.
     
  5. aarondwyer

    aarondwyer Well-Known Member

    Joined:
    Mar 26, 2005
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Brisbane
    cPanel Access Level:
    Root Administrator
    I've checked /var/cpanel/users/account

    and the addon domain has gone missing from this file.

    On checking the backups, it's because when the user added a subdomain at some stage it gave it the same DNS numbered entry in that file.

    I figured that was not a good thing. So on some automatic cleanup the addon domain in question must have deleted from the file to stop it conflicting.

    I have manually added it back in with a new DNS number and all the forwarders now show in cPanel

    Thank you so much for pointing me to that file.

    Learn something new everyday.

    Thanks
    Aaron
     
  6. section31

    section31 Active Member

    Joined:
    Sep 3, 2003
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    San Antonio
    The same thing happened to me, is there any way i can recover these forwarders.

    I ran /scripts/updateuserdomains and they didn't get restored and I got this error.
    Warning: deprecated mbox still in use. Please switch to maildir soon.

    After reading this thread.
    http://forums.cpanel.net/showthread.php?t=55486&highlight=forwarders

    I see chirpy said that the only time he's seen this happen is if the account is over quota and you're right. The account was over quota. Why would that delete all my forwarders and is there any way to prevent this from happening again?
     
    #6 section31, Aug 24, 2007
    Last edited: Aug 24, 2007
Loading...

Share This Page