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?
Recent comments
10 hours 7 min ago
15 hours 6 min ago
16 hours 32 min ago
17 hours 25 min ago
19 hours 8 min ago
23 hours 31 min ago
1 day 23 min ago
1 day 2 hours ago
1 day 15 hours ago
1 day 17 hours ago