Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sendmail.cf to sendmail.mc

Status
Not open for further replies.

bluelake

Technical User
Jan 20, 2003
57
CN
hi,all

i have a sendmail server it use a single sendmail.cf as its configuration file,it works well.

but in order to simplize the configuration and let my fellows easily understand and modify the configuration of sendmail,i have to convert the complex single configuration file sendmail.cf to dispersive configuration files,such as access,mailertable,local-host-names etc.

in another words, i have a mailserver_a only using a single sendmail.cf as its configuration file, now i want another mailserver_b to subsitute mailserver_a, and mailserver_b use sendmail.mc to create files access,mailertable,local-host-names as its configuration file, then we donnot need modify the sendmail.cf directly.

i only know the sendmail.cf is maked by sendmail.mc through the command "m4 sendmail.mc > sendmail.cf",before doing this i shoud add some feature in the sendmail.mc. the question is how i can modify these dispersive file such as access,mailertable from a well configured sendmail.cf? that is i want to know which macro or class in the sendmail.cf maps the dispersive file created by sendmail.mc?

hope you guys can understand my poor english :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top