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 Emails

Discussion in 'E-mail Discussions' started by biggdogg285, Feb 22, 2005.

  1. biggdogg285

    biggdogg285 Well-Known Member

    Joined:
    May 14, 2004
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Does anyone know if there is a script available that will forward email to other accounts.

    For instance, I have a client that wants to be able to send an email to company@domain.com and have it sent to everyone in the company.

    I would just create a forwarder, enter all the emails seperated by a comma, however there are 260 email accounts I would have to enter.

    Is there an easier way of doing this?

    Any help would be appreciated!

    Best Regards,
    -Adam
     
  2. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,384
    Likes Received:
    23
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    I would look at using a mailing list of some type. I'm not a big fan of the Mailman list software that comes with CPanel, but you may be able to use a different mailing list program (sorry, I don't really have any suggestions). The trouble with using the forwarder as you state, would be that anyone would be able to e-mail company@domain.com and have the message sent to all 260 workers. Using a list of some type might allow you to better control the usage.
     
  3. biggdogg285

    biggdogg285 Well-Known Member

    Joined:
    May 14, 2004
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Well I manually found a way to do it.

    I copied and pasted the mail list from cPanel, then used my textpad to delete anything I didn't want, like Outlook Express AutoConfig and such.

    Then I manually went down the list and removed any spaces, and added commas after each email.

    Now, I went and tested it on my own domain, not my clients and it works.
    I have a problem, I have 260 forwarders to delete now, it's two click operation for each forwarder...lol

    That's over 500 click...uggh. Anyone know of a faster way I can delete forwarders, say through root SSH or root FTP?

    Thanks!
     
  4. biggdogg285

    biggdogg285 Well-Known Member

    Joined:
    May 14, 2004
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    sparek-3

    I understand what your saying.

    That's what he said he wanted. He said at his last provider he could email employees@domain.com and it would go to everyones email.

    Sounds like a lot of work for my exim if the email address gets spam and such. Other than do what he want's I have no ideas. lol

    Thanks!
     
  5. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    Even though you have it worked out, for another option look at something like "List Messenger" http://www.listmessenger.com

    It works great and has both a free and paid version.
     
  6. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,384
    Likes Received:
    23
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    You can edit:

    /etc/valiases/domain.com

    in SSH. This will bring up a list of the forwarders for the domain.com account. You can use whatever text editor you want and delete the lines.
     
  7. biggdogg285

    biggdogg285 Well-Known Member

    Joined:
    May 14, 2004
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Oh ty!

    Been clicking away till now!

    Appreciate the help gentleman.

    I think that should correct my problems.

    Thanks Again

    Best Regards,
    Adam
     
Loading...

Share This Page