Operating System - HP-UX
1833054 Members
2658 Online
110049 Solutions
New Discussion

Disabling Sendmail from sending patch info

 
SOLVED
Go to solution
thewho?
Frequent Advisor

Disabling Sendmail from sending patch info

Hello,
N4000, 11.0, Sendmail 8.9.3
Is it possible to turn off this feature? I noticed that when sending a mail from my HP server, my latest patch is embedded in the mail info, this can't be safe.
Thanks,
Luis
We'll get through this together.
4 REPLIES 4
S.K. Chan
Honored Contributor

Re: Disabling Sendmail from sending patch info

You can disable the start up in /etc/rc.config.d/mailservs. What do you mean by patches being embedded in the mail ?
Eric Ladner
Trusted Contributor
Solution

Re: Disabling Sendmail from sending patch info

Look in /etc/mail/sendmail.cf for a line(s) that looks like this:

HReceived: $?sfrom $s $.$?_($?s$|from $.$_)
$.by $j ($v/$Z)$?r with $r$. id $i$?u
for $u; $|;
$.$b

That's the Recieved: format line.

$j is the host name
$v is the version/patch
$Z is the version number alone

Removing the ($v/$Z) part will accomplish what you're after.
S.K. Chan
Honored Contributor

Re: Disabling Sendmail from sending patch info

My apologies, I misunderstood your question. Eric's suggestion is good.
Christopher Caldwell
Honored Contributor

Re: Disabling Sendmail from sending patch info

Manipulate this line as you see fit:

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

$j - fully qualified domain name (required)

$v - current version of sendmail

$Z - The version of the configuration file you're using

$b - current date time

Think about making it something like
$j Sendmail $Z; $b

(The version is advisory).