Re: [exim] How to set exim to manage the number of CC or BCC…

Top Page
Delete this message
Reply to this message
Author: Dave Evans
Date:  
To: exim-users
Subject: Re: [exim] How to set exim to manage the number of CC or BCCaddresses?
On Tue, Jan 22, 2008 at 10:39:12AM -0600, Sergio wrote:
> Hi,
> first of all I want to say hello to everybody in this list, very new around
> here. If I do something wrong, I ask you to please teach me and not to ban
> me.


Will do :-)

> Here is my question, I have some customers that are using my servers to send
> emails to a bunch of people, not spam but customers and / or friends, but
> some times the list of CC or BCC are hughe, yesterday I saw in my QUEUE
> someone sending an email to 194 email accounts.
>
> So, would you be very kind to tell me how to modify EXIM in order to only
> left a customer to send 10 or 20 emails maximum?


A few thoughts at random:

1. Personally I wouldn't call 194 "huge" - not on mail server terms.

2. /Why/ do you want to limit this? I could understand if it was to control a
malware flood being BCCd to 1000s of people at a time, but a "normal" mail to
a couple of hundred people - what's the problem?

3. Although it's not quite the same thing as the CC/BCC list, the SMTP RCPT list
is /usually/ the same, for normal mail; and SMTP mandates that the
recipients-per-message limit must not be lower than 100. So you really don't
want to set the limit at less than 100.

4. Instead of blocking, you could just slow things down for mails with large
recipient lists, e.g. by adding a "delay" into your RCPT ACL. Then the mail
would still be allowed, and would still go through, but maybe the delay would
help discourage your users from using large recipient lists, if that's what
you want.

--
Dave Evans
http://djce.org.uk/
http://djce.org.uk/pgpkey