Feature Requests item #3545169, was opened at 2012-07-17 13:13
Message generated for change (Comment added) made by libertytrek
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=937967&aid=3545169&group_id=191583
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Seelenhirt (seelenhirt)
Assigned to: Nobody/Anonymous (nobody)
Summary: E-Mail validation according to RFC 2822
Initial Comment:
When trying to add a new mail box, Postfix Admin rejects some valid email addresses claiming they are invalid (you can find some examples in [1]). If I correctly understand the code the function in question is check_email in functions.inc.php. The regex checking for validity is too simple to encompass the complex universe of email addresses.
I suggest the adaption of said function so it conforms to RFC 2822. Some approaches for an implementation in PHP can be found in this article [2].
[1] https://en.wikipedia.org/wiki/Email_address#Valid_email_addresses
[2] http://www.linuxjournal.com/article/9585?page=0,0
----------------------------------------------------------------------
Comment By: Charles (libertytrek)
Date: 2012-07-18 04:40
Message:
Id disagree that all addresses that may be *technically* valid should be
considered valid by postfixadmin. Most mail systems would not consider as
valid email addresses with most of the special characters in them.
Maybe have a 'fully compliant' option that is disabled by default, but I
would never use it.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=937967&aid=3545169&group_id=191583
|