> On 31/03/2022 17:00 itan...@univ-brest.fr wrote: > > > Hello, > > is there any way to rate limit submission mail (counting per user) when > using Dovecot/Submission (no Postfix)? > > Using a milter seems impossible. > Using Dovecot Events seems "too" global (not per users discrimination). > Maybe rate-limiting has to be external and then include in the pass_db > query ? > > > Thank your for any hints.
Hi! Dovecot submission is not an MTA, it *always* requires something behind. You cannot use milters with it. If your MTA supports XFORWARD/XCLIENT you can use submission_relay_trusted to allow this information to be forwarded to the MTA. Aki > Ismaƫl Tanguy