Re: [exim] Ratelimiting recipients per sender_address

2023-03-10 Thread Olaf Hopp (SCC) via Exim-users

On 3/9/23 21:08, Jeremy Harris via Exim-users wrote:

On 09/03/2023 19:30, Slavko via Exim-users wrote:

Dňa 9. marca 2023 16:08:08 UTC používateľ Jeremy Harris via Exim-users 
 napísal:

On 09/03/2023 15:47, Olaf Hopp (SCC) via Exim-users wrote:

   "x recipients per distinct sender per time period y  > z" ?


If yoe used $sender_address@$recipient as the key, would
it do what you want?


Are not per_rcpt/per_addr option for that?


Probably; it depends on exactly what's being asked for.


Yes, indeed the option "per_rcpt" is what I was looking for
ratelimit = 100  / 60s / per_rcpt / strict / $sender_address
does exactly what I want.

Thanks to you all,
Olaf
--
Karlsruher Institut für Technologie (KIT)
Steinbuch Centre for Computing (SCC)

Dipl.-Geophys. Olaf Hopp

Zirkel 2
Gebäude 20.21, Raum 316
76131 Karlsruhe

Telefon: +49 721 608-48009
E-Mail: olaf.h...@kit.edu
Web: www.scc.kit.edu

Sitz der Körperschaft:
Kaiserstraße 12, 76131 Karlsruhe

KIT - Die Forschungsuniversität in der Helmholtz-Gemeinschaft



smime.p7s
Description: S/MIME Cryptographic Signature
-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


Re: [exim] $spam_score_int

2023-03-10 Thread Jeremy Harris via Exim-users

On 10/03/2023 10:26, John McMurray via Exim-users wrote:

I'd also like to be able to increase the $spam_score_int variable so that mail 
clients can decide how they want to handle higher spam scores.


That variable is set by a call to SpamAssasin.  Your code snippet doesn't
mention it; it's unclear how you are thinking of using it.

It is described in the documentation.

You can't modify it.  You might not need to, to do what you want.
--
Cheers,
  Jeremy


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


[exim] $spam_score_int

2023-03-10 Thread John McMurray via Exim-users

Hi all,


This might be more of a spamassassin question, I'm not really sure.


In my exim4.conf file I currently deny incoming email based on dns block 
lists, eg:



    deny
    message = JunkMail rejected - $sender_fullhost is in an 
RBL, see $dnslist_text

    dnslists = zen.spamhaus.org
    log_message = DNSBL - zen.spamhaus.org - see $dnslist_text


This is of course a problem for legitimate emails in the block lists. 
I'd like to change the deny to a warn but I'd also like to be able to 
increase the $spam_score_int variable so that mail clients can decide 
how they want to handle higher spam scores.



Is this possible?


Thank you,


John McMurray





--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/