diff -ruN ezmlm-browse-0.12-factory/config.py ezmlm-browse-0.12-patched/config.py --- ezmlm-browse-0.12-factory/config.py 2006-11-15 00:46:14.000000000 -0500 +++ ezmlm-browse-0.12-patched/config.py 2008-06-04 00:57:27.000000000 -0400 @@ -4,6 +4,9 @@ # complete with all attachments and email addresses intact. allowraw = 0 +# Set this to non-zero to mask email addresses. +mask_emails = 1 + # Values are looked up in the following order: # 1. CGI environment variables # 2. Hard-coded defaults diff -ruN ezmlm-browse-0.12-factory/main.py ezmlm-browse-0.12-patched/main.py --- ezmlm-browse-0.12-factory/main.py 2006-11-15 00:46:15.000000000 -0500 +++ ezmlm-browse-0.12-patched/main.py 2008-06-04 00:56:29.000000000 -0400 @@ -75,7 +75,9 @@ #rx_addr = re.compile(r'<[^>@]+@[^>]+>') rx_addr = re.compile(r'\S+@\S+\.\S+') def mask_email(str): - return rx_addr.sub('####@####.####', str) + if config.mask_emails: + return rx_addr.sub('####@####.####', str) + return str def wordwrap(str): try: