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

Greg Horne jeerygh at hotmail.com
Mon Nov 19 13:09:36 MST 2001


Hugh,

     I'd use IPChains or IPTables to forward outgoing 8025 to port 25,
     and incoming 25 to port 8025 then.

- - -
Greg Horne

Monday, November 19, 2001, 11:46:05 AM, you wrote:

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

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

HB> Hugh

HB> 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
HB> --
HB> ------------------------------------
HB> System Administrator/Unix Consultant
HB> hugh at vecna.com
HB> Vecna Technologies, Inc
HB> 6525 Belcrest Rd, Suite 612
HB> Hyattsville MD, 20782
HB> 301.864.7253
HB> http://www.vecna.com


HB> _______________________________________________
HB> Web Page:  http://lug.boulder.co.us
HB> 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>




More information about the LUG mailing list