What is the difference between dnl and dnl # in a /etc/mail/sendmail.mc file? If I want to enable something what needs to be in front? Likewise, if I want to "comment out" something, what prefix do I need?
For example:
dnl # masquerade not just @mydomainalias.com, but @*.mydomainalias.com as well
dnl #
dnl FEATURE(masquerade_entire_domain)dnl
dnl #
dnl MASQUERADE_DOMAIN(localhost)dnl
dnl MASQUERADE_DOMAIN(localhost.localdomain)dnl
dnl MASQUERADE_DOMAIN(foo.com)dnl
dnl MASQUERADE_DOMAIN(foo2.lan)dnl
MAILER(smtp)dnl
MAILER(procmail)dnl
dnl MAILER(cyrusv2)dnl
dnlbut you'll end up with extra blank lines insendmail.cf. And yes, if you want something to take effect, it must actually be present insendmail.cf... – Michael Hampton Feb 08 '14 at 06:36DNLis notdnl. Sorry but I have seen a few stupid m4 bugs in answears with very high scores in Stack Exchange sites. – AnFi Feb 09 '14 at 23:16dnlordnl #in front of it...? and I'll want to always end it with dnl? – Mike B Feb 10 '14 at 03:00#does not get copied as-is to sendmail.cf. Instead, the line is copied with only the#removed. Thus, a#line does not end up as a comment. (I was processing usingm4.) – Old Geezer May 28 '22 at 03:55