O'Reilly logo

Solaris™ Operating Environment Boot Camp by Dominic Butler, David Rhodes

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

Sendmail and M4

We know that m4 is only used within sendmail for generating the configuration file, sendmail.cf—although as we've said before, this is the main task involved in getting mail working! The process to do this follows the same steps we used for our last example, only on a much greater scale. In other words, we pass a definition file and a small input file on to m4 and it creates the correct output file. All the definition files are supplied with sendmail in a directory named /usr/lib/mail. There are also a number of other files in here that help make all this work. Let's look at what's in there by default:

 hydrogen# cd /usr/lib/mail hydrogen# ls -l total 176 drwxrwxr-x 2 root mail 512 Aug 27 2000 cf drwxrwxr-x 2 root mail 512 Aug ...

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