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!

How to list all default addresses for account

Discussion in 'General Discussion' started by wemail, Jun 23, 2008.

  1. wemail

    wemail Well-Known Member

    Joined:
    Nov 28, 2006
    Messages:
    55
    Likes Received:
    1
    Trophy Points:
    158
    Location:
    GB
    cPanel Access Level:
    Root Administrator
    When using cPanel 11 and x3, the "Set Default Address" screen shows the value set for only one domain or subdomain at a time.

    Is there any easy way to display (or print) a list of all of these, including any set to "discard" or to a pipe?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. forlinuxsupport

    forlinuxsupport Well-Known Member
    PartnerNOC

    Joined:
    Dec 22, 2004
    Messages:
    386
    Likes Received:
    0
    Trophy Points:
    166
    cPanel Access Level:
    Root Administrator
    if you have shell access run this :
    grep -- '*' /etc/valiases/*

    All email addresses are stored in /etc/valiases/domainname
    with the catchall being the "*" entry at the end
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. wemail

    wemail Well-Known Member

    Joined:
    Nov 28, 2006
    Messages:
    55
    Likes Received:
    1
    Trophy Points:
    158
    Location:
    GB
    cPanel Access Level:
    Root Administrator
    Thanks for that!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. forlinuxsupport

    forlinuxsupport Well-Known Member
    PartnerNOC

    Joined:
    Dec 22, 2004
    Messages:
    386
    Likes Received:
    0
    Trophy Points:
    166
    cPanel Access Level:
    Root Administrator
    Welcome :)
     
    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