Bjorn Boulder wrote:

Here is what I want:

1. I want to send mail
2. I don't want to receive mail from the outside
3. I do want to receive mail from the box itself.

The default Sendmail configuration on FreeBSD should be
sufficient for what you want to do. You just need to start Sendmail the right way.

Make sure you have the following in /etc/rc.conf:

Then give this command:
/etc/rc.d/sendmail start

Now sendmail should start up, listening on loopback interface only. You can verify this with command:

sockstat -4

Among the output you should see this line:
root     sendmail   562   4  tcp4          *:*

Then try
telnet localhost 25
and make sure you get connected.

Additionally try
telnet yourserver 25
from another host and make sure you don't get connected.

I have one web server (FreeBSD 5.5) with sendmail set up this way.

Toomas Aas
_______________________________________________ mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to