mail From control?

stan stanb at panix.com
Sun Sep 18 11:01:50 PDT 2005


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 at 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 at ops2.ivo.net Sun Sep 18 12:26:57 2005
Return-Path: <stan at ops2.ivo.net>

In the headers.

Any idea what I'm doing wrong?





>From stan at 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



More information about the freebsd-questions mailing list