1753838 Members
9210 Online
108806 Solutions
New Discussion

m4 and sendmail.cf

 
Michael_114
Occasional Advisor

m4 and sendmail.cf

I am using m4 to create a sendmail.cf file and I would like to make additions to the SParse1 part of ruleset 0. I can't get my rules to show up where I want them in the sendmail.cf file. I have tried some of the divert() statements, but they don't give me what I want.
Anyone know how to control where your m4 statements show up in a sendmail.cf file?
1 REPLY 1
Steven E. Protter
Exalted Contributor

Re: m4 and sendmail.cf

The standard HP-UX implementation does not use the sendmail.mc file. It uses the same thing under another name.

Here is my buildmail script text.
http://www.hpux.ws/buildmail.hpux.text

This script documents the location of the replacement sendmail.mc file /usr/newconfig/etc/mail/cf/cf

generic-hpux10.mc

changes normally made to sendmail.mc should be made here. The script I wrote, generates a sendmail.cf file and moves it to production and restarts the sendmail daemon.

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