regexp match klappt net

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
Posts: 24
Joined: 2004-11-23 13:08

regexp match klappt net

Post by zucker4 »

Tach die Herren!

Folgendes Problemchen: Mails/Absenderhosts mittels regexp match-en
klappt nicht.

Meine Regexp-Zeile in "/etc/postfix/dul_access" ist:

Code: Select all

# Russian spam
/d{1,3}-d{1,3}-d{1,3}-d{1,3} 553 AUTO_DSL spam
aber wenn ich's mittels

Code: Select all

postmap -q  "" regexp:/etc/postfix/dul_access
teste - klappts net/wird nicht ge-match-t...

Wo ist der Denkfehler?


P.S. Postfix ist der aus der aktuellen Lenny-Fassung, also ziemlich frisch.
User avatar
Joe User
Project Manager
Project Manager
Posts: 11185
Joined: 2003-02-27 01:00
Location: Hamburg

Re: regexp match klappt net

Post by Joe User »

Code: Select all

/ 553 AUTO_DSL spam
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.