I need to provide the name of a relay server to my sendmail configuration file. This server name is however configurable via another system/application.
In case of a change, i need to change the server name in this file and restart sendmail.
Also, i dont have the option of compiling the sendmail.mc file everytime it changes.
Is it possible to ask sendmail to read/include another file for the server name. This file will contain the name of the server which has been configured in the system?
something like: include("./severname.conf");
where servername.conf will have the name of the server to which relaying needs to be done.
Is it possible?