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

add From, To and Date header in smtp payload #364

Merged
merged 1 commit into from
Sep 5, 2022
Merged

Conversation

Issif
Copy link
Member

@Issif Issif commented Sep 5, 2022

Signed-off-by: Thomas Labarussias issif_github@gadz.org

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area build

/area config

/area outputs

/area tests

What this PR does / why we need it:

Add headers to SMTP payload to avoid to trigger Antispam (Amavis)

Content-Type: multipart/alternative; boundary=4t74weu9byeSdJTM
Date: Mon Sep 05 11:17:34 +0000 2022
From: sender@test.com
MIME-version: 1.0
Message-ID: eRLbKi-tUeoWDSSmeho7nHjlsb9EoygIGrzH22YAsS8=@mailhog.example
Received: from localhost by mailhog.example (MailHog)
          id eRLbKi-tUeoWDSSmeho7nHjlsb9EoygIGrzH22YAsS8=@mailhog.example; Mon, 05 Sep 2022 11:17:34 +0000
Return-Path: <sender@test.com>
Subject: [Debug] This is a test from falcosidekick
To: recipident@test.com

Which issue(s) this PR fixes:

#363

Fixes #

Special notes for your reviewer:

Signed-off-by: Thomas Labarussias <issif_github@gadz.org>
@poiana poiana added the approved label Sep 5, 2022
@Issif Issif added this to the 2.27.0 milestone Sep 5, 2022
@poiana poiana added the size/XS label Sep 5, 2022
@poiana
Copy link

poiana commented Sep 5, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fjogeleit, Issif

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana
Copy link

poiana commented Sep 5, 2022

LGTM label has been added.

Git tree hash: 3a1a13736ca16bdb955a9f0410d48a499a24ad85

@poiana poiana merged commit 747b68b into master Sep 5, 2022
@poiana poiana deleted the headers-smtp branch September 5, 2022 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants