[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] (mail server name) Any other way to do this?



On Mon, Jul 24, 2000 at 11:01:53PM -0400, Gerald Waugh wrote:
> Please excuse me, I am trying to understand sendmail 
> <does anyone understand it>,

Allman and Shapiro...Maybe  ;-).  It takes a period of adjustment
but once you grok the syntax, it's only a matter of remembering
which macros and classes do what or knowing where to reference 
them in the documentation.

> I was thinking of error messages which are normally delivered to the
> envelope-sender address, which may be different that the header-sender
> addresses. Specifically will the macro provide (or include)
> masquerade_entire_domain and masquerade_envelope features.
> The bat book is not very clear on the subject, it merely states that the $M
> macro as "Whom we are masquerading as", it (the book) further states that
> "defining $M will not enable masquerading. You must use the MASQUERADE_AS m4
> configuration command."

I don't know what is in your cf file, but for me, the default RedHat
cf file (again, I don't have a RaQ3 but considering the RaQ and RaQ2
used the standard RedHat cf file as well -- I'll assume for the time
being that it is also in the RaQ3) already had the Masquerade support.

If you look at rulesets 93 and 94 you will likely find your cf is
already setup to accept the $M macro.  Of course, the simplest way
to do this is just to try this.

What will happen with the macro properly defined is that any e-mail
sent from your server will read <sender>@$M and if you define $M
as yahoo.mydomain.de it will go out as <sender>@yahoo.mydomain.de
the problem with $M on a server hosting multiple domains is that
it rewrites the sender address so that people who would like to
see their e-mail go out as <sender>@theirdomain.com will be somewhat
disappointed if theirdomain.com is not the same as the $M.

-- 
Robert G. Fisher		     NEOCOM Microspecialists Inc. 
System Administrator/Programmer      (540) 666-9533 x 116