Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!newsfeed.direct.ca!portc01.blue.aol.com!portc02.blue.aol.com!howland.erols.net!www.nntp.primenet.com!nntp.primenet.com!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!usenet From: brian@awfulhak.demon.co.uk (Brian Somers) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: How to Generate a Sendmail.cf file using m4 (which src dirs to install) Date: 18 Dec 1996 14:48:02 GMT Organization: Coverform Ltd. Lines: 45 Message-ID: <599072$4mn@awfulhak.demon.co.uk> References: <32B439F7.65BA@kafka.hqs.crc.com> NNTP-Posting-Host: awfulhak.coverform.lan X-NNTP-Posting-Host: awfulhak.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Newsreader: knews 0.9.8 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:32752 In article <32B439F7.65BA@kafka.hqs.crc.com>, Dan Benjamin <dpb@kafka.hqs.crc.com> writes: > Hello again! Thanks for your help earlier - now I'm faced with another > situation. > > I'd like to know how to generate a sendmail.cf file using m4 - more > specifically - I'd like to know which src files are needed to do this. > > I'm trying to develop two sendmail files for two systems: > > 1. The TCP/IP connected system which will need to know how to send mail > to the unconnected UUCP system as well as normal Internet mail. > > 2. The completely UUCP connected machine which will need to send *all* > mail to the TCP/IP neighbor. > > Any and all help is greatly appreciated, and may be rewarded with canned > hams. FWIW, I have a mail gateway that accepts mail from lots of other machines, and forwards it when I have a link to the 'net. The .mc file says: VERSIONID(`awfulhak.mc version 1.0') OSTYPE(bsd4.4) FEATURE(nouucp) MAILER(local) MAILER(smtp) FEATURE(nodns) FEATURE(nocanonify) define(`confQUEUE_FACTOR',1) Cwawfulhak.coverform.lan Cwraffles.demon.co.uk define(`confTO_QUEUEWARN',5d) It's made into a .cf file with: CFDIR=/usr/src/usr.sbin/sendmail/cf/ m4 -D_CF_DIR_=$CFDIR ${CFDIR}m4/cf.m4 awfulhak.mc >awfulhak.cf -- Brian <brian@awfulhak.demon.co.uk>, <brian@freebsd.org> <http://www.awfulhak.demon.co.uk/> Don't _EVER_ lose your sense of humour....