Make size of email permitted configurable

This commit is contained in:
Jason Rothstein 2022-09-15 20:41:20 -05:00
parent 3c4d4cc12e
commit a75d3705a0
3 changed files with 5 additions and 0 deletions

View File

@ -2,3 +2,4 @@
# defaults file for ensure_postfix
postmaster_email: 'postmaster@example.com'
postfix_vhost: '{{ inventory_hostname }}'
postfix_message_size_limit: 10240000

View File

@ -759,3 +759,5 @@ delay_notice_recipient = {{ postmaster_email }}
error_notice_recipient = {{ postmaster_email }}
smtpd_helo_required = yes
disable_vrfy_command = yes
message_size_limit = {{ postfix_message_size_limit }}

View File

@ -759,3 +759,5 @@ delay_notice_recipient = {{ postmaster_email }}
error_notice_recipient = {{ postmaster_email }}
smtpd_helo_required = yes
disable_vrfy_command = yes
message_size_limit = {{ postfix_message_size_limit }}