report a bug |  advanced search |  statistics |  developer log in/out
Bug #1 proper postfix regexp
Submitted: 2010-08-25 17:10 UTC Modified: 2012-01-29 17:16 UTC
Votes:28
Avg. Score:3.9 ± 1.4
Reproduced:15 of 18 (83.3%)
Same Version:15 (100.0%)
Same OS:15 (100.0%)
From: and at gmx dot li Assigned: maintainer at mlmmj dot org
Status: Closed
Mlmmj Version: 1.2.17 OS: any
MTA: any MTA Version: any
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
12 - 3 = ?
Subscribe to this entry?

 
 [2010-08-25 17:10 UTC] and at gmx dot li
Description:
------------
In README.postfix regexp rules are not proper in case of similar list names
so change examples from
 /^(mlmmj-test.*)@example\.com$/          ${1}
 /^(another-list.*)@sample\.com$/         ${1}
to 
 /^(mlmmj-test(\+.+)*)@example\.com$/          ${1}
 /^(another-list(\+.+)*)@sample\.com$/         ${1}
and
 /^(list-test).*$/                        mlmmj:list-test
 /^(another-list).*$/                     mlmmj:another-list
to
 /^list-test(\+.+)*@.+$/                        mlmmj:list-test
 /^another-list(\+.+)*@.+$/                     mlmmj:another-list
Examples with default delimiter "+"

Maybe some regexp expert can it define it more artless.


Test script:
---------------
mlmmj-test1@example.com
mlmmj-test2@example.com


Expected result:
----------------
each list can be handle separate

Actual result:
--------------
first rule match all