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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes. If this is not your bug, you can add a comment by following this link. If this is your bug, but you forgot your password, you can retrieve your password here.
Password:

 

 [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