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.

Can you edit an e-mail forwarder? [moved]

Discussion in 'E-mail Discussions' started by HibsMax, Jul 23, 2006.

  1. HibsMax

    HibsMax Registered

    Joined:
    Jul 23, 2006
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Hi, Group.

    Can you edit an e-mail forwarder or do you have to delete it then add a new one? I have many forwarders all going to one account. I now wish to change the root account and point all my forwarders to that new account. Do I have to delete / add or is there some sort of script I can run to do this for me?

    I use CPanel with LunarPages.

    Thanks, Max
     
  2. lostinspace

    lostinspace Well-Known Member

    Joined:
    Jul 19, 2003
    Messages:
    122
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Colorado Springs, CO
    They're stored in /etc/valiases/domain_name.
     
  3. HibsMax

    HibsMax Registered

    Joined:
    Jul 23, 2006
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Thanks. I'll contact my webhost about getting access to that file!
     
  4. sumith

    sumith Well-Known Member

    Joined:
    May 9, 2005
    Messages:
    96
    Likes Received:
    2
    Trophy Points:
    8
    I dont think they'll give you acess to that page. You can ask them to modify the page as per your requirement.
     
  5. HibsMax

    HibsMax Registered

    Joined:
    Jul 23, 2006
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    I couldn't get access to the file as suggested.

    Where do I post requests for enhancement? I think it would be a good feature to allow e-mail forwarders to be editable. Now I am faced with deleting and creating 85 forwarders. I don't expect a new script to be added to run bulk updates but at least being able to edit the details would cut my task in half.
     
  6. southpole

    southpole Registered

    Joined:
    Jul 30, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Stamford, CT, USA
    I would also love to have something along these lines as well. The thought of manually having to delete recreate so many entries is daunting, when a script (or something) would take only a second or two.

    Actually, I can't seem to find the file specified above: /etc/valiases/domain, even though I do have email forwarders defined.

    Thanks for listening...
    jeff
     
    #6 southpole, Jul 30, 2006
    Last edited: Jul 30, 2006
  7. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    That path is from the server root, not an account root.


    End users don't have access to the directory where the forwarder files are kept, but they do have permissions to edit that file. If you have shell access the file can be edited directly. Without shell access it can be edited with a perl or PHP script.
     
Loading...

Share This Page