"Chris, the Young One" <[EMAIL PROTECTED]> writes:
> On Thu, Jul 27, 2000 at 02:05:30PM +1200, Chris, the Young One wrote:
> ! On Wed, Jul 26, 2000 at 05:41:06PM -0700, Harry Putnam wrote:
> ! ! So still the question remains, how to masquerade the HOST name of my
> ! ! main mail server and be able to deliver to lusers directly.
>
> I must add, masquerading is only applicable if you can always replace
> your host name with that of the masqueraded one.
>
> e.g., I run a host called arcanum.m.org.nz. I can masquerade as
> m.org.nz, since m.org.nz has an MX record pointing to arcanum, and
> m.org.nz is listed in control/locals. For all intents and purposes,
> arcanum is identical to m.org.nz.
>
> However, I doubt your userlist will match that of newsguy.com. So
> I think you shouldn't masquerade at all. If you want your From
> address to say newsguy.com, just set MAILHOST in your ~/.profile.
That is true... And I may be confusing something here. I've only
recently installed and experimented with qmail, having run only
`sendmail' in the past. To make sendmail work, I had to masquerade
the newsguy.com domain, and masquerade the Envelope as newsguy.com as
well.
Further I also had to list my local ISP s mail machine
(mail.networkone.net)as SMART_HOST or relaying would be denied.
I assumed these things would need to be done with qmail as well,
although perhaps differently.
Trying out your suggestion and setting MAILHOST=newsguy.com in
~/.bash_profile, and removing the /var/qmail/defaulthost file, my
mail is not being sent now.
Jul 26 22:52:20 satellite qmail: 964677140.121134 info msg 429: bytes
218 from <[EMAIL PROTECTED]> qp 652 uid 1000
Jul 26 22:52:20 satellite qmail: 964677140.126258 starting delivery
34: msg 429 to remote [EMAIL PROTECTED]
Jul 26 22:52:20 satellite qmail: 964677140.127178 status: local 0/10
remote 1/20
Jul 26 22:52:24 satellite qmail: 964677144.801346 delivery 34:
failure:
Connected_to_209.155.56.71_but_sender_was_rejected./Remote_host_said:_501_<[EMAIL PROTECTED]>..._Sender_domain_must_exist/
Jul 26 22:52:25 satellite qmail: 964677145.081912 status: local 0/10
remote 0/20
Jul 26 22:52:25 satellite qmail: 964677145.094605 bounce msg 429 qp
660
Jul 26 22:52:25 satellite qmail: 964677145.095912 end msg 429
It appears that my `Sender' line is being rejected since it does not
resolve.
How can I correct this without masquerading newsguy.com?