From owner-freebsd-questions@FreeBSD.ORG Fri Jun 13 17:33:09 2003 Return-Path: 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 1AB4537B401 for ; Fri, 13 Jun 2003 17:33:09 -0700 (PDT) Received: from pa-plum1b-166.pit.adelphia.net (pa-plum1b-217.pit.adelphia.net [24.53.161.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id 539ED43F93 for ; Fri, 13 Jun 2003 17:33:08 -0700 (PDT) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (working [172.16.0.95]) h5E0X7Og003187 for ; Fri, 13 Jun 2003 20:33:07 -0400 (EDT) (envelope-from wmoran@potentialtech.com) Message-ID: <3EEA6D43.3050101@potentialtech.com> Date: Fri, 13 Jun 2003 20:33:07 -0400 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030429 X-Accept-Language: en-us, en MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: How do I change the envelope from address in sendmail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jun 2003 00:33:09 -0000 I'm having a hell of a time with send-pr. Sendmail on my system insists on using the entire hostname in the from part of the smtp communication: i.e. wmoran@machinename.potentialtech.com. This is a problem because this particular machine doesn't have a real DNS name, so the FreeBSD mail servers bounce the email. I've tried creating a local-host-names file in /etc/mail according to some Linux howtos I found, but it doesn't seem to be helping. What's the proper way to get sendmail to use user@domain.com instead of user@machine.domain.com? TIA -- Bill Moran Potential Technologies http://www.potentialtech.com