From owner-freebsd-isp Wed Jul 15 12:25:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA05977 for freebsd-isp-outgoing; Wed, 15 Jul 1998 12:25:45 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from mailhub.ainet.com (mailhub.ainet.com [204.30.40.29]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA05972 for ; Wed, 15 Jul 1998 12:25:42 -0700 (PDT) (envelope-from jmscott@ainet.com) Received: from ainet.com (root@ainet.com [204.30.40.6]) by mailhub.ainet.com (8.9.1/8.8.7) with SMTP id MAA17380; Wed, 15 Jul 1998 12:25:30 -0700 (PDT) (envelope-from jmscott@ainet.com) Received: from perl.ainet.com by ainet.com (4.1/SMI-4.1) id AA20213; Wed, 15 Jul 98 12:26:23 PDT Message-Id: <3.0.5.32.19980715122555.007b65e0@mail.ainet.com> X-Sender: jmscott@mail.ainet.com X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Wed, 15 Jul 1998 12:25:55 -0700 To: Intuitive Design Archive , freebsd-isp@FreeBSD.ORG From: "Joseph M. Scott" Subject: Re: Outgoing Mail Mapping In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org You may want to look at the masquerade feature. ( The Sendmail book page 280 ) there is a masquerade_as that can be used in the m4 stuff. This may vary but I believe the default /etc/sendmail.cf file has this ability so all you would need to do is define DM. In the 2.2.6 machine I just finished the line looks like this : # who I masquerade as (null for no masquerading) (see also $=M) DM To make is masq. as foobar.com ( even though the machine is mail.foobar.com ) the line would look like : # who I masquerade as (null for no masquerading) (see also $=M) DMfoobar.com you may also want to take note of the CE and CL items a few lines above that. These tell sendmail not to masquerade mail for certain users ( by default root ). I don't claim to be all knowing on the sendmail front, but I do believe all of the above should work fine. ( Although I'd test it a bit before trusting it too much :-) Joseph Scott jmscott@ainet.com At 02:04 PM 7/15/98 -0400, Intuitive Design Archive wrote: >Hello all; > > Simple question with sendmail... > > How can one send out all mails from a particular network to show >as blah@somedomain.com instead of blah@host.somedomain.com; in other words >change all outgoing mail to have just the domain name on the outgoing >emails? > > >Thanks >Tamer > > >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