envelope-from header missing

Emanuel Vidmar - Avant.Si info at avant.si
Fri Dec 4 12:20:22 UTC 2020


we are experiencing some issues with delivering reports from Mailscanner.
The outbound report from MailScanner does not have the envelope-from field
and therefore the From header is not populated.
Gmail rejects such Emails, due to missing From header:

2020-11-27 13:29:36 1kicsa-0008Hc-Gm check_mail_permissions could not
determine the sender domain [routed_domain=gmail.com
message_exim_id=1kicsa-0008Hc-Gm sender_host_address= recipients_count=1]
2020-11-27 13:29:37 1kicsa-0008Hc-Gm ** ***@gmail.com R=dkim_lookuphost
T=dkim_remote_smtp H=gmail-smtp-in.l.google.com []
X=TLS1.2:ECDHE-ECDSA-AES128-GCM-SHA256:128 CV=yes: SMTP error from remote
mail server after end of data: 550-5.7.1 [      11] Our
system has detected that this message is\n550-5.7.1 not RFC 5322
compliant:\n550-5.7.*1 'From' header is missing.*\n550-5.7.1 To reduce the
amount of spam sent to Gmail, this message has been\n550-5.7.1 blocked.
Please visit\n550-5.7.1
https://support.google.com/mail/?p=RfcMessageNonCompliant\n550 5.7.1 and
review RFC 5322 specifications for more information. m13si8373647wrb.328 -
2020-11-27 13:29:37 1kicsa-0008Hc-Gm Frozen (delivery error message)

We have been testing with the "sender.virus.report.txt" template.

Is there anything we could do to fix that?

Thank you.

Best regards,


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20201204/4b2a413d/attachment.html>

More information about the MailScanner mailing list