From owner-freebsd-questions Sun Feb 16 8:39:44 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 955C837B401 for ; Sun, 16 Feb 2003 08:39:42 -0800 (PST) Received: from pa-plum1b-166.pit.adelphia.net (pa-plum1b-13.pit.adelphia.net [24.53.161.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8C3743FAF for ; Sun, 16 Feb 2003 08:39:40 -0800 (PST) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (working [172.16.0.95]) by pa-plum1b-166.pit.adelphia.net (8.12.3/8.12.3) with ESMTP id h1GGdcrX004176; Sun, 16 Feb 2003 11:39:39 -0500 (EST) (envelope-from wmoran@potentialtech.com) Message-ID: <3E4FBECA.8070809@potentialtech.com> Date: Sun, 16 Feb 2003 11:39:38 -0500 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021127 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Jack L. Stone" Cc: freebsd-questions@freebsd.org Subject: Re: Setting proper From host in Sendmail References: <3.0.5.32.20030216090543.02216038@sage-one.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jack L. Stone wrote: > Pardon me if this is OT, but it is probably an easy question for many on > this list. > > The problem: > Host on my Internal network sends out formmail replies as FROM > "www.thehost.com" > > QUESTION: > How can I make it show the replies as being from the sender -- my web forms > provide for picking up the "From" field. > > If I test this on my gateway/router machine, it inserts the right FROM info > as "sender@somewhere.net" instead of the "www". > > Is there some setting in Sendmail that will make that machine (aliased on > the LAN) over-ride the "www" and use the proper "From" field of the > sender...??? > > Appreiate any help on this as I need the proper "From" so that the > auto-responder can send out automatic replies to the customer. If you only want to change it for the auto-responder, you can use the -f option to sendmail. If you want to change it for your whole server, you can use the config file changes that someone else suggested. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message