Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Sep 2006 18:43:53 -0500
From:      Robert C Wittig <wittig.robert@sbcglobal.net>
To:        Rob Gabaree <lists@rawb.net>
Cc:        questions@freebsd.org
Subject:   Re: Do I need to completely disable sendmail?
Message-ID:  <45171839.9020804@sbcglobal.net>
In-Reply-To: <B98F1608-D071-4EB9-BED3-1E6ACEA137CB@rawb.net>
References:  <E6429B1C-2FD8-4B84-95D5-04A3D492C970@rawb.net>	<20060924214248.GC6395@zloy.stilyagin.com> <B98F1608-D071-4EB9-BED3-1E6ACEA137CB@rawb.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 user@mydomain.com
> 
> 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/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45171839.9020804>