Leser: 1
|< 1 2 >| | 11 Einträge, 2 Seiten |
Received: from [111.222.333.444] by mail.abcd.de; Wed, 17 Dec 2008 18:32:24 +0200
/^Received\: from \[\b[^111\.222\.333\.444]\b\] by mail\.abcd\.de.*$/i
/^Received\: from \[(?!111\.222\.333\.444)\] by mail\.abcd\.de.*$/i
/^Received\: from \[(\d+\.\d+\.\d+\.\d+)\] by mail\.abcd\.de.*$/i && $1 ne '111.222.333.444'
$string = 'Received: from [111.222.333.444] by mail.abcd.de';print "is relay" if index($string,'111.222.333.444')!=-1;
GwenDragon+2008-12-18 16:59:51--Wieso unbedingt denn regex?
Received: from \[[^[.111\.222\.333\.444.]]\] by mail\.abcd\.de
/^Received:.*(?!111\.222\.333\.444)\.*mail\.abcde\.de.*$/i
Gast+2008-12-18 17:06:03--GwenDragon+2008-12-18 16:59:51--Wieso unbedingt denn regex?
weil es gibts eine MAP-file, wo einfach diese nur Regexp eingefügt können, und kein PERL code.
|< 1 2 >| | 11 Einträge, 2 Seiten |