From owner-freebsd-questions Fri Aug 4 06:40:33 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id GAA11536 for questions-outgoing; Fri, 4 Aug 1995 06:40:33 -0700 Received: from who.cdrom.com (who.cdrom.com [192.216.222.3]) by freefall.cdrom.com (8.6.11/8.6.6) with ESMTP id GAA11530 for ; Fri, 4 Aug 1995 06:40:32 -0700 Received: from sivka.carrier.kiev.ua (sivka.carrier.kiev.ua [193.125.68.130]) by who.cdrom.com (8.6.11/8.6.11) with ESMTP id GAA00530 for ; Fri, 4 Aug 1995 06:40:08 -0700 Received: from elvisti.kiev.ua (root@localhost) by sivka.carrier.kiev.ua (Sendmail 8.who.cares/5) with UUCP id QAA26349 for questions@freebsd.org; Fri, 4 Aug 1995 16:24:12 +0300 Received: from office.elvisti.kiev.ua (office.elvisti.kiev.ua [193.125.28.33]) by spider2.elvisti.kiev.ua (8.6.12/8.6.9) with ESMTP id PAA19228 for ; Fri, 4 Aug 1995 15:42:35 +0300 Received: (from stesin@localhost) by office.elvisti.kiev.ua (8.6.12/8.6.9) id PAA24153; Fri, 4 Aug 1995 15:42:34 +0300 From: "Andrew V. Stesin" Message-Id: <199508041242.PAA24153@office.elvisti.kiev.ua> Subject: Re: Only domain in sendmail 'from'. How? To: rberndt@insync.net (Randy Berndt) Date: Fri, 4 Aug 1995 15:42:33 +0300 (EET DST) Cc: questions@freebsd.org In-Reply-To: <199508040027.TAA20342@vellocet.insync.net> from "Randy Berndt" at Aug 3, 95 07:27:51 pm X-Mailer: ELM [version 2.4 PL24alpha5] Content-Type: text Content-Length: 945 Sender: questions-owner@freebsd.org Precedence: bulk # # Right now, sendmail uses the format "Randy Berndt # " as the From format in my mail (on a new net I # am setting up). I would like it to read "Randy Berndt " # instead. I looked at the rules and went totally cross-eyed. # # Can anyone tell me (step by step, please) how to set this? # Go to a place where sendmail keeps the .m4 sources of it's config. I assume this to be /usr/src/usr.sbin/sendmail/cf/* Find a README there, and read it all twice. (Hint: in your case you need a MASQUERADE_ALL option). Than make your own copy of .mc source file and run m4 on it. Run diff on the result amongst the sendmail.cf now in present, you'll see some few rules added dealing with your occurence. If something doesn't work, feel free to ask me; I'm not a great guru, but I'll definitely try to help. # Thanks. # -- With best wishes -- Andrew Stesin, Elvisti.Kiev.UA sysadmin.