X-Git-Url: http://git.hcoop.net/hcoop/debian/exim4.git/blobdiff_plain/493d55f6840d04ef186778724fc67530b1600113..0baa7b9df9e8d0188307c635776394b0db691e7d:/debian/debconf/conf.d/acl/40_exim4-config_check_data diff --git a/debian/debconf/conf.d/acl/40_exim4-config_check_data b/debian/debconf/conf.d/acl/40_exim4-config_check_data index 1b371d2..abfa164 100644 --- a/debian/debconf/conf.d/acl/40_exim4-config_check_data +++ b/debian/debconf/conf.d/acl/40_exim4-config_check_data @@ -8,6 +8,15 @@ acl_check_data: + # Deny if the message contains an overlong line. Per the standards + # we should never receive one such via SMTP. + # + .ifndef IGNORE_SMTP_LINE_LENGTH_LIMIT + deny message = maximum allowed line length is 998 octets, \ + got $max_received_linelength + condition = ${if > {$max_received_linelength}{998}} + .endif + # Deny unless the address list headers are syntactically correct. # # If you enable this, you might reject legitimate mail.