1 # Reject mails with bigger size
2 if size :over {$maxsize}M{
3 reject text:
4 Dear sender,
6 the mail you sent to our mailsystem has been rejected due
7 to a user configured maximum mail size ($maxsize MB).
9 Either ask the user to remove the sizelimit, or send smaller pieces.
11 Thank you,
12 the mailserver
13 .
14 ;
15 discard;
16 }