Return to BSD News archive
Path: euryale.cc.adfa.oz.au!platinum.sge.net!como.dpie.gov.au!news.gan.net.au!act.news.telstra.net!vic.news.telstra.net!news.mira.net.au!news.netspace.net.au!news.melbpc.org.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!newsfeed.nacamar.de!news-feed.inet.tele.dk!news.he.net!news.kjsl.com!news.reanimators.org!not-for-mail From: Frank McConnell <fmc@reanimators.org> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Mail question Date: 28 Jun 1997 21:18:31 -0700 Organization: Reanimators Lines: 38 Message-ID: <5p4nmn$fgi$1@daemonweed.reanimators.org> References: <5p47sk$a1r@quail.swcp.com> NNTP-Posting-Host: daemonweed.reanimators.org Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:43701 Disclaimer: I don't think of myself as a sendmail expert either. crs@quail.swcp.com (Charlie Sorsby) wrote: > But every once in a while, I get bounced mail because the recipient > doesn't recognize "quail.swcp.com" -- of course there is no such > host registered. I thought that sendmail was properly masquerading > me as swcp.com as a result of: > > DMswcp.com > > in /etd/sendmail.cf which I built using m4 and the files provided. Is there some reason that the first line of set 94 is commented out? > = ################################################################### > = ### Ruleset 94 -- convert envelope names to masqueraded form ### > = ################################################################### > = > = S94 > = #R$+ $@ $>93 $1 ^ are you sure this # is supposed to be there? > = R$* < @ *LOCAL* > $* $: $1 < @ $j . > $2 I think that if you uncomment that line (and signal sendmail to re-read the configuration) sendmail will start masquerading the envelope address as well, hence sending <crs@swcp.com> as the SMTP MAIL FROM argument. > PS My recollection is that mail to the recipient in the appended > headers didn't used to bounce. It's become common to look up the domain name supplied in the SMTP MAIL FROM argument to see if there is valid DNS information for it, and if not (or if it appears to be bogus) to reject the mail message. This is a defense against seriously misconfigured mailers, including those employed by some UCE-flavored spammers. -Frank McConnell