Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Oct 1999 22:18:44 -0400 (EDT)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        dazucker@pacbell.net (Daniel F. Zucker)
Cc:        marcus@miami.edu ('Joe "Marcus" Clarke'), freebsd-questions@FreeBSD.ORG ('freebsd-questions@freebsd.org')
Subject:   Re: Can't get aliasing to work for sendmail
Message-ID:  <199910250218.WAA41707@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <01BF1E24.27211A40@test5.pacbell.net> from "Daniel F. Zucker" at "Oct 24, 1999 01:32:00 pm"

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910250218.WAA41707>