titanous/mailman — Issue #40: malformed messages chocking mailman
Author: bpokosh
Created: 2012-01-27 16:49:19+00:00
State: open

I get the occasional e-mail with malformed headers that cause mailman to choke. Here is an example:

/pub/something/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/multibyte/chars.rb:59:in `method_missing': undefined method `each' for "Bob Smith":String (NoMethodError)
from /pub/something/shared/bundle/ruby/1.9.1/gems/mailman-0.4.0/lib/mailman/route/conditions.rb:8:in `match'

In this case the To header looked like this:

To: Bob Smith

Is there any way to rescue these kinds of errors?