Operating System - HP-UX
1834812 Members
2571 Online
110070 Solutions
New Discussion

error with sendmail.cf file on hp-ux 11.0 OS

 
SOLVED
Go to solution
Sagar Sirdesai
Trusted Contributor

error with sendmail.cf file on hp-ux 11.0 OS

Hi
Just recently whe i start the sendmail daemon I am getting the below error .

Please help .

server_name:/root >/sbin/init.d/sendmail start
/etc/mail/sendmail.cf: line 750: readcf: map arith: class arith not available
/etc/mail/sendmail.cf: line 939: DaemonPortOptions parameter "Name=MTA" unknown
/etc/mail/sendmail.cf: line 940: DaemonPortOptions parameter "Name=MSA" unknown
/etc/mail/sendmail.cf: line 940: DaemonPortOptions parameter "M=E" unknown
/etc/mail/sendmail.cf: line 1156: readcf: unknown option name DeadLetterDrop
Warning: .cf version level (9) exceeds sendmail version 8.9.3 (PHNE_24419) funct
ionality (8)
554 /etc/mail/sendmail.cf: line 750: readcf: map arith: class arith not availabl
e
554 /etc/mail/sendmail.cf: line 939: DaemonPortOptions parameter "Name=MTA" unkn
own
554 /etc/mail/sendmail.cf: line 940: DaemonPortOptions parameter "Name=MSA" unkn
own
554 /etc/mail/sendmail.cf: line 940: DaemonPortOptions parameter "M=E" unknown
554 /etc/mail/sendmail.cf: line 1156: readcf: unknown option name DeadLetterDrop
554 Warning: .cf version level (9) exceeds sendmail version 8.9.3 (PHNE_24419) f
unctionality (8)
8 REPLIES 8
Peter Godron
Honored Contributor

Re: error with sendmail.cf file on hp-ux 11.0 OS

Sagar,
have you changed anything like upgrade sendmail or used an old sendmail.cf file?
Sagar Sirdesai
Trusted Contributor

Re: error with sendmail.cf file on hp-ux 11.0 OS

Hi
Somebody has tweaked with this file.
But now I hve revert it back.
Please help me in getting sendmail up.

Regards
Sagar
Peter Godron
Honored Contributor

Re: error with sendmail.cf file on hp-ux 11.0 OS

Sagar,
quickest way is to get the original file from backup.
If that is not possible, either go through the cf file and address each problem, or, if you have not done any great local configuration, download your sendmail version again and copy the cf file.
Sagar Sirdesai
Trusted Contributor

Re: error with sendmail.cf file on hp-ux 11.0 OS

Hi

Thanks for the help.
Please clrify one thing
Does the error mean that the Sendmail Version and it cf file do not match.

if yes how do I find the version of the cf file.
Peter Godron
Honored Contributor
Solution

Re: error with sendmail.cf file on hp-ux 11.0 OS

Hi,
command
grep ^DZ sendmail.cf should gives you the version of the sendmail.cf.
If somebody has been changing the file, the format may of course no longer be correct. So best to go for a backup restore of the file.
Geoff Wild
Honored Contributor

Re: error with sendmail.cf file on hp-ux 11.0 OS

A vanila version can be found in:

/usr/newconfig/etc/mail/sendmail.cf

I would copy the "bad" one first:

cp -p /etc/mail/sendmail.cf /etc/mail/sendmail.cf.bad

then,

cp -p /usr/newconfig/etc/mail/sendmail.cf /etc/mail/sendmail.cf

vi /etc/mail/sendmail.cf and make any changes you need for your environment - like Smart Relay, domain name...etc.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Sagar Sirdesai
Trusted Contributor

Re: error with sendmail.cf file on hp-ux 11.0 OS

Hi All
Thanks for the Help.
I copied the file fro /usr/mail


I modified it accordingly.

Thanks again
Sagar Sirdesai
Trusted Contributor

Re: error with sendmail.cf file on hp-ux 11.0 OS

Thanks for the help.