可以看下面的guide:
The following steps will guide you trough the setup of AIX sendmail via using the m4 mechanism.
This info is valid for AIX 4.3.3, AIX 5.1, AIX 5.2 and AIX 5.3.
First you need to install bos.net.tcp.adt, you can find this package on the AIX base media.
Once installed, goto the directory /usr/samples/tcpip/sendmail/cf. You will find here a file called aixsample.mc, use this file as a basis to configure your own sendmail.mc. Interesting extra features you can use are:
* define(`SMART_HOST', `smtp.yourdomain.com')
* define(`confPRIVACY_FLAGS',`authwarnings,novrfy,noexpn,restrictqrun')dnl
Make sure you add:
include(`/usr/samples/tcpip/sendmail/m4/cf.m4')
at the beginning of the file, to tell m4 where to find the cf.m4 macros.
Once you created the .mc file, run:
* cd /usr/samples/tcpip/sendmail/cf
* #