From owner-freebsd-questions Tue Jul 14 15:10:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA22740 for freebsd-questions-outgoing; Tue, 14 Jul 1998 15:10:58 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from java.dpcsys.com (java.dpcsys.com [206.16.184.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA22735 for ; Tue, 14 Jul 1998 15:10:57 -0700 (PDT) (envelope-from dan@dpcsys.com) Received: from localhost (dan@localhost) by java.dpcsys.com (8.8.7/8.8.2) with SMTP id PAA08832; Tue, 14 Jul 1998 15:11:22 -0700 (PDT) Date: Tue, 14 Jul 1998 15:11:22 -0700 (PDT) From: Dan Busarow To: Brett Taylor cc: freebsd-questions@FreeBSD.ORG Subject: Re: sendmail alias question In-Reply-To: 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 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