Gentoo Archives: gentoo-user

From: Harry Putnam <reader@×××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: [OT] Setting up correct domainname
Date: Mon, 21 Sep 2009 02:00:39
Message-Id: 8763bdf465.fsf@newsguy.com
In Reply to: Re: [gentoo-user] Re: [OT] Setting up correct domainname by Mick
1 Mick <michaelkintzios@×××××.com> writes:
2
3 >> I think you might avoid the problem by making sendmail Impersonate your
4 >> isps domain.
5 >>
6 >> Using some or all of these settings in sendmail.mc
7 >> MASQUERADE_AS(`yourISP.domain')dnl
8 >> MASQUERADE_DOMAIN(`youractual.domain')dnl
9 >> FEATURE(masquerade_entire_domain)dnl
10 >> FEATURE(masquerade_envelope)dnl
11 >
12 > Yes, that should fix the reverse DNS problem alright, but then people who
13 > receive email notifications from myserver will be confused by the domain that
14 > these messages are sent from.
15 >
16 > I could also use the ISP's domain for my IP address in the server's /etc/hosts
17 > file - although it would have the same problem with regards to the domain
18 > that messages are sent from.
19
20 It is possible to do lots of complicated rewriting with
21 `genericstable', both in and out... maybe that would bare looking
22 into.