I am trying to work around some design issues. Some of out FreeBSD macines must live in a made up domain. As a result from these machines gtesdiscarded by an sensible mail handling system.I have solved this problem on some Soalris machines that also si`uffer from this same design by settting the doamin macro in thier sendmail.cf as follows:Dj$w.realdomain.com OI know that in FreeBSD I should not edit sendmail.cf directly, but instead should edit the appropriate .mc file, and remake the .cf file. But I cannot find the documentation as to how to set this particular sendmail macro from the .mc fileCan anyou give me some guidance here?
/usr/share/sendmail/cf/README documents what you can put into a sendmail .mc file. The specific thing you want is: define(`confDOMAIN_NAME', `$w.realdomain.com')dnl Add this to the `hostname`.mc file, and then just type 'make' in /etc/mail to generate a .cf file from it. To generate and install that .cf file and restart sendmail to use it all in one, just do:# make all install restart
Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW
Description: OpenPGP digital signature