Mne sa osvedcilo toto nastavenie, ktore funguje jak pre senderov bez sasl, tak zo sasl overovanim. id=R00x je len cislo pravidla, kde kazdie dalsie pravidlo musi mat nove id.
### Limit SASL user to 50 sprav za hodinu alebo 100 sprav za den
id=R001; sasl_username=~/./; action=rate(sasl_username/100/86400/REJECT only 100 messages per day for $sasl_username)
id=R002; sasl_username=~/./; action=rate(sasl_username/50/3600/REJECT only 50 messages per hour for $sasl_username)
### Limit vsetkych senderov na 50 sprav za hodinu alebo 100 sprav za den
id=R003; sender=~/.*/; action=rate(sender/100/86400/REJECT only 100 messages per day for $sender)
id=R004; sender=~/.*/; action=rate(sender/50/3600/REJECT only 50 messages per hour for $sender)