>> -----Original Message----- From: Jake Colman [mailto:colman@;ppllc.com]
>> Sent: Wednesday, October 23, 2002 11:30 AM To: RedHat List Cc: Edward
>> Dekkers Subject: Re: mail configuration problem
>>
>>
>>
>> >> For postfix, you just set the "mydomain = " field to
>> the domain name in question.
>>
ED> For sendmail add:
>>
ED> MASQUERADE_AS(`<your host/domain name here>')
>>
ED> To the sendmail.mc, then run 'm4 /etc/sendmail.mc >
>> /etc/sendmail.cf'
>>
>> I added MASQUERADE_AS to my .mc file, regenerated the .cf file and
>> restarted sendmail.
>>
>> My email is still being rejected with the same error "domain of sender
>> address does not exist". Even with the MASQUERADE_AS, the server
>> receiving my email still sees the actual domain name in use on my
>> server which is bogus and not resolvable. Shouldn't MASQUERADE_AS
>> tricked it so it looks like it came from somewhere else?
SC> No, the MASQUERADE_AS changes the sender address of the envelope, not
SC> the hostname (FQDN) your system announces itself as during the HELO
SC> handshake.
SC> You seem to have a couple of choices here:
SC> 1) Change the hostname of your system to something that can be
SC> resolved in
SC> DNS?
SC> 2) Change sendmail config so that it announces itself as a resolvable
SC> system
SC> during the HELO. Which may or may not work. Some e-mail systems are
SC> configured so tight that they will see this config change as a spoof
SC> attempt.
SC> Anyway, a couple of related options from the sendmail cf/README file.
SC> M4 Variable Name Configuration Description & [Default]
SC> ================ ============= =======================
SC> confMAILER_NAME $n macro [MAILER-DAEMON] The sender name used
SC> for internally generated
SC> outgoing messages.
SC> confDOMAIN_NAME $j macro If defined, sets $j. This should
SC> only be done if your system
SC> cannot determine your local
SC> domain name, and then it
SC> should be set to $w.Foo.COM,
SC> where Foo.COM is your domain
SC> name.
SC> Based on your post, I would think the DOMAIN_NAME option is what you
SC> need.
SC> If I were in your shoes, I would first type:
SC> dig -x <ip addr of your system>
SC> If it returns the reverse name, then use that FQDN for the $j macro
SC> above. It dig does not return a reverse name, then your basically
SC> SOL until your get with your network admin, ISP or whatever to
SC> resolve this problem.
SC> Another useful command to view sendmail's hostname (or what it
SC> derived at startup) is:
SC> # sendmail -bt -d0.1 </dev/null
SC> Good luck Steve Cowles
SC> --
SC> redhat-list mailing list
SC> unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
SC> https://listman.redhat.com/mailman/listinfo/redhat-list
--
Jake Colman
Principia Partners LLC Phone: (201) 209-2467
Harborside Financial Center Fax: (201) 946-0320
902 Plaza Two E-mail: [EMAIL PROTECTED]
Jersey City, NJ 07311 www.principiapartners.com
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list