How to handle single quote in subscriber email address
cron logs the following error message from qrunner when attempting to send the subscription confirmation message to a user that has a single in their address (i.e. "john.o'reilly@domain.com").
sh: -c: line 1: unexpected EOF while looking for matching `'' sh: -c: line 2: syntax error: unexpected end of file
How do I get Mailman to handle addresses that contain a single quote?
My configuration: RedHat 7.2, Apache 1.3.23, Python 1.5.2, Sendmail 8.11.6, Mailman 2.0.11
-Cassandra
Cassandra Fleetwood wrote:
cron logs the following error message from qrunner when attempting to send the subscription confirmation message to a user that has a single in their address (i.e. "john.o'reilly@domain.com").
sh: -c: line 1: unexpected EOF while looking for matching `'' sh: -c: line 2: syntax error: unexpected end of file
How do I get Mailman to handle addresses that contain a single quote?
you don't. they are invalid. no funny characters are allowed in headers. i learned the hard way, because my name contains an "ö" :( educate your users.
(btw, i have the same problem. one fraggle likes his account name "double-quoted"@somewhere.com. the funny thing is, mailman allows those folks to subscribe, but i can't throw them off again because the admin interface chokes on them. does anyone know whether this is fixed in 2.1 ?)
best,
jörn
I hate to disagree but ...
RFC-0822 (http://www.faqs.org/rfcs/rfc822.html) allows the local-part to contain single quotes.
It also specifically allows, as a specified syntax, quoted strings as the local part.
The characters that are not allowed outside of quoted strings are:
specials = "(" / ")" / "<" / ">" / "@" ; Must be in quoted- / "," / ";" / ":" / "\" / <"> ; string, to use / "." / "[" / "]" ; within a word.
SPACE, and CTL characters.
Note that the period is used as a word separator, it IS allowed but is considered a separator, not part of the word.
It is Mailman that is broken.
Bill W
----- Original Message ----- From: "Joern Nettingsmeier" <nettings@folkwang-hochschule.de> To: "Cassandra Fleetwood" <csf@incose.propagation.net>; <mailman-users@python.org> Sent: Friday, May 31, 2002 2:57 AM Subject: Re: [Mailman-Users] How to handle single quote in subscriber email address
Cassandra Fleetwood wrote:
cron logs the following error message from qrunner when attempting to send the subscription confirmation message to a user that has a single in their address (i.e. "john.o'reilly@domain.com").
sh: -c: line 1: unexpected EOF while looking for matching `'' sh: -c: line 2: syntax error: unexpected end of file
How do I get Mailman to handle addresses that contain a single quote?
you don't. they are invalid. no funny characters are allowed in headers. i learned the hard way, because my name contains an "ö" :( educate your users.
(btw, i have the same problem. one fraggle likes his account name "double-quoted"@somewhere.com. the funny thing is, mailman allows those folks to subscribe, but i can't throw them off again because the admin interface chokes on them. does anyone know whether this is fixed in 2.1 ?)
best,
jörn
Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
On Fri, 2002-05-31 at 14:44, William Waggoner wrote:
I hate to disagree but ...
RFC-0822 (http://www.faqs.org/rfcs/rfc822.html) allows the local-part to contain single quotes.
William, The current rfc is 2822. After reading it, does your assertion that Mailman is broken still stand?
RFC 2822 http://www.faqs.org/rfcs/rfc2822.html
It also specifically allows, as a specified syntax, quoted strings as the local part.
The characters that are not allowed outside of quoted strings are:
specials = "(" / ")" / "<" / ">" / "@" ; Must be in quoted- / "," / ";" / ":" / "\" / <"> ; string, to use / "." / "[" / "]" ; within a word.
SPACE, and CTL characters.
Note that the period is used as a word separator, it IS allowed but is considered a separator, not part of the word.
It is Mailman that is broken.
-- Mike Noyes <mhnoyes@users.sourceforge.net> http://sourceforge.net/users/mhnoyes/ http://leaf-project.org/
Looking at rfc 2822, it appears a single quote (ASCII value 39) is allowed in the local part of the address. Section 3.4.1. "Addr-spec specification" indicates the local-part of the address is domain dependent.
"The local-part portion is a domain dependent string. In addresses, it is simply interpreted on the particular host as a name of a particular mailbox." where : addr-spec = local-part "@" domain
-Cassandra.
----- Original Message ----- From: "Mike Noyes" <mhnoyes@users.sourceforge.net> To: <mailman-users@python.org> Sent: Saturday, June 01, 2002 6:37 AM Subject: Re: [Mailman-Users] How to handle single quote in subscriber emailaddress
On Fri, 2002-05-31 at 14:44, William Waggoner wrote:
I hate to disagree but ...
RFC-0822 (http://www.faqs.org/rfcs/rfc822.html) allows the local-part to contain single quotes.
William, The current rfc is 2822. After reading it, does your assertion that Mailman is broken still stand?
RFC 2822 http://www.faqs.org/rfcs/rfc2822.html
It also specifically allows, as a specified syntax, quoted strings as the local part.
The characters that are not allowed outside of quoted strings are:
specials = "(" / ")" / "<" / ">" / "@" ; Must be in quoted- / "," / ";" / ":" / "\" / <"> ; string, to use / "." / "[" / "]" ; within a word.
SPACE, and CTL characters.
Note that the period is used as a word separator, it IS allowed but is considered a separator, not part of the word.
It is Mailman that is broken.
-- Mike Noyes <mhnoyes@users.sourceforge.net> http://sourceforge.net/users/mhnoyes/ http://leaf-project.org/
Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
On Sat, 2002-06-01 at 07:06, Cassandra Fleetwood wrote:
Looking at rfc 2822, it appears a single quote (ASCII value 39) is allowed in the local part of the address. Section 3.4.1. "Addr-spec specification" indicates the local-part of the address is domain dependent.
"The local-part portion is a domain dependent string. In addresses, it is simply interpreted on the particular host as a name of a particular mailbox." where : addr-spec = local-part "@" domain
Cassandra, Do you know if this problem was addressed in CVS [1]? If not, has anyone submitted a bug report [2]?
[1] http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/mailman [1] http://www.mail-archive.com/mailman-checkins%40python.org/ [2] https://sourceforge.net/tracker/?func=add&group_id=103&atid=100103
-- Mike Noyes <mhnoyes@users.sourceforge.net> http://sourceforge.net/users/mhnoyes/ http://leaf-project.org/
participants (4)
-
Cassandra Fleetwood
-
Joern Nettingsmeier
-
Mike Noyes
-
William Waggoner