Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Oct 1999 16:02:37 -0400 (EDT)
From:      "Joe \"Marcus\" Clarke" <marcus@miami.edu>
To:        "Daniel F. Zucker" <dazucker@pacbell.net>
Cc:        "'freebsd-questions@freebsd.org'" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Can't get aliasing to work for sendmail
Message-ID:  <Pine.OSF.4.10.9910241559370.15313-100000@jaguar.ir.miami.edu>
In-Reply-To: <01BF1E1C.838C70C0@test5.pacbell.net>

next in thread | previous in thread | raw e-mail | index | archive | help
/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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.4.10.9910241559370.15313-100000>