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.

/etc/valiases - any way to use variables?

Discussion in 'E-mail Discussions' started by Ishware, May 21, 2016.

Tags:
  1. Ishware

    Ishware Well-Known Member

    Joined:
    Nov 7, 2003
    Messages:
    168
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Panama City, FL
    cPanel Access Level:
    Root Administrator
    So I'm going through /etc/valiases and making sure each domain has something for postmaster@ and webmaster@ and abuse@ - and yes, I'm aware of the spam that will be received, but technically you're supposed to respond on those, so I'm going to make sure I'm compliant.

    Meanwhile, that's several hundred files to edit. What I really want to do is to be able to paste something like:

    postmaster@*: someemail@example.com
    webmaster@*: someemail@example.com
    abuse@*: someemail@example.com

    That appears not to work, and I can't find anywhere if there might be a variable I might be able to use. Can anyone give advice on how to make this process easier? :)
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page