From owner-freebsd-questions Sun Feb 18 17:21:26 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA17289 for questions-outgoing; Sun, 18 Feb 1996 17:21:26 -0800 (PST) Received: from server.mediasoft.net (server.mediasoft.net [205.139.200.5]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id RAA17277 for ; Sun, 18 Feb 1996 17:21:21 -0800 (PST) Received: from ras139.mediasoft.net by server.mediasoft.net; (NTMail 3.01.00) id ka122574; Sun, 18 Feb 96 20:17:52 -0500 Received: (from daveho@localhost) by localhost (8.6.12/8.6.12) id KAA00425; Sun, 18 Feb 1996 10:19:15 -0500 Date: Sun, 18 Feb 1996 10:19:14 -0500 (EST) From: David Hovemeyer Reply-To: Hovemeyer_D@mediasoft.net To: questions@freebsd.org Subject: sendmail questions Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Info: MediaSoft Internet Services Sender: owner-questions@freebsd.org Precedence: bulk Howdy sendmail gurus, This is at least sort of FreeBSD-specific. I am sending mail from a FreeBSD box that is intermittently connected to an ISP that dynamically assigns IP addresses. When my mail goes out, I would like sendmail to change the address in the "From:" header from "daveho@roo" (my local username and hostname) to "Hovemeyer_D@mediasoft.net" (the address of my POP3 account at the ISP). Right now I am using a "Reply-to:" header to at least insure that replies come back to the right place, but I would like to have the "real" headers be correct instead. I looked at the sendmail FAQ, which mentions the "user database" feature of sendmail to allow rewriting of From: headers. Is this feature enabled in FreeBSD's sendmail? (I am using 2.1.0R.) I tried the canned example in the FAQ, and it seems to have no effect. Assuming that I can use the user database, will it do what I want, maybe in conjunction with the "DMsome.domain" masquerading feature? Any insight appreciated. Dave -- "Everybody dies frustrated and sad, and that is beautiful." -- They Might Be Giants