Re: [exim] How to limit too many recipients from mailing lis…

Top Page
Delete this message
Reply to this message
Author: Marius Stan
Date:  
To: Sujit Acharyya-choudhury, exim-users
Subject: Re: [exim] How to limit too many recipients from mailing list
On 16.02.2015 15:31, Sujit Acharyya-choudhury wrote:
> Hi Marius,
> Thanks for the info.
> Does it actually mean that if the bulk message is say 500 to various
> yahoo, then it would send 9 messages/connection and max connection being
> 5 - so in effect 45 messages? After that another Message_ID will be
> generated for the delivery?

I doubt that a new message id will be generated. As far as I know each
incoming message gets an unique ID. So you're getting the same ID on all
mailing list.
But those lines make sure that each sending batch doesn't pass to yahoo
than 5 messages, each with at most 9 different rcpt-to

Marius

>
> Sujit
>
> -----Original Message-----
> From: Marius Stan [mailto:mstan@asesoft.ro]
> Sent: 16 February 2015 13:20
> To: Sujit Acharyya-choudhury; exim-users@???
> Subject: Re: [exim] How to limit too many recipients from mailing list
>
> On 16.02.2015 15:12, Sujit Acharyya-choudhury wrote:
>
> I have something like this:
>
> domainlist throttled_domains = yahoo.com : yahoo.co.uk : yahoo.ca :
> yahoo.es yahoo.it : yahoo.ro
>
> # This router limits the messages per outbound SMTP conenction:
> # Place it BEFORE other regular dnslookup routers
>
> throttled_out:
>     driver = dnslookup
>     domains = +throttled_domains
>     transport = dkim_smtp_throttled
>     ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
>     no_more

>
> # Place something like this in transports:
> dkim_smtp_throttled:
>     driver = smtp
>     max_rcpt =9
>     connection_max_messages = 5
> [ rest of options]

>
>>
>>
>> We want to ensure that when sending a message to a mailing list, we
>> don't send messages to too many recipients as Yahoo, AOL usually will
>> block our gateway as a result. The best way is to split the message
> so
>> that the number of recipient are within a limit of say 100 max. What
> is
>> the best way of achieving this. Usually, people send it to a list and
>> there is no way of knowing how many recipients there are in a
> particular
>> list, as some list will contain 1000 users and some may be 50.
>>
>>
>>
>> We have set max_rcpt=30, but I have a feeling that, the message_id
>> remains the same for all the deliveries and as such Yahoo/AOL will go
> by
>> message_id and max_rcpt will have no effect.
>>
>>
>>
>>
>>
>> Regards
>>
>>
>>
>> Sujit Choudhury | IT Services
>>
>> Birkbeck, University of London
>>
>>
>>
>>
>>
>>
>>
>>
>>