Women in Technology

Hear us Roar

  Configuring sendmail on Jaguar
Subject:   Privacy Options
Date:   2003-01-11 06:48:08
From:   anonymous2
My friendly neighborhood Solaris Sendmail admin at work noted that when one telnets to a sendmail server:

% telnet domain.com 25

you will get a reslt that looks kinda like this:

Trying X.X.X.X...
Connected to domain.com.
Escape character is '^]'.
220 domain.com ESMTP Sendmail 8.12.2/8.12.2; Sat, 11 Jan 2003 09:33:56 -0500 (EST)

which gives potentil hackers two clues: WHAT you are running and WHAT version. This (he said) is a *BAD* thing.

He suggested editing the sendmail.cf file and changing the privacy options to:

# privacy flags
#O PrivacyOptions=authwarnings
O PrivacyOptions=goaway,restrictmailq,restrictqrun

whichs sounds like a GOOD thing, however doing so and restarting sendmail (sudo kill -HUP [PID]) or even running the update scrip seems to have no effect.

Any suggestions?


Steve chambers
amigasteve (at) comcats (dot) net

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • Privacy Options
    2003-06-10 17:54:47  anonymous2 [View]

    Do a search in sendmail.cf for 'SmtpGreetingMessage'.

    Change from ...

    O SmtpGreetingMessage=$j Sendmail $v/$Z; $b

    to :

    O SmtpGreetingMessage=$j $b

    then a simple killall -HUP sendmail should fix it. (This works on RedHat 8)

    End result when you try to telnet is ...

    # telnet localhost 25
    Connected to localhost.
    Escape character is '^]'.
    220 localhost ESMTP Wed, 11 Jun 2003 10:50:07 +1000
    221 2.0.0 localhost closing connection
    Connection closed by foreign host.


    NB: localhost names changed to protect the inane

  • Privacy Options
    2003-01-11 06:54:02  amigasteve [View]

    OK so you can't edit an anonymous article for spelling AFTER you post it. AND I sound like a doofus because I can't spell before my fourth cup of coffee for the day.

    please feel free to send any comments about my spelling ability. I am now wearing my flame retardent underwear and am properly ashamed.


    amigasteve (at comcast (dot) net