[Mailman-Users] Periods in user email addresses rejected

Jay Deiman jay at splitstreams.com
Mon Aug 4 17:19:08 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stephen J. Turnbull wrote:
| Jay Deiman writes:
|
|  > I just got mailman up and running with Postfix and everything has been
|  > working perfectly except when someone tries to subscribe to the list
|  > that has a period in the "user" portion of the address.  For example:
|  > fname.lname at domain.org.  It gets rejected as an invalid email
address by
|  > the web interface.
|
| I've never heard of this before.  Just checking, but are you sure that
| these mailboxes don't have periods in their display names rather than
| (or as well as) their addresses?  That is, although
|
|     Stephen Turnbull <stephen.turnbull at invalid.com>
|
| is a valid mailbox according to RFC 2822,
|
|     Stephen J. Turnbull <stephen.turnbull at invalid.com>
|
| is not, and must be quoted
|
|     "Stephen J. Turnbull" <stephen.turnbull at invalid.com>
|
| (I don't think Mailman checks for this, but given that AFAICT from the
| source, Mailman should not behave the way you describe, it's a guess.)
|
|  > First, is this a setting somewhere that can be changed?
|
| No.  I would assume that the design is to allow anything that RFC 2822
| does.  As far as I can tell, what you are seeing is a MMHostileAddress
| as defined in Mailman/Errors.py, and the characters checked for are in
| _badchars and _specials in Mailman/Utils.py.  However, '.' isn't in
| there AFAICS, in a recently updated bzr checkout of 2.1.
|
| What version of Mailman are you using?
|

I'm using version 2.1.10 (FreeBSD port) with Postfix 2.4.1 (FreeBSD
port).  I just tried this again through the web interface (not as an
admin, but as someone attempting to subscribe) and I got the same
results. I used the address "jay.deiman at gmail.com" (without quotes) and
no name in the name field.  Verbatim, I get this response:

You must supply a valid email address.

That is it.  I've tested with other email addresses, not containing a
period, and they all work fine.

Jay Deiman
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIlx3sQ0lr+ZVKSBgRApUXAJ41eurzX9hucqZzAcSxpYyPLx2ebgCgpIsu
Q/jlKqwqsX51Gfm7kwQcSjw=
=pGok
-----END PGP SIGNATURE-----


More information about the Mailman-Users mailing list