1752677 Members
5214 Online
108789 Solutions
New Discussion юеВ

Send mail not working.

 
Mike_305
Super Advisor

Send mail not working.

Hello,

When I try to start sendmail I get this error and not able to start sendmail.

.cf version level (10) exceeds sendmail version 8.11.1 (PHNE_35951) functionality (9)

Appreciate your help in advance.

Regards,

MJ
If there is problem then don't think as problem, think as opportunity.
5 REPLIES 5
Matti_Kurkela
Honored Contributor

Re: Send mail not working.

Someone has copied a version of /etc/mail/sendmail.cf from a system that has a later version of sendmail. The sendmail version in this system cannot understand this configuration file version.

You must replace the current sendmail.cf with a factory default version (available at /usr/newconfig/etc/mail/sendmail.cf). Then, if you need any custom configuration, you must re-implement your customizations.

Another alternative would be to upgrade your sendmail to match the version used to create your current sendmail.cf. The PHNE patch number reveals you're running HP-UX 11.23, so you could use this free upgrade to Sendmail 8.13.3:

https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=SMAIL813

If your system is accessible from the Internet, upgrading sendmail is probably safer than downgrading the configuration. Old versions of sendmail are known to be vulnerable to various kinds of attacks.

MK

MK
Steven E. Protter
Exalted Contributor

Re: Send mail not working.

Shalom MJ,

Somehow your sendmail.cf file is out of sync with your sendmail version.

I'd recommend swremove on sendmail, followed by an swinstall of the latest version available from http://software.hp.com

You may after that point need to patch sendmail. Do not install patches not intended for this version of sendmail e.g. read the patch notes.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Mike_305
Super Advisor

Re: Send mail not working.

Hello,

Thanks for the reply and help.

on Docs page I came across this docs. Does this will screw things up in service guard environment by reverting to old version on ident?
==================================
Issue

After installing HP-UX Sendmail 8.13.3 to upgrade to a new Sendmail version, the user decides to revert to the earlier Sendmail or identd version on the system (HP-UX 11.11, HP-UX 11.23).

HP-UX 11.31 already comes with Sendmail 8.13.3, so you cannot revert to an earlier Sendmail version.

Solution

Fortunately, the Sendmail 8.13.3 installation saves the original Sendmail software bits when it is installed, and contains a handy pair of scripts to allow reverting to the 8.11.1 (HP-UX 11.23) or 8.9.3 (HP-UX 11.11) Sendmail and identd bits, and enabling the 8.13.3 bits at will.
To revert to Sendmail 8.11.1 (HP-UX 11.23) or 8.9.3 (HP-UX 11.11), and if already having the Sendmail 8.13.3 upgrade of the system, the customer needs to follow these steps:

1). /usr/contrib/sendmail/convert_sendmail to_old
NOTE: Enabling the older version of Sendmail ......
More information may be found in the logfile:
/var/adm/syslog/mail.log
NOTE: The older version of Sendmail has been restored successfully.

2). /usr/contrib/identd/convert_identd to_old
NOTE: Enabling the older version of Identd ......
More information may be found in the logfile:
/var/adm/syslog/mail.log
NOTE: The older version of Identd has been restored successfully.

3). Review the logfile. It is likely a message similar to this will be seen:
Jan 22 08:32:25 hpdev sendmail[6826]: NOQUEUE: SYSERR(root): Warning: .cf vers ion level (10) exceeds sendmail version 8.11.1 (PHNE_35951) functionality (9) WARNING: Could not restart "sendmail" process.
Please ensure that the configuration file /etc/mail/sendmail.cf) version is compatible with the current sendmail binary and then restart sendmail.
The preceding message is issued because the /etc/mail/sendmail.cf file from the earlier version is not saved or restored, so any Sendmail customizations of this file must be re-done, or restored from a backup.

4). Restart Sendmail:
/sbin/init.d/sendmail start
Verify that the system has the expected

5). Sendmail version by inspecting the first line of output from this command:

# sendmail -bs < /dev/null
220 rx7620a.atl.hp.com ESMTP Sendmail 8.11.1 (PHNE_35951)/8.11.1; Thu, 22 Jan 2009 09:20:26 -0500 (EST)
===============================
If there is problem then don't think as problem, think as opportunity.
Mike_305
Super Advisor

Re: Send mail not working.

Hello,

Thanks for the quick answer. I have re-install the sendmail pkg 8.13.8 and and then fix few link issue and that did the magic.

Appreciate your help and enjoy the points.

Regards,

MJ
If there is problem then don't think as problem, think as opportunity.
Mike_305
Super Advisor

Re: Send mail not working.

THX
If there is problem then don't think as problem, think as opportunity.