From owner-freebsd-questions Sun Oct 24 13: 2:42 1999 Delivered-To: freebsd-questions@freebsd.org Received: from jaguar.ir.miami.edu (jaguar.ir.miami.edu [129.171.32.10]) by hub.freebsd.org (Postfix) with ESMTP id E6CA515113 for ; Sun, 24 Oct 1999 13:02:38 -0700 (PDT) (envelope-from marcus@miami.edu) Received: from jaguar.ir.miami.edu ("port 1619"@jaguar.ir.miami.edu [129.171.32.10]) by jaguar.ir.miami.edu (PMDF V5.2-32 #40232) with ESMTP id <0FK40088JICDQR@jaguar.ir.miami.edu> for freebsd-questions@FreeBSD.ORG; Sun, 24 Oct 1999 16:02:37 -0400 (EDT) Date: Sun, 24 Oct 1999 16:02:37 -0400 (EDT) From: "Joe \"Marcus\" Clarke" Subject: Re: Can't get aliasing to work for sendmail In-reply-to: <01BF1E1C.838C70C0@test5.pacbell.net> To: "Daniel F. Zucker" Cc: "'freebsd-questions@freebsd.org'" Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG /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