From owner-freebsd-questions Sun Oct 24 19:15:34 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 4FDE015030 for ; Sun, 24 Oct 1999 19:15:30 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id WAA41707; Sun, 24 Oct 1999 22:18:44 -0400 (EDT) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199910250218.WAA41707@cc942873-a.ewndsr1.nj.home.com> Subject: Re: Can't get aliasing to work for sendmail In-Reply-To: <01BF1E24.27211A40@test5.pacbell.net> from "Daniel F. Zucker" at "Oct 24, 1999 01:32:00 pm" To: dazucker@pacbell.net (Daniel F. Zucker) Date: Sun, 24 Oct 1999 22:18:44 -0400 (EDT) Cc: marcus@miami.edu ('Joe "Marcus" Clarke'), freebsd-questions@FreeBSD.ORG ('freebsd-questions@freebsd.org') Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Daniel F. Zucker wrote, > Thanks for the reply. It does work when I have the entries in sendmail.cw and no DM entries. According to The Complete FreeBSD (p. 465-466), it should work when I have DM entries but no sendmail.cw file. I'm just curious as to what is going on and why DM doesn't seem to work. You are still not putting in carriage returns. It makes your mail very hard to read... > Thanks for the reply. It does work when I have the entries in > sendmail.cw and no DM entries. According to The Complete FreeBSD > (p. 465-466), it should work when I have DM entries but no > sendmail.cw file. I'm just curious as to what is going on and why > DM doesn't seem to work. Ah, much better. If you don't put in carriage returns, my next mail on sendmail will talk about w=$ macros, ruleset 3, and a mailertable hashed database. ;) Anyway, I don't have my Complete FreeBSD handy, but you seem a bit confused about what 'aliasing' means. The 'DM' entry in sendmail.cf will make mail look like it is _from_ 'whereever.org' but has nothing to do with what mail is or is not identified as local (or what is allowed to relay for that matter). It only modifies that 'From:' line on the outgoing mail. It sure seems to me that if you have a sendmail.cw containing, zookware.com www.zookware.com mail.zookware.com And the line, DMzookware.com In sendmail.cf, that you will have sendmail working like you want. So what is your question? Is something still not working? > -----Original Message----- > From: Joe "Marcus" Clarke [SMTP:marcus@miami.edu] > Sent: Sunday, October 24, 1999 1:03 PM > To: Daniel F. Zucker > Cc: 'freebsd-questions@freebsd.org' > Subject: Re: Can't get aliasing to work for sendmail > > /etc/mail/sendmail.cw should contain a list of hosts for which you wish to > receive mail. Therefore, you should have: > > zookware.com > www.zookware.com > mail.zookware.com > > in /etc/mail/sendmail.cw if you wish to receive mail for those three > hosts. In addition to putting DMzookware.com, try updating ruleset 94. > Make it read: > > ################################################################### > ### Ruleset 94 -- convert envelope names to masqueraded form ### > ################################################################### > > S94 > R$+ $@ $>93 $1 > #R$* < @ *LOCAL* > $* $: $1 < @ $j . > $2 > > > Note: the spaces between R$+ and $@ are TABS. If you include spaces, > sendmail will bomb. > > Joe Clarke > > On Sun, 24 Oct 1999, Daniel F. Zucker wrote: > > > Hi, > > > > I have 1 machine that I use for email, web, etc. In the DNS table, the machine is known as zookware.com, and is CNAME'ed to www.zookware.com and mail.zookware.com. It thinks its own name is www.zookware.com. I would like to configure it to receive mail for me@zookware.com. > > > > When I put zookware.com as an alias entry (DMzookware.com) in sendmail.cf, I get this error : > > > > SYSERR(root): zookware.com. config error: mail loops back to me (MX problem?) > > > > when I receive mail. > > > > But, when I put zookware.com in the file /etc/mail/sendmail.cw it works correctly. > > > > I would like to use masquerading if at all possible. Can someone please tell me why this doesn't work? > > > > Thanks, > > Dan > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message