Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jul 1998 15:08:25 -0600 (MDT)
From:      Brett Taylor <brett@peloton.physics.montana.edu>
To:        freebsd-questions@FreeBSD.ORG
Subject:   sendmail alias question
Message-ID:  <Pine.BSF.3.96.980714144908.4306L-100000@peloton.physics.montana.edu>

next in thread | raw e-mail | index | archive | help
Hi,

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:

peloton: {2} nslookup ezine.freebsd.org
Server:  ercax1.coe.montana.edu
Address:  153.90.192.10

Non-authoritative answer:
Name:    peloton.physics.montana.edu
Address:  153.90.192.177
Aliases:  ezine.freebsd.org

I would like the outgoing mail from the alias to have its From line
look like: 

	core@ezine.freebsd.org

And the rest of the email leaving here to look like
peloton.physics.montana.edu.

Right now w/ the modifications I've made to sendmail it is opposite that! 
If you respond to a list it gives "core@peloton.physics.montana.edu" as
the "To" address and my outgoing mail says I'm at ezine.freebsd.org.

Here's the corrections I've made to /etc/sendmail.cf (yes I've restarted
sendmail after this):

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

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

I know I can add usernames to a CE line to force it to say mail
from me is really coming from peloton and not the ezine address, but
is there a more elegant way to get this to work other than add my
username and all the others' usernames to a CE line?

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

Thanks for any help in advance - I got lost in the sendmail man and help
pages.  :-)

Brett
***********************************************************
Brett Taylor 		brett@peloton.physics.montana.edu
http://peloton.physics.montana.edu/brett/

How many Microsoft employees does it take to change a light
bulb? Zero. They declared Darkness[tm] the standard.



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