Re: Sendmail config: sending emails with LAN IP vs. domain

From: Dorsai (dorsai_at_mail.com)
Date: 03/17/05


Date: Wed, 16 Mar 2005 16:54:26 -0700

On Wed, 16 Mar 2005 10:39:08 -0900, Kevin Miller fondled the keyboard
until generating:

...<snip>
> I think you need to do a couple things but w/o seeing your setup it's
> hard to say for sure.
>
> First, make sure you have reverse entries in your DNS for your mail
> server so that if a receiving mail server (i.e., one you're sending to)
> can do a reverse lookup to validate. Many mail servers are configured
> to reject mail from hosts w/o valid forward and reverse entries. The
> reverse entry will need to be the outside address, not the internal
> 192.168.. entry. You may have to run two DNS servers for inside and
> outside. Bind can run different views for internal and external if you
> configure it that way.
>
> The other thing is look into setting MASQUERADE_DOMAIN. In /etc/mail/
> is a file called 'linux.mc' Edit the file, find the MASQUERADE_DOMAIN
> section, read about it, make the appropriate changes, and recompile the
> /etc/sendmail.cf file.
> ...Kevin

That masquerading bit sounds promising; I'll have a look at it. As for
reverse DNS, I've got MKRDNS, a perl script that handles generating the
appropriate files :-)

Yes, anything I edit gets the original file copied beforehand; I learned
*that* lesson the hard way!

Thanks for the response...

Dorsai



Relevant Pages

  • Re: Reverse DNS with Multiple Virtual Hosts
    ... Thanks for the response and detailed information, ... > public DNS, and it would be pointless besides simply because applications ... > reverse name for the sender's IP. ... > But if the receiving mail server is insisting that the reverse lookup map ...
    (microsoft.public.windows.server.dns)
  • Re: Reverse DNS with Multiple Virtual Hosts
    ... You probably just want to configure your mail server to present itself the ... same as your reverse DNS entry, regardless of internal mail domain to/from. ...
    (microsoft.public.windows.server.dns)
  • Re: Usage Report show IP addr instead of computer names
    ... The reverse DNS look-up is only query DNS server, ... | the reverse lookups at 4:30, will that cause the Usage Report to identify ...
    (microsoft.public.windows.server.sbs)
  • RE: query regarding reverse IP
    ... Generally reverse DNS is governed by your ISP. ... and looking up the PTR record. ... Now when I am searching the other way it is YOUR DNS server that answers ...
    (RedHat)
  • Re: Question about using .LOCAL and .COM
    ... > solutions) manage the DNS and will use that service. ... Herb Martin ... SBC will have the REVERSE and you need to find out ... >> email server will try to confirm you are who you say you are ...
    (microsoft.public.win2000.dns)