Re: original sendmail.cf, mc ?
Thank you very much for your help ! Now all works fine. I just configured the smart host my mc file. On Thu, 24 Nov 2011 10:12:17 +0100, Antoine Jacoutot wrote: > On Thu, Nov 24, 2011 at 09:54:17AM +0100, Paul de Weerd wrote: >> Looking more closely at how I set this up, hostname.mc is actually in >> /etc/mail with a symlink to /usr/share/sendmail/cf and sendmail.cf is >> a symlink to /usr/share/sendmail/cf/hostname.cf. This way, my /etc >> backup backs up the configuration (mc file) and not its parsed output >> (cf file, which still gets backed up to /var/backups). > > Your mc file should be appended at the end of your cf file; so you only > need to backup your cf file ;)
Re: original sendmail.cf, mc ?
On Thu, Nov 24, 2011 at 09:54:17AM +0100, Paul de Weerd wrote: > Looking more closely at how I set this up, hostname.mc is actually in > /etc/mail with a symlink to /usr/share/sendmail/cf and sendmail.cf is > a symlink to /usr/share/sendmail/cf/hostname.cf. This way, my /etc > backup backs up the configuration (mc file) and not its parsed output > (cf file, which still gets backed up to /var/backups). Your mc file should be appended at the end of your cf file; so you only need to backup your cf file ;) -- Antoine
Re: original sendmail.cf, mc ?
On Thu, Nov 24, 2011 at 12:30:51PM +0400, Wesley M. wrote: | Hi, | | I use OpenBSD 5.0 | I know the *.mc files are in : | /usr/share/sendmail/cf/ | And sendmail.cf file is in /etc/mail, but it comes | from which mc file ? /usr/share/sendmail/cf/openbsd-proto.mc | I just want to modify the origin mc file to allow me | to send email from a real domain instead of his hostname. | Or perhaps, there | an easiest way to do that... Wrong ? I copy openbsd-proto.mc to hostname.mc, edit hostname.mc and then `make hostname.cf`. Then I copy hostname.cf to /etc/mail/sendmail.cf and restart sendmail. Looking more closely at how I set this up, hostname.mc is actually in /etc/mail with a symlink to /usr/share/sendmail/cf and sendmail.cf is a symlink to /usr/share/sendmail/cf/hostname.cf. This way, my /etc backup backs up the configuration (mc file) and not its parsed output (cf file, which still gets backed up to /var/backups). Cheers, Paul 'WEiRD' de Weerd -- >[<++>-]<+++.>+++[<-->-]<.>+++[<+ +++>-]<.>++[<>-]<+.--.[-] http://www.weirdnet.nl/
Re: original sendmail.cf, mc ?
On Thu, Nov 24, 2011 at 12:30:51PM +0400, Wesley M. wrote: > Hi, > > I use OpenBSD 5.0 > I know the *.mc files are in : > /usr/share/sendmail/cf/ > And sendmail.cf file is in /etc/mail, but it comes > from which mc file ? $ grep VERSIONID /etc/mail/*cf -- Antoine