STRANGE:mailserver receives mails but is not able to send mails outside
hello!!all
i 've recently configured a mail server using sendmail. for that i just did the following in /etc/resolv.conf (gave nameserver's ip) daomain info.com.np in /etc/hosts 203.78.167.124 system.info.com.np system in /etc/mail/relay-domains info.com.np infoswift.com.np in/etc/mail/local-host-names info.com.np infoswift.com.np int the sendmail.mc file i commented the line dnl # DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl mailserver receives mail from outside .. but it is not able to send mails outside.like to hotmail or yahoo or any other domains.. can anybody plzz help |
Try using /etc/mail/access file
Hi,
I think you should use /etc/mail/access file.. this file contains the IP addresses of the machines which are allowed to be relayed. e.g. /etc/mail/access may contain lines -- localhost.localdomain RELAY localhost RELAY 127.0.0.1 RELAY 192.168.0.1 RELAY Above file says that machine 192.168.0.1 is allowed to relay mails. If it doesnt work, remove all the entries in /etc/mail/relay-domain file.. It should do.. Regards.. |
All times are GMT -5. The time now is 02:56 PM. |