O'Reilly logo

Solaris™ 8 Advanced System Administrator's Guide, Third Edition by Janice Winsor

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Generating the sendmail Configuration File

Once you have completed your m4 macro configuration file editing, you use the m4 macro processor to create the final sendmail configuration file. For the following examples, we assume that your macro configuration file is located at /usr/lib/mail/myconfig.mc.

If you used the built-in include directive mentioned in “Including the Sendmail m4 Macro Definitions” , run the following command.

# m4 /usr/lib/mail/myconfig.mc > /tmp/sendmail.cf
					

If you did not use the built-in include directive, you can still run m4, using the following arguments.

# m4 /usr/lib/mail/m4/cf.m4 /usr/lib/mail/myconfig.mc > /tmp/sendmail.cf ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required