Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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