Hullo!
I am running 2.1.12 on FreeBSD 8.0-RELEASE.
I have a list where, as a rule, we don't allow CCs to other people/lists. So we set max_num_recipients to 2.
Now, we have a user (on @excite.com) who sends email to the list that has:
Subject: Testing From: "User Name" user@excite.com Date: Fri, 03 Jun 2011 09:03:09 -0400 To: listname@lists.mysite.tld CC: Return-Path: user@excite.com
Note the blank CC: line? That seems to trip the "flag for moderation"..
The user claims they're not typing anything in CC (and I believe them), but for whatever reason, the mailer they're using (still trying to get that info out of them) is adding a blank CC: line.
Now, my question would be.. *why* would a *blank* CC: line trip this flag? It just strikes me as kind of odd.
Thanks in advance... Best, --Glenn
On 6/3/2011 10:45 AM, Glenn Sieb wrote:
I have a list where, as a rule, we don't allow CCs to other people/lists. So we set max_num_recipients to 2.
[...]
Now, my question would be.. *why* would a *blank* CC: line trip this flag? It just strikes me as kind of odd.
We get the values of the To: and Cc: headers. In this case that returns the list ['listname@lists.mysite.tld', ''], i.e., 'listname@lists.mysite.tld' from the To: header and '' from the CC: header. We parse that with Python's email.Utils.getaddresses() function which returns a list of (real name, address) tuples, in this case [('', 'listname@lists.mysite.tld'), ('', '')]. The length of this list is two, so we think the message has two recipients. We don't notice that one of the addresses is null.
If you consider this to be a bug, you can report it at https://bugs.launchpad.net/mailman/+filebug, and I'll fix it.
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Glenn Sieb
-
Mark Sapiro