Re: [exim] Exim4 ratelimiting

Pàgina inicial
Delete this message
Reply to this message
Autor: Biju Abraham N.
Data:  
A: 'Chris Siebenmann'
CC: exim-users
Assumpte: Re: [exim] Exim4 ratelimiting
Dear Chris,

I have checked the squirrel mail configuration. It is configured to use SMTP
for mail delivery. So I have a chance of limiting fast-senders there. From
the log files, I have seen that esmtp is used for local deliveries.

I am a novice user of exim. I was going through the exim manuals for
ratelimiting incoming messages. I have taken specific examples from the
manual as follows:

********* start code ************
  warn ratelimit = 3 / 5m / per_rcpt / strict
     delay     = ${eval: ${sg{$sender_rate}{[.].*}{}} - \
                   $sender_rate_limit }s


  # Keep authenticated users under control
  deny authenticated = *
     ratelimit = 3 / 5m / strict / $authenticated_id
********* end code ************


This I have added under the condition "acl_check_rcpt:" in the beginning
itself. Still, while testing I have seen that these rules are not hit. Could
you please tell me where to put these rules?

Regards,
Biju.

-----Original Message-----
From: Chris Siebenmann [mailto:cks@cs.toronto.edu]
Sent: 31 October 2014 AM 10:18
To: Biju Abraham N.
Cc: 'Chris Siebenmann'; exim-users@???
Subject: Re: [exim] Exim4 ratelimiting

> Thanks Chris.
> Can you please suggest some documentation on running a second daemon
> only for outgoing messages?


I'm afraid that there's not going to be simple documentation for this.
It will require custom-written configurations and so on.

> We have squirrelmail for receiving mails from local users. Is it
> possible to ratelimit mails in this environment?


It depends on how your squirrelmail is configured. Our local squirrelmail
installation is set up to send all submitted mail via SMTP to our general
submission server, so I know that it's at least possible.

    - cks