update..
This commit is contained in:
@ -50,6 +50,13 @@
|
||||
sender=~file:/etc/postfix/postfwd.bl-sender
|
||||
}
|
||||
|
||||
# Block messages exceedds size of 20MB
|
||||
&&BLOCK_CLIENT_NAME_MSG_SIZE_20MB {
|
||||
protocol_state==END-OF-MESSAGE
|
||||
recipient=~file:/etc/postfix/postfwd.bl-recipient-exeeds-msg-size-20mb
|
||||
size=20971520
|
||||
}
|
||||
|
||||
# Inbound emails only
|
||||
&&INCOMING {
|
||||
client_address!=127.0.0.1
|
||||
@ -139,6 +146,12 @@ id=BL_SENDER
|
||||
action=REJECT Sender address is blocked by Mailserver admins. Error: BL_SENDER
|
||||
|
||||
|
||||
# Block messages for given recipients exceeds size of 20 MB
|
||||
id=BLOCK_MSG_SIZE_20MB
|
||||
&&BLOCK_CLIENT_NAME_MSG_SIZE_20MB
|
||||
action=REJECT message exceeds the size of 20 MB ($$size). Error: BLOCK_MSG_SIZE_20MB
|
||||
|
||||
|
||||
# Rate Limits
|
||||
|
||||
# Throttle unknown clients to 5 recipients per 5 minutes:
|
||||
|
Reference in New Issue
Block a user