Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

New Account - Default Email Forwarders

Discussion in 'E-mail Discussion' started by skina, Apr 16, 2008.

  1. skina

    skina Member

    Joined:
    Sep 21, 2007
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    51
    Is it possible to have a skeleton account setup whereby each new account has a default set of email forwarders set up?

    Much like the skeleton directory and default DNS zones.

    Any ideas? I don't really want to have to do this with Hooks.

    Daniel
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. david510

    david510 Well-Known Member

    Joined:
    Aug 22, 2004
    Messages:
    473
    Likes Received:
    0
    Trophy Points:
    166
    A workaround, make a file where the forwarders are added.

    Once you create the account, do this from shell.

    cat /root/forwarderlist >> /etc/valiases/domain.com
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. skina

    skina Member

    Joined:
    Sep 21, 2007
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    51
    Thanks

    Thanks, that is sufficient for me, it is simple enough that I may implement it as a hook.

    cheers

    Dan
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice