Date: Mon, 23 Apr 2001 09:56:30 +1200 From: Jonathan Chen <jonathan.chen@itouch.co.nz> To: Andrew Gould <andrewgould@yahoo.com> Cc: FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG> Subject: Re: sendmail masquerading problem Message-ID: <20010423095630.D47279@itouchnz.itouch> In-Reply-To: <20010422155745.45481.qmail@web13401.mail.yahoo.com>; from andrewgould@yahoo.com on Sun, Apr 22, 2001 at 08:57:45AM -0700 References: <20010422155745.45481.qmail@web13401.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 22, 2001 at 08:57:45AM -0700, Andrew Gould wrote: [...] > I made the following changes to > /etc/mail/sendmail.cf: > > DSvipmail.earthlink.net > DMdatawok.com > > I then restarted sendmail. When I try to send mail, > Earthlink rejects the mail; indicating that the sender > domain, 'terrek.datawok.com', needs to exist. That's 'cos terrek.datawok.com hasn't got a DNS entry; but you don't need this to get your mail system working... > Masquerading does not seem to be working. You need to get a working config (don't need to change hosts files et al). Your m4 config file (and you should use them instead of tweaking sendmail.cf directly) should look something like: VERSIONID(`@(#)datawok.mc') OSTYPE(bsd4.4)dnl DOMAIN(generic)dnl FEATURE(`use_cw_file') FEATURE(`access_db') FEATURE(`mailertable') FEATURE(local_lmtp)dnl define(`LOCAL_MAILER_FLAGS', LOCAL_MAILER_FLAGS`'P)dnl MASQUERADE_AS(datawok.com) FEATURE(`masquerade_envelope') MAILER(local)dnl MAILER(smtp)dnl Djdatawok.com Plonk it down in /usr/share/sendmail/cf/cf, and build it with: m4 ../m4/cf.m4 datawok.mc > datawok.cf cp datawok.cf /etc/mail/sendmail.cf and restart sendmail. -- Jonathan Chen <jonathan.chen@itouch.co.nz> ---------------------------------------------------------------------- Computers are like air conditioners. They stop working when you open Windows. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010423095630.D47279>