From owner-freebsd-questions Tue Jul 14 14:08:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA15316 for freebsd-questions-outgoing; Tue, 14 Jul 1998 14:08:52 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from peloton.physics.montana.edu (peloton.physics.montana.edu [153.90.192.177]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA15311 for ; Tue, 14 Jul 1998 14:08:49 -0700 (PDT) (envelope-from brett@peloton.physics.montana.edu) Received: from localhost (brett@localhost) by peloton.physics.montana.edu (8.8.8/8.8.7) with SMTP id PAA05301 for ; Tue, 14 Jul 1998 15:08:25 -0600 (MDT) (envelope-from brett@peloton.physics.montana.edu) Date: Tue, 14 Jul 1998 15:08:25 -0600 (MDT) From: Brett Taylor Reply-To: Brett Taylor To: freebsd-questions@FreeBSD.ORG Subject: sendmail alias question Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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