HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Postfix Newbie: Where To start (http://www.howtoforge.com/forums/showthread.php?t=41634)

Atiq 8th December 2009 07:06

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?

topdog 8th December 2009 08:09

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


All times are GMT +2. The time now is 10:23.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.