Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 May 2002 16:25:38 -0400 (EDT)
From:      Stephen Hovey <shovey@buffnet.net>
To:        Jonathan Chen <jonc@chen.org.nz>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Sorta OT:  Sendmail question
Message-ID:  <Pine.BSF.4.05.10205291625180.7450-100000@buffnet11.buffnet.net>
In-Reply-To: <20020530074642.A10146@grimoire.chen.org.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanx - thats basically fall thru raw code instead of the mc macro stuff
so its perfect - Thanx!

On Thu, 30 May 2002, Jonathan Chen wrote:

> On Wed, May 29, 2002 at 07:55:13AM -0400, Stephen Hovey wrote:
> > 
> > How can I adjust sendmail.cf to not accept incoming email from hosts
> > lacking in-addr.arpa?  The default is to say 'received from
> > 999.999.999.999' etc (sometimes in []s).
> 
> I dunno about cf files, but I've done it with mc files. Add the
> following at the end of the .mc file:
> 
>     LOCAL_RULESETS
>     SLocal_check_relay
>     # Deny addresses which fail reverse-lookup
>     R[ $+ ] $| $+		$#error $@ 5.7.1 $: "550 Access denied, your host failed a reverse-lookup"
> 
> Note: theres a <TAB> before $#error.
> 
> Cheers.
> -- 
> Jonathan Chen                      |      To do is to be  -- Nietzsche
> <jonc@chen.org.nz>                 |      To be is to do  -- Sartre 
>                                    |      Scooby do be do -- Scooby
> 


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?Pine.BSF.4.05.10205291625180.7450-100000>