regexp match klappt net

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

regexp match klappt net

Post by zucker4 » 2009-05-31 22:29

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}.broadband.corbina.ru/i 553 AUTO_DSL spam
[......]


aber wenn ich's mittels

Code: Select all

postmap -q  "123-123-123-123.broadband.corbina.ru" regexp:/etc/postfix/dul_access


teste - klappts net/wird nicht ge-match-t...


Wo ist der Denkfehler?

Danke!!

P.S. Postfix ist der aus der aktuellen Lenny-Fassung, also ziemlich frisch.

User avatar
Joe User
Project Manager
Project Manager
Posts: 11583
Joined: 2003-02-27 01:00
Location: Hamburg

Re: regexp match klappt net

Post by Joe User » 2009-06-01 13:37

Code: Select all

/.broadband.corbina.ru/i 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.