Rob Gabaree wrote:
Thanks.

What I did was remove all lines except `sendmail_enable="NO"` and in /etc/mail/aliases, I setup the root alias to goto my real email address:

root [EMAIL PROTECTED]

I setup my firewall to block incoming/outgoing email on ports 21/25 as well, so no one on the outside can access mail services.

It seems to be working correctly, as I received mail as it was ran to my @mydomain.com email.

Does this seem ok?  Did I do anything wrong?

I run OpenBSD on my mailservers, but I expect that the sendmail works basically the same.

In /etc/rc.conf or its FreeBSD equivalent, check the sendmail line to see if it references localhost.cf or sendmail.cf

localhost.cf will permit internal mail on the machine, so that root can send messages to your everyday UID, etc., but will not permit mail to be sent to or received from, the Internet, or other machines in you LAN.

sendmail.cf will permit full Internet email, but even this will not permit Internet email, unless your machine has a fully Qualified Domain Name, which is registered with your domain registrar, and has the Registrar's MX setting configured properly.



--
-wittig http://www.robertwittig.com/
.       http://robertwittig.net/

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to