diff --git a/Changes b/Changes index be68d4e..1d4dc7d 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,7 @@ 0.33 (to be) + Correct header parsing of "space only" lines (Joerg Meyer) + Update the sample configuration to use zen.spamhaus.org Support "module" plugins ("My::Plugin" in the config/plugins file) diff --git a/lib/Qpsmtpd/SMTP.pm b/lib/Qpsmtpd/SMTP.pm index bc69fc5..5f42bab 100644 --- a/lib/Qpsmtpd/SMTP.pm +++ b/lib/Qpsmtpd/SMTP.pm @@ -616,7 +616,7 @@ sub data_respond { unless (($max_size and $size > $max_size)) { s/\r\n$/\n/; s/^\.\./\./; - if ($in_header and m/^\s*$/) { + if ($in_header and m/^$/) { $in_header = 0; my @headers = split /^/m, $buffer;