[lug] Sendmail listens to Port 25 too, though using DaemonPortOptions=Port=8025

Hugh Brown hugh at vecna.com
Mon Nov 19 12:46:05 MST 2001


/etc/services is just a name to port mapping used internally.  Much like
/etc/hosts is a name to ip mapping.

No one can see your /etc/services unless you publish it via NIS or
something similar.

Hugh

On Mon, 2001-11-19 at 14:40, Greg Horne wrote:
> Roland,
> 
>      Correct me if i'm wrong, but isn't /etc/services a way for other
>      machines to see what services, and on what ports you are offering
>      them?  If that were true than you would not have to worry about
>      sending mail to another server.  Your computer would figure out
>      what port the other server uses.
> 
> - - -
> Greg Horne
> 
> Monday, November 19, 2001, 4:23:26 AM, you wrote:
> 
> RK> Hi,
> 
> RK> I have encountered the following problem using sendmail Version 8.12.0:
> 
> RK> When including the line
> 
> RK> O DaemonPortOptions=Port=8025
> 
> RK> sendmail listens to Port 8025 (as it should), however, it still listens to
> RK> Port 25. Does anyone know how to prevent sendmail from listening to Port 25.
> 
> RK> I found out, that changing the smtp-Entry in /etc/services would solve the
> RK> problem, however it raises another:
> RK> sendmail tries to connect to the smtp-port specified in /etc/services, when
> RK> sending an email to another server...
> 
> RK> Thank you in advance for any advice!
> 
> RK> Regards,
> 
> RK> Roland
> 
> RK> _______________________________________________
> RK> Web Page:  http://lug.boulder.co.us
> RK> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> 
> __________________________________________________
> Manage your Hotmail with ANY email application:
> Get Pop3Hot at <http://pop3hot.com/main.htm>
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
-- 
------------------------------------
System Administrator/Unix Consultant
hugh at vecna.com
Vecna Technologies, Inc
6525 Belcrest Rd, Suite 612
Hyattsville MD, 20782
301.864.7253
http://www.vecna.com





More information about the LUG mailing list