From owner-freebsd-questions@FreeBSD.ORG Sun Sep 18 18:01:50 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 6671D16A41F for ; Sun, 18 Sep 2005 18:01:50 +0000 (GMT) (envelope-from stanb@panix.com) Received: from mail3.panix.com (mail3.panix.com [166.84.1.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id D680843D48 for ; Sun, 18 Sep 2005 18:01:49 +0000 (GMT) (envelope-from stanb@panix.com) Received: from mailspool3.panix.com (mailspool3.panix.com [166.84.1.78]) by mail3.panix.com (Postfix) with ESMTP id CD0B513A8E0 for ; Sun, 18 Sep 2005 14:01:48 -0400 (EDT) Received: from teddy.fas.com (pcp08632294pcs.mplsnt01.sc.comcast.net [68.58.232.106]) by mailspool3.panix.com (Postfix) with ESMTP id BF693492F63 for ; Sun, 18 Sep 2005 14:01:48 -0400 (EDT) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1EH3U4-0000nx-00 for ; Sun, 18 Sep 2005 14:01:48 -0400 Date: Sun, 18 Sep 2005 14:01:48 -0400 From: stan To: Free BSD Questions list Message-ID: <20050918180148.GA3050@teddy.fas.com> Mail-Followup-To: Free BSD Questions list Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 14:00:28 up 36 days, 17:33, 1 user, load average: 0.00, 0.02, 0.03 User-Agent: Mutt/1.5.4i Sender: Stan Brown Subject: Re: mail From control? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2005 18:01:50 -0000 On Sun, Sep 18, 2005 at 12:04:09PM -0400, Chuck Swiger wrote: > stan wrote: > [ ... ] > >I tried turing on the masqurade envolope feature in sendmail, but it did > >not seem to change anything. > > > >How can I force the outgoing mesage to appear to be from the virtual doamin > >in all espects? > > Consider the combination of the following features: > > FEATURE(`allmasquerade')dnl > FEATURE(`masquerade_envelope')dnl > FEATURE(`masquerade_entire_domain')dnl > > ...and use this with some care, although this will work with a > virtusertable and "virtual domains", since this makes tracking down mailing > loops difficult since you are re-writing so much of the header information. Thansk for the quick reply. I added those lines, and I've got the follwing in /etc/mail/genericstable stan stan@i-v-o.net and this in generics-domains which I;ve defined with this GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains') in the .mc file, but a test mesage aftere restartign sendmail still has: >From stan@ops2.ivo.net Sun Sep 18 12:26:57 2005 Return-Path: In the headers. Any idea what I'm doing wrong? >From stan@ops2.ivo.net Sun Sep 18 12:26:57 2005 -- U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong Terror - New York Times 9/3/1967