Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Sep 2000 18:07:06 -0400 (EDT)
From:      Jim Weeks <jim@siteplus.net>
To:        Lisa Casey <lisa@jellico.com>
Cc:        freebsd-isp@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG
Subject:   Re: Sendmail: virtual hosts
Message-ID:  <Pine.BSF.4.21.0009271800480.672-100000@veager.siteplus.net>
In-Reply-To: <Pine.BSF.4.21.0009271748500.613-100000@veager.siteplus.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry, I missed missed this the first time around.

This should work with only the entry gimbelconstruction.com in
sendmail.cw, and the entries 

sales@gimbelconstruction.com    dgimbel@jellico.com
dan@gimbelconstruction.com      dgimbel@jellico.com
webmaster@gimbelconstruction.com        gimbel@icx.net
@gimbelconstruction.com 	dgimbel@jellico.com

in virtusertable.  After rehashing the table and restarting sendmail.

You shouldn't get the error on any gimbelconstruction.com address since
you have the default @gimbelconstruction.com to fall back on.

--
Jim Weeks


On Wed, 27 Sep 2000, Jim Weeks wrote:

> I noticed that you mentioned the entry for hardwickclothes.com in
> sendmail.cw, but did not say you hade one for gimbelconstruction.com.  Was
> this just an oversight, or is gimbelconstruction.com not listed in
> sendmail.cw?  
> 
> It must be in sendmail.cw for you machine to accept mail bound for this
> domain.
> 
> --
> Jim Weeks
> 
> 
> On Wed, 27 Sep 2000, Lisa Casey wrote:
> 
> > Hi,
> > 
> > This is a Sendmail problem but I hope someone here can help me. I'm running
> > Sendmail 8.9.3 on FreeBSD 3.2
> > 
> > My FBSD box accepts mail for the virtual domain hardwickclothes.com and
> > sends that E-mail to the local user hardmail. This works just fine.
> > 
> > Now I want to set up E-mail for another virtual domain,
> > gimbelconstruction.com. This domain needs three E-mail addresses:
> > sales@gimbelconstruction.com, dan@gimbelconstruction.com, and
> > webmaster@gimbelconstruction.com  The sales and dan E-mail need to go to
> > dgimbel@jellico.com. The webmaster E-mail needs to go to gimbel@icx.net
> > 
> > My  /etc/mail/virtusertable now looks like this:
> > 
> > @hardwickclothes.com    hardmail
> > sales@gimbelconstruction.com    dgimbel@jellico.com
> > dan@gimbelconstruction.com      dgimbel@jellico.com
> > webmaster@gimbelconstruction.com        gimbel@icx.net
> > @gimbelconstruction.com dgimbel@jellico.com
> > 
> > 
> > Those are tabs between the fields. In the last one it sure doesnt look like
> > a tab, but I deleted it and redid it three times, so I dunno...  I typed a
> > tab...
> > 
> > I added the domain gimbelconstruction.com to /etc/mail/sendmail.cw and to
> > /etc/mail/relay-domains and to /etc/sendmail.cG  I didn't do anything with
> > /etc/aliases, but don't think I need to. I also haven't done anything with
> > /etc/genericstable yet. Not sure what to do there. That file currently has
> > one entry in it:
> > 
> > hardmail @hardwickclothes.com
> > 
> > hardmail is, of course, the local user that the hardwickclothes.com E-mail
> > all goes to. Since none of the gimbelconstruction.com E-mail is going to a
> > local user, I'm not sure what to do here.
> > 
> > Finally I killed and restarted Sendmail and tried sending mail to:
> > sales@gimbelconstruction.com.  I get the standard error message: "The
> > Message could not be sent because one of the recipients was rejected by the
> > server. The rejected E-mail address was sales@gimbelconstruction.com  ......
> > Server response 'No Such User Here' ".
> > 
> > What have I done wrong (or failed to do?)? Must I create  local users then
> > alias the E-mail to the remote addresses (dgimbel@jellico.com and
> > gimbel@icx.net)?
> > 
> > Thanks for your help,
> > 
> > Lisa Casey, Webmaster
> > Interstate 2000, Inc.
> > lisa@jellico.com
> > webmaster@jellico.com
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-isp" in the body of the message
> > 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-isp" 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.BSF.4.21.0009271800480.672-100000>