| 1 | # Simple ACL ratelimit test |
| 2 | exim -bh V4NET.9.8.7 |
| 3 | ehlo test.ex |
| 4 | mail from:<> |
| 5 | rcpt to:<a@b> |
| 6 | data |
| 7 | Here is some data. |
| 8 | . |
| 9 | quit |
| 10 | **** |
| 11 | exim -bh V4NET.9.8.7 |
| 12 | ehlo test.ex |
| 13 | mail from:<> |
| 14 | rcpt to:<a@b> |
| 15 | data |
| 16 | Here is some data. |
| 17 | . |
| 18 | quit |
| 19 | **** |
| 20 | exim -bh V4NET.9.8.7 -DRRATELIMIT=0/1h/per_conn/strict -DDRATELIMIT=0/1h/per_conn/strict |
| 21 | ehlo test.ex |
| 22 | mail from:<> |
| 23 | rcpt to:<a@b> |
| 24 | data |
| 25 | Here is some data. |
| 26 | . |
| 27 | quit |
| 28 | **** |
| 29 | exim -bh V4NET.9.8.7 -DRRATELIMIT=0/1h/per_conn/strict -DDRATELIMIT=0/1h/per_conn/strict |
| 30 | ehlo test.ex |
| 31 | mail from:<> |
| 32 | rcpt to:<a@b> |
| 33 | data |
| 34 | Here is some data. |
| 35 | . |
| 36 | quit |
| 37 | **** |
| 38 | exim -bh V4NET.9.8.7 -DRRATELIMIT=0/1h/per_rcpt -DDRATELIMIT=0/1h/per_conn |
| 39 | ehlo test.ex |
| 40 | mail from:<> |
| 41 | rcpt to:<a@b> |
| 42 | rcpt to:<b@c> |
| 43 | rcpt to:<e@f> |
| 44 | data |
| 45 | Here is some data. |
| 46 | . |
| 47 | quit |
| 48 | **** |
| 49 | exim -bh V4NET.9.8.6 -DRRATELIMIT=1/1m/per_rcpt -DACLRCPT=check_rcpt2 |
| 50 | ehlo test.ex |
| 51 | mail from:<> |
| 52 | rcpt to:<a@b> |
| 53 | rcpt to:<b@c> |
| 54 | data |
| 55 | Here is some data. |
| 56 | . |
| 57 | quit |
| 58 | **** |