Re: [exim] How to Change the behaviour of Exim when over max…

Top Page
Delete this message
Reply to this message
Author: Ian Eiloart
Date:  
To: John MacKenzie, Graeme Fowler
CC: exim-users
Subject: Re: [exim] How to Change the behaviour of Exim when over max emailsper hour


--On 9 April 2009 09:43:19 -0400 John MacKenzie <johnner@???> wrote:

> Hi Ian,
>
> Appreciate you taking the time to reply. Unfortunately I am not a
> programmer so looking at the docs doesn't do much for me. I can edit
> code that exists to a certain extent, but can't wrap my head around
> creating code.


> I don't know where to look to see if i am using perl
> routines elsewhere? in the exim.conf file?


yes, it's all in the exim.conf file, unless you see an "include" somewhere.
That "include" will tell you the other place you might look.

> If i did figure out how to do it with control = queue ACL (where would i
> put that)


You need to create a new ACL, test the incoming message rate, and say
control=queue if the rate is high.

> would the setting that is already in the exim.pl script that
> tells the message to die if over the message limit not override the ACL?


I've no idea. The exim.pl script is a cpanel script. You don't have to run
it.

> I contacted cpanel support and they say its not possible, but I find that
> hard to beleive.


They probably mean that they haven't given you a button to press to do
this. However, they've given you Exim, so you can do anything that Exim can
do. Exim has ACLs that can test the incoming message rate, and that can
queue messages, so you can do this.

> Thanks so much
>
> John
>
> ----- Original Message -----
> From: "Ian Eiloart" <iane@???>
> To: "John MacKenzie" <johnner@???>; "Graeme Fowler"
> <graeme@???>
> Cc: <exim-users@???>
> Sent: Wednesday, April 08, 2009 4:39 AM
> Subject: Re: [exim] How to Change the behaviour of Exim when over max
> emails per hour
>
>
>
>
> --On 7 April 2009 14:30:47 -0400 John MacKenzie <johnner@???> wrote:
>
>>
>> The perl script is being called near the begining of the exim.conf file
>>
>> perl_startup = do '/etc/exim.pl'
>>
>
> That line just starts the perl interpreter. Presumably, you're using the
> perl routines elsewhere in your configuration.
>
> This is all well documented in chapter 12 of the Exim docs, eg at
> <http://www.exim.org/exim-pdf-current/doc/spec.pdf>
>
> However, you don't need perl at all to queue messages. You can use
> "control = queue" only in any ACL, and you'll be interested in the
> ratelimit ACL. See section 40.35 of the docs.




--
Ian Eiloart
IT Services, University of Sussex
01273-873148 x3148
For new support requests, see http://www.sussex.ac.uk/its/help/