Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jul 1998 15:11:22 -0700 (PDT)
From:      Dan Busarow <dan@dpcsys.com>
To:        Brett Taylor <brett@peloton.physics.montana.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: sendmail alias question
Message-ID:  <Pine.BSF.3.96.980714150618.6596L-100000@java.dpcsys.com>
In-Reply-To: <Pine.BSF.3.96.980714144908.4306L-100000@peloton.physics.montana.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 14 Jul 1998, Brett Taylor wrote:
> I've made an alias for sendmail and placed it in my /etc/aliases, ran
> newaliases and now the alias works.  This alias, core, is to support a
> small list working on an ezine.  There is now a CNAME for my server as:

Don't give virtual hosts a CNAME, sendmail will resolve it to its
canonical name, peloton.physics.montana.edu in your case.  All you need
for ezine.freebsd.org is an MX record pointing to your system.

> I would like the outgoing mail from the alias to have its From line
> look like: 
> 
> 	core@ezine.freebsd.org

Get rid of the CNAME and this will work fine.

> Cwlocalhost
> Cwezine.freebsd.org  (this is a new modfication)

OK, see virtusertable to make it send mail for whatever@ezine.freebsd.org
to the local user core.

> # who I masquerade as (null for no masquerading) (see also $=M)
> 	
> #DM 	(newly commented out)	
> DMezine.freebsd.org  	(newly added)

Bzzt!  You just told your sendmail to pretend that it is ezine.freebsd.org,
always.  Delete that.

> Can I also get the return address for a reply to the alias to be
> core@ezine.freebsd.org (will a reply to work?)?

Reply should work fine.

Dan
-- 
 Dan Busarow                                                  949 443 4172
 DPC Systems / Beach.Net                                    dan@dpcsys.com
 Dana Point, California  83 09 EF 59 E0 11 89 B4   8D 09 DB FD E1 DD 0C 82


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.3.96.980714150618.6596L-100000>