Per recipient routes

    • adds the always_split option to outbound.ini
    • consolidates a few of the outbound.* files into outbound.ini
There will only be one.

> On Sep 3, 2014, at 1:55 PM, Matt Simerson <notifications@github.com> wrote:
> 
> In outbound.js:
> 
> > -    var num_domains = 0;
> > -    transaction.rcpt_to.forEach(function (item) {
> > -        var domain = item.host;
> > -        if (!recips[domain]) {
> > -            recips[domain] = [];
> > -            num_domains++;
> > -        }
> > -        recips[domain].push(item);
> > -    });
> > +
> > +    var deliveries = [];
> > +    var always_split = config.get('outbound.ini', { booleans: ['-main.always_split']}).main.always_split;
> > +    if (always_split) {
> > +        this.loginfo("always split");
> > +        transaction.rcpt_to.forEach(function (rcpt) {
> > +            deliveries.push({domain: rcpt.address(), rcpts: [ rcpt ]});
> Okay, so I'm in the hmail item and there's 2 recipients to the same domain. How do I know which one is currently being delivered?
> 
> —
> Reply to this email directly or view it on GitHub.