[Logwatch-Devel] postfix patch submission

Paweł Gołaszewski blues@ds.pg.gda.pl
Tue, 30 Dec 2003 19:45:19 +0100 (CET)


On Tue, 30 Dec 2003, Who Knows wrote:
> 2) reject messages start with message id:
[...]
> -   } elsif ( ($Relay,$Dest) = ($ThisLine =~ m/^reject: RCPT from ([^ 
> ]*): 554 <([^ ]*)>.* Relay access denied.* to=([^ ]*)/) ) {
> +   } elsif ( ($Relay,$Dest) = ($ThisLine =~ m/^[a-zA-Z0-9]+: reject: 
> RCPT from ([^ ]*): 554 <([^ ]*)>.* Relay access denied.* to=([^ ]*)/) ) {
[...]
> -   } elsif ( ($Host,$Site,$Reason) = ($ThisLine =~ /^reject: RCPT from 
> ([^ ]*\[[^ ]*\]): 554 Service unavailable; \[[^ ]*\] blocked using ([^ 
> ]*), reason: (.*);/)) {
> +   }
> +   #elsif ( ($Host,undef) = ($ThisLine =~ /^[a-zA-Z0-9]+: reject: RCPT 
> from ([^ ]*\[[^ ]*\]): [0-9]+ <([^ ]*)>: Sender address rejected: Domain 
> not found;/)) {

I don't agree with that.
In postfix 1.x.x this messages are without message id and with this rule 
wouldn't work. My proposition: kill "^" in generic rules. Will work 
everywhere...

Rest of changes (most important for me are RBLs)... I have to check it in 
real life.

-- 
pozdr.  Paweł Gołaszewski 
---------------------------------
worth to see: http://www.againsttcpa.com/
CPU not found - software emulation...