Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Oct 1999 13:32:00 -0700
From:      "Daniel F. Zucker" <dazucker@pacbell.net>
To:        "'Joe \"Marcus\" Clarke'" <marcus@miami.edu>
Cc:        "'freebsd-questions@freebsd.org'" <freebsd-questions@FreeBSD.ORG>
Subject:   RE: Can't get aliasing to work for sendmail
Message-ID:  <01BF1E24.27211A40@test5.pacbell.net>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01BF1E24.27211A40>