Re: logging a WARN log line after a preceding REJECT

2009-04-06 Thread mouss
Victor Duchovni a écrit : > On Mon, Apr 06, 2009 at 11:42:40PM +0200, mouss wrote: > >> with a recent postfix, even better is >> >> check_reverse_client_hostname_access pcre:/etc/postfix/logit >> >> == logit >> /(.*)/ Transaction logged: PTR=$1 >> >> so that you get the PTR as well (eve

Re: logging a WARN log line after a preceding REJECT

2009-04-06 Thread Victor Duchovni
On Mon, Apr 06, 2009 at 11:42:40PM +0200, mouss wrote: > with a recent postfix, even better is > > check_reverse_client_hostname_access pcre:/etc/postfix/logit > > == logit > /(.*)/Transaction logged: PTR=$1 > > so that you get the PTR as well (even if rdns is "unknwon"). Interes

Re: logging a WARN log line after a preceding REJECT

2009-04-06 Thread mouss
Len Conrad a écrit : > We have a simple restriction class to which we apply SAV and RAV to a very > small class of msgs: > > some_class = > check_helo_access pcre:/path/to/4tuple_unfiltered.pcre, > reject_unverified_sender, > reject_unverified_recipient, > check_helo_access pcre:/path/to/4tup

Re: logging a WARN log line after a preceding REJECT

2009-04-06 Thread Victor Duchovni
On Mon, Apr 06, 2009 at 06:10:34PM +0200, Len Conrad wrote: > We have a simple restriction class to which we apply SAV and RAV to a very > small class of msgs: > > some_class = > check_helo_access pcre:/path/to/4tuple_unfiltered.pcre, > reject_unverified_sender, > reject_unverified_recipient,

logging a WARN log line after a preceding REJECT

2009-04-06 Thread Len Conrad
We have a simple restriction class to which we apply SAV and RAV to a very small class of msgs: some_class = check_helo_access pcre:/path/to/4tuple_unfiltered.pcre, reject_unverified_sender, reject_unverified_recipient, check_helo_access pcre:/path/to/4tuple_filtered.pcre, permit The 4tuple