From owner-freebsd-questions Sun Oct 24 13:37:19 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mta1.snfc21.pbi.net (mta1.snfc21.pbi.net [206.13.28.122]) by hub.freebsd.org (Postfix) with ESMTP id 7A5C414BF7 for ; Sun, 24 Oct 1999 13:37:17 -0700 (PDT) (envelope-from dazucker@pacbell.net) Received: from test5.pacbell.net ([209.233.21.234]) by mta1.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.1999.09.16.21.57.p8) with SMTP id <0FK4009B6JWVWV@mta1.snfc21.pbi.net> for freebsd-questions@FreeBSD.ORG; Sun, 24 Oct 1999 13:36:39 -0700 (PDT) Received: by test5.pacbell.net with Microsoft Mail id <01BF1E24.27211A40@test5.pacbell.net>; Sun, 24 Oct 1999 13:32:01 -0700 Date: Sun, 24 Oct 1999 13:32:00 -0700 From: "Daniel F. Zucker" Subject: RE: Can't get aliasing to work for sendmail To: "'Joe \"Marcus\" Clarke'" Cc: "'freebsd-questions@freebsd.org'" Message-id: <01BF1E24.27211A40@test5.pacbell.net> MIME-version: 1.0 Content-type: text/plain; charset="us-ascii" Content-transfer-encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. Thanks, Dan -----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, >=20 > 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. >=20 > When I put zookware.com as an alias entry (DMzookware.com) in = sendmail.cf, I get this error : >=20 > SYSERR(root): zookware.com. config error: mail loops back to me (MX = problem?) >=20 > when I receive mail. >=20 > But, when I put zookware.com in the file /etc/mail/sendmail.cw it = works correctly. >=20 > I would like to use masquerading if at all possible. Can someone = please tell me why this doesn't work? >=20 > Thanks, > Dan >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message >=20 >=20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message