Postfix Newbie: Where To start

Discussion in 'Server Operation' started by Atiq, Dec 8, 2009.

  1. Atiq

    Atiq New Member

    I m a newbie to linux and postfix.
    After removing sendmail i have installed Postfix and other requisites as per instructions of the CentOs Site: http://wiki.centos.org/HowTos/postfix

    This site asked me to do following changes to the main.cf file:

    myhostname = mail.example.com
    mydomain = example.com
    myorigin = $mydomain
    inet_interfaces = all
    mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
    mynetworks = 192.168.2.53/24, 127.0.0.0/8 (My address on lan)
    relay_domains =
    home_mailbox = Maildir/


    In the /etc/aliases I added:
    #Person who should get root's mail
    root: atiq

    I also follwed other instructions on this centos site.After doing all they had said In the termainal i did following:
    #mail atiq@example.com
    Subject: test
    abc
    .
    Cc:.


    But this mail is not recieved by /home/atiq/Mkdir (the mailbox defined according to the centos Wiki instructions).

    I performed above mail operation both as a root user and then as another user but did not recieved any mail.
    Please tell me where I am wrong and what should I do?
     
  2. topdog

    topdog New Member HowtoForge Supporter

    Check /var/log/maillog to see what happens to the message.
     

Share This Page