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 (even if rdns is "unknwon").
> 
> Interesting. Missing "WARN" at the start of the pattern of course.
> 

indeed.

I have been using this since some time, and it makes the log parsing
script easier (no need to look for other log lines to get the PTR).

Reply via email to