View Single Post
  #1  
Old 8th December 2009, 08:06
Atiq Atiq is offline
Junior Member
 
Join Date: Dec 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Postfix Newbie: Where To start

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?
Reply With Quote
Sponsored Links