Noel Jones:
> On 3/5/2011 12:58 PM, Carlos Carvalho wrote:
> > Noel Jones ([email protected]) wrote on 5 March 2011 12:30:
> >
> > Ops, my fault :-( I had put !.my.domain instead of !192.168.0.0/16 in
> > the last edition of main.cf. It's working fine now, thanks a lot.
> >
> > >BTW, better to match the allowed clients by IP rather than
> > >hostname.
> >
> > It does seem to be necessary for the limited ones... The allowed ones
> > are fine, putting the full allowed.my.domain in the exception list.
>
> As documented, smtpd_client_event_limit_exceptions does not do
> subdomain matching,
It does:
Specify a list of network blocks, hostnames or .domain names
(the initial dot causes the domain to match any name below it).
But, I agree that address-based patterns are more dependable.
DNS may fail, and network address ranges don't change often.
Wietse