1

Topic: [SOLVED] Catch-all field

Hi,

I try to add a gmail address in Catch-all field which include "+" symbol before "@", 

but it  become blank when save.

Is this a value limitation or an error?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: [SOLVED] Catch-all field

It's a bug in iRedAdmin-Pro. Here's patch to fix it:

diff -r 46407a3c393b libs/iredutils.py
--- libs/iredutils.py    Fri Jul 15 10:40:25 2011 +0800
+++ libs/iredutils.py    Mon Jul 18 07:15:54 2011 +0800
@@ -36,7 +36,7 @@
 ##############
 # Validators
 #
-INVALID_EMAIL_CHARS = '~!#$%^&*()+\\/\ '
+INVALID_EMAIL_CHARS = '~!#$%^&*()\\/\ '
 INVALID_DOMAIN_CHARS = '~!#$%^&*()+\\/\ '
 
 def isEmail(s):

Just remove '+' from variable INVALID_EMAIL_CHARS in file iRedAdmin-Pro-x.y.z/libs/iredutils.py.

3

Re: [SOLVED] Catch-all field

it works.

Thank you.