Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Apr 2001 18:01:48 -0400
From:      Randall Hopper <aa8vb@nc.rr.com>
To:        Josh Paetzel <jpaetzel@hutchtel.net>
Cc:        Edwin Groothuis <edwin@mavetju.org>, questions@FreeBSD.ORG
Subject:   Re: ARG!!! 450 Client host rejected: cannot find your hostnam
Message-ID:  <20010401180148.B6987@nc.rr.com>
In-Reply-To: <01040214101601.00498@mark9.vladsempire.net>; from jpaetzel@hutchtel.net on Mon, Apr 02, 2001 at 02:09:36PM %2B0000
References:  <20010401145708.7287.qmail@web1004.mail.yahoo.com> <01040214101601.00498@mark9.vladsempire.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Josh Paetzel:
 |> > > If anyone knows what the trick is for getting around this, I'd
 |> > > much appreciated
 |> > 
 |> > Can't you drop the mail at your firewall and let that handle the
 |> > stuff? At least that IP-address and host-name are known on the
 |> > internet? (at least I hope so :-)
 |> 
 |> Thanks for the suggestion, but they're not.  Its current DHCP IP is
 |> 24.25.3.190 which has no DNS entry...
 |
 |Well, the trick is to send mail from a host that a reverse lookup can
 |be done on.  Whether that is convinient for you or not is another
 |matter.

Hm.  Well, ok.  I just dug into my sendmail config and set up relaying only
for mail destined to freebsd.org, and it seems to be satisfied now.

I'm not keen on relaying all my mail through my ISP's mail relay (single
point of failure and easier snooping), so I used the sendmail mailertable
feature I found to relay just when dealing with @freebsd.org destinations.

For the archives (to others that fall over this support tripwire and don't
want to wildcard relay all of your mail), here are a few relevent bits:

     > cat /etc/mail/mailertable
     #
     # List of domains (possibly wildcarded) and destination mailers
     #
     ## .my.domain           xnet:%1.my.domain
     ## uuhost1.my.domain    suucp:uuhost1
     ## .bitnet              smtp:relay.bit.net
     freebsd.org             smtp:smtp-server.nc.rr.com
                                  ^^^^^^^^^^^^^^^^^^^^^  change to your relay!

Don't forget to rebuild the map:

     # makemap hash /etc/mail/mailertable < /etc/mail/mailertable

And if you adapt the default /usr/src/etc/sendmail/freebsd.mc, you'll
already have:

     FEATURE(mailertable, `hash -o /etc/mail/mailertable')dnl

in your .mc.  If not, add it and rebuild:

     # cd /usr/src/contrib/sendmail/cf/cf
     # m4 ../m4/cf.m4 /path_to_my_mc_files/my.mc > /etc/mail/sendmail.cf

Randall

-- 
Randall Hopper
aa8vb@nc.rr.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010401180148.B6987>