mirror of
https://github.com/axllent/mailpit.git
synced 2026-04-26 00:35:51 +03:00
[GH-ISSUE #325] There's a way to configure SCP, DKIM and DMARC in Mailpit? #214
Labels
No labels
awaiting feedback
bug
docker
documentation
enhancement
github_actions
invalid
pull-request
question
stale
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/mailpit#214
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zJvco on GitHub (Jun 28, 2024).
Original GitHub issue: https://github.com/axllent/mailpit/issues/325
I'm trying to configurate the SCP, DKIM and DMARC in mailpit, but I didn't find anything helpful about it on documentation. My goal is to use mailpit as a MTA (relay smtp server) only to relay the messages.
@axllent commented on GitHub (Jun 28, 2024):
Hi @zJvco . Whilst Mailpit can relay messages via another SMTP server, Mailpit itself does not deliver messages directly to the individual MX servers to whom the emails are addressed. If you are wanting to add SPF/DMARC/DKIM then you will need to add this functionality to the relay SMTP server (which Mailpit is configured to relay through) as that is the server delivering the messages directly to the individual MX servers configured by their domain names.
So if Mailpit is configured to use a specific postfix server to relay messages, then that postfix server will need to be configured.
@zJvco commented on GitHub (Jun 29, 2024):
Hi!
In that case, Mailpit can't send e-mails to mail providers like Gmail or Outlook?
My Scenario is: I have one application (in one AWS EC2) that connects to Mailpit (which is in other AWS EC2) to relay e-mail to providers like Gmail.
relay smtp file:
host: mail.example.com.br
port: 25
starttls: true
allow-insecure: false
auth: login
username: test
password: test
secret:
return-path:
allowed-recipients:
It works?
@axllent commented on GitHub (Jun 29, 2024):
Mailpit will "resend" (route) your email via
mail.example.com.br- and it ismail.example.com.brthat then delivers the messages to providers like Gmail & Outlook, not Mailpit. If you need SPF etc, then this needs to be configured onmail.example.com.br. Does that make sense?@zJvco commented on GitHub (Jun 29, 2024):
So it should be:
My application (EC2) > SMTP Server (Mailpit) > Postfix (SMTP Relay)?
That's right?
@axllent commented on GitHub (Jun 30, 2024):
Exactly 👍