mail configuration related query.
How do i configure my linux machine to send mail.
I have two server out of which one is configured to send mails. However The other is still not sending mails .I have installed sendmail rpms and modified sendmail.mc file to include following parameter. Code:
dnl define(`SMART_HOST', `xxx.xxx.com')dnl following rpms are already installed. Code:
]# rpm -qa | grep mail Code:
# lsb_release -a |
Hi,
You should take a look at mail logs (/var/log/maillog) to see why it fails Regards |
Quote:
Code:
Mar 16 10:58:12 XXX sendmail[5219]: p2G5SCgA005219: from=root, size=73, class=0, nrcpts=1, msgid=<201103160528.p2G5SCgA005219@XXX.XXX.com>, relay=root@localhost |
Well, I don't see any error, apart from the "User unknown" response you get.
|
I figured it myself as i was trying to contact internal mail server i was not having my own machine registered in dns so it was not resolving hostname from ip address. I made an entry in DNS and now i m getting the mail transferred.
More details can be found on my blog. |
All times are GMT -5. The time now is 10:44 PM. |