Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
add comment

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.

share|improve this answer
add comment

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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