I got that error when there was a duplicate entry.

I broke down and am now restricting emails to mailers that have a valid
forward and reverse DNS entries. Most real mailers have properly configured
DNS, but I also added a permission for those that have a DNS entry that
comes back as possibly forged.

the file /etc/mail/ForgedIP are the hosts that I will bypass the new
filter. Added to sendmail.cf:

F{ForgedIP} /etc/mail/ForgedIP

(and in the relay area)

SLocal_check_relay
R$+ $| $={ForgedIP}$*   $@ $1 $| $2
R$*$={ForgedNames} $| $*        $@ $1 $| $2
R$*                     $: < $&{client_resolve} >
R<TEMP>                 $#error $@ 4.7.1 $: "450 Access denied. Cannot resolve 
PTR record for " $&{client_addr}
R<FORGED>               $#error $@ 4.7.1 $: "550 Access denied. IP name 
possibly forged " $&{client_name}
R<FAIL>                 $#error $@ 4.7.1 $: "550 Access denied. IP name lookup 
failed " $&{client_name}

Scheck_relay
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to