librelist archives

« back to archive

Well, I Gotta Do It: Multiple Recipient Routing

Well, I Gotta Do It: Multiple Recipient Routing

From:
Zed A. Shaw
Date:
2009-08-11 @ 16:13
Hey Everyone,

I'd been avoiding routing messages to multiple recipients because
they're heavily open to abuse for a Lamson service.

However, I've had too many people who expect Lamson to handle messages
that are To multiple people, and there's no logical way to prevent this,
so I'm gonna throw it in and see how it works out.

What I'm planning is that Lamson will take messages with many addresses in
the To envelope header (and only that) and it'll loop over them.  There
will be a new MailRequest attribute named route_to that will *always* be
a set() of pure email addresses only.  If you need to know all the
addresses that are being routed on in a message, this is where to look.

For the most part it won't impact how things run, except now you'll see
an email come in and then look like it's going to multiple people who
might not be in your service.

I should have this done shortly and then I'll push out a 1.0pre3
release.

-- 
Zed A. Shaw
http://zedshaw.com/