can't receive outside mail with sendmail
what configuratiosn changes do i need to make to allow sendmail to receive mail from the outside? i want it to be able to accept mail when its sent to the server's ip address like user@68.23.23.232
|
(Assuming you've got sendmail running) - can you telnet to port 25 on that machine ("telnet localhost 25")? If so, does your IP allow incoming port 25 traffic?
|
situation resolved. for searchers finding this page in the future this is how i fixed it:
dnl # The following causes sendmail to only listen on the IPv4 loopback address dnl # 127.0.0.1 and not on any other network devices. Remove the loopback dnl # address restriction to accept email from the internet or intranet. dnl # dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl the last line there in the sendmail.mc didnt have the 'dnl' in front of it, so i just added it and then m4 it to a .cf. also i had to add the domain that mail be sent to in /etc/local-host-names and then restart sendmail with /sbin/service sendmail restart |
what if my server has a nat ip
the same situtation, but my server is sit behind a firewall. it has a private ip address of 192.168.30.10. I have a isp ip address statically nat to the private ip address. my firewall has port 25 smtp open, but i cannot telnet to it. I can send email to outside but cannot receive email from other email like from yahoo.com. when i telnet from outside, i telnet to my server using the isp ip address which my firewall then forward to the private ip addresss. please let me know if i am missing any configuration.
|
All times are GMT -5. The time now is 10:59 PM. |