[geeks] configuring new mail server: need information on private LAN setup
Charles Shannon Hendrix
shannon at widomaker.com
Fri Mar 23 19:20:17 CDT 2007
Mike Meredith wrote:
> On Fri, 23 Mar 2007 18:23:40 -0400, Charles Shannon Hendrix wrote:
>> This happened because I'm stupid.
>
> Well Sendmail has a habit of doing that to everyone.
Yeah, that's it... :)
No need to mention how long it took me to stop looking at sendmail and blame
something else.
>> However, if I send mail from the mail server itself, it doesn't
>> rewrite the from address, so the email bounces because the user is
>> unknown (i.e. the address is an unroutable domain).
Actually, it turns out that I can't send from clients either. I keep getting
user unknown because the sending address isn't getting rewritten, and
verification thus fails.
> I seem to recall you need to have a few more masquerade options ... at
> least masquerade_as. Quick google indicates :-
>
> MASQUERADE_AS(mymailname.myisp.com)
I don't have an outside mailname or MX record. Got rid of that several years
ago. I probably can get away with this:
MASQUERADE_AS(<domain of my ISP>)
> MASQUERADE_DOMAIN(myprivatedomain)
I didn't know about this one.
> FEATURE(masquerade_envelope)
> FEATURE(masquerade_entire_domain)
I think you are right, but I seem to recall from both sendmail and postfix
guts that some of these features shouldn't be used together.
> No guarantees ... a few million mail messages may have gone through my
> Sendmail servers but that was a few hundred million messages ago.
That's my problem. I originally configured my current private LAN setup around
1993. My sendmail files date back that far. I started with UUCP before
moving to SMTP. I originally had an outside domain, but my ISP would only
support a drop box MX record for it, which sucked, so I got rid of it.
>
--
shannon | We have nothing to prove.
| -- Alan Dawkins
More information about the geeks
mailing list