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.

New Account - Default Email Forwarders

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

  1. skina

    skina Member

    Joined:
    Sep 21, 2007
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  2. david510

    david510 Well-Known Member

    Joined:
    Aug 22, 2004
    Messages:
    473
    Likes Received:
    0
    Trophy Points:
    16
    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
     
  3. skina

    skina Member

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

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

    cheers

    Dan
     
Loading...

Share This Page