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 recieve mail addressed to postmaster@hostname

Discussion in 'E-mail Discussion' started by Omar, Oct 1, 2002.

  1. Omar

    Omar Well-Known Member

    Joined:
    Jul 30, 2002
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    156
    Can anyone tell me how to receive, or redirect mail adressed to postmaster@hostname.myserver.com ?

    In the mail redirection option in WHM, I can only see root, nobody and mailman.

    Thanks in advance

    - Omar
     
  2. Omar

    Omar Well-Known Member

    Joined:
    Jul 30, 2002
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    156
    *bump*

    There are now a few messages in the mail queue addressed to postmaster@hostname.

    Any help is greatly appreciated.

    - Omar
     
  3. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    316
    Location:
    Spain
    What I do is editing /etc/aliases to add lines like these:
    postmaster: root
    abuse: root
    mailer-demon: root
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Omar

    Omar Well-Known Member

    Joined:
    Jul 30, 2002
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    156
    Thanks, that did the job :)

    Btw, does that mean that addresses like postmaster@customerdomain.com also goes to me?

    - Omar
     
  5. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    316
    Location:
    Spain
    [quote:a45932cb75][i:a45932cb75]Originally posted by Omar[/i:a45932cb75]
    Btw, does that mean that addresses like postmaster@customerdomain.com also goes to me?[/quote:a45932cb75]

    Well, you can test it, but no, the virtual_aliases director (i.e. /etc/valiases/customerdomain.com file) is processed before the system_aliases director (/etc/aliases) and if no postmaster account exists for that domain the message is delivered to the domain's catch-all account.
     
    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