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.

How to recieve mail addressed to postmaster@hostname

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

  1. Omar

    Omar Well-Known Member

    Joined:
    Jul 30, 2002
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    6
    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:
    6
    *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:
    16
    Location:
    Spain
    What I do is editing /etc/aliases to add lines like these:
    postmaster: root
    abuse: root
    mailer-demon: root
     
  4. Omar

    Omar Well-Known Member

    Joined:
    Jul 30, 2002
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    6
    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:
    16
    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.
     
Loading...

Share This Page