Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Cortex Mailer Responder does not add Date header (per RFC5322) #1222

Open
AM-CERT opened this issue Sep 24, 2023 · 0 comments
Open

[Bug] Cortex Mailer Responder does not add Date header (per RFC5322) #1222

AM-CERT opened this issue Sep 24, 2023 · 0 comments

Comments

@AM-CERT
Copy link

AM-CERT commented Sep 24, 2023

Describe the bug
Cortex Mailer Responder does not add Date header (per RFC5322) in email causing Undeliverable mail, invalid header section from Amavis.

To Reproduce
Steps to reproduce the behavior:

  1. Configure Mailer Responder
  2. Send email using type case or case_task

Expected behavior
Email delivery to he recipient

Work environment

  • Client OS: Linux
  • Server OS: Linux / Docker
  • Browse type and version: Chrome
  • Cortex version: 3.1.7-1
  • Cortex Analyzer/Responder name: Mailer
  • Cortex Analyzer/Responder version: 1.0

Possible solutions
Add Date header before sending the email

from email.utils import formatdate

msg["Date"] = formatdate(localtime=True)

Thank you

@AM-CERT AM-CERT changed the title [Bug] [Bug] Cortex Mailer Responder does not add Date header (per RFC5322) Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant