Re: [SLE] sendmail.cf m4 local info missing suseconfig
![](https://seccdn.libravatar.org/avatar/780f00cbd5ec03e3bfb63798122bc668.jpg?s=120&d=mm&r=g)
Sorry for rolling my own log here. I've just found this, posted three days ago at the sendmail.org site. I sure wish I could find this at the SuSe site! http://www.sendmail.org/faq/section5.html#5.3.2 5.3.2 -- SuSE ------------------------------------------------------------------------ -------- 5.3.2.1 -- Where is the sendmail.mc file on SuSE Linux? Date: May 5, 2002 On SuSE Linux systems there is no real sendmail.mc file. This file is generated 'on the fly' by SuSEconfig using several variables in /etc/rc.config and /etc/rc.config.d/sendmail.rc.config (SuSE <= 7.3) or /etc/sysconfig/sendmail (SuSE >= 8.0). SuSEconfig executes the script /sbin/conf.d/SuSEconfig.sendmail to a) build a temorary .mc file b) execute m4 to generate /etc/sendmail.cf and c) delete the temporary .mc file afterwards. To make customisations you cannot achieve by modifying the variables in the configuration files mentioned above (using YaST or YaST2), you have two options: Use /etc/mail/linux.mc (or /etc/mail/linux.nullclient.mc) as a starting point. Both files contain several helpful comments. To get a .mc file based on your current configuration, modify /sbin/conf.d/SuSEconfig.sendmail to keep the temporary .mc file and execute SuSEconfig afterwards. Then use that copy as starting point. In both cases you have to build your /etc/sendmail.cf (note: SuSE still uses /etc not /etc/mail as suggested in the manual) using the m4 macroprocessor: m4 your.mc.file > /etc/sendmail.cf Then reload sendmail with "rcsendmail reload". To prevent SuSEconfig from overiding your new sendmail.cf in future runs, set the variable "SENDMAIL_TYPE" in /etc/rc.config.d/sendmail.rc.config to "no" (SuSE Linux <= 7.3). On systems >= 8.0 you probably will have to set an "exit" command atop of the file /sbin/conf.d/SuSEconfig.sendmail to do the same. SuSE 8.0 does not know the SENDMAIL_TYPE variable. ----- Original Message ----- From: mkochsch@shaw.ca Date: Wednesday, May 8, 2002 11:46 am Subject: [SLE] sendmail.cf m4 local info missing
When I compile my linux.mc with m4 I can create a sendmail.cf file fine, but I'm missing parts of the "LOCAL INFO" section:
DS DR DH DM
...fields are all blank, or rather still need to be filled in! they should have my host name and in the case of DM my masquerade name. What have I forgotten? I notice that my masquerade_envelope.m4 file isn't referenced in my compile of the sendmail.cf file, unlike the one SuseConfig produced.
thx. michael
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com
Also check the archives at http://lists.suse.com
participants (1)
-
mkochsch@shaw.ca