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, so you can't specify .example.com or
example.com and expect host.example.com to match. (If such a
match was required, you could use a regexp: table lookup, but
specifying the network/mask is better.)
-- Noel Jones