Date: Sun, 18 Sep 2005 14:01:48 -0400 From: stan <stanb@panix.com> To: Free BSD Questions list <freebsd-questions@freebsd.org> Subject: Re: mail From control? Message-ID: <20050918180148.GA3050@teddy.fas.com>
next in thread | raw e-mail | index | archive | help
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: <stan@ops2.ivo.net> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050918180148.GA3050>