How can I made sendmail on FreeBSD listen to port 25 outside of the system, so I can receive mail from outside services. Currently it is only able to receive mail locally though it can send mail fine.

link|improve this question

feedback

2 Answers

up vote 3 down vote accepted

Verify that you have sendmail_enable=YES in your /etc/rc.conf file (and then of course restart sendmail). This will tell sendmail to listen to something other than just your loopback adapter.

link|improve this answer
feedback

You need to set up port forwarding on your firewall or router to forward SMTP traffic from the public ip address of the router to the private ip address of the server.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.