Replies: 1 comment 2 replies
|
I can try assist with my knowledge of DMS internals, but I don't have much time to go over third-party software and verify anything 😓
When mail arrives on port 25 into Postfix, security checks are performed against the connecting client, which involves some checks like SPF validation, rDNS (not strict), etc. If all that passes the mail gets accepted and we decide what to do with it via Postfix config for recipients. Postfix is configured for Dovecot mailbox accounts for delivery (via LMTP internally between the two services in the container), this is configured here: docker-mailserver/target/scripts/startup/setup.d/postfix.sh Lines 71 to 85 in cb76075 If you don't need the Dovecot mailbox and accounts integration you can opt-out via FWIW Postfix also uses So the
If you instead submitted mail on port 587/465, the default permits you to send mail with any sender address (even if the receiving MTA would reject it),
We also have a related feature for relaying mail via ports 587/465 through a relay host (source, docs) which allows you to configure mail to be sent to the recipient from a separate MTA (like SendGrid or AWS SES) with credentials for those, and you can configure that by the sender address.
The config syntax is documented here, where you provide a pattern to match on for the recipient address (it can be just local-part, domain-part, regex, full address, etc), and then what transport to map that to instead such as LMTP. Here we can create a NOTE: That file If you have mailmain running on the host system or a separate container, you share the unix socket file via a volume mount into DMS at say You can add more lines if you have multiple addresses to send 👍 The
I'm pretty sure you can just use our |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello!
I'm trying to set up a mailman instance. Mailman has a bunch of options one should add to their postfix main.cf (see here):
however, scared that would mess with docker-mailserver, I'm trying to find an alternative way to do this. Mailman exposes an LMTP tcp socket (which I suppose these transport maps will point to).
Now the situation is this: I receive email on my domain, which is just my own email addresses. I configured a subdomain for my mailinglists, (atm it's an alias to an email account, I'm migrating from my own software that used IMAP to mailman), and would like postfix to use that for mailman. I'm guessing I can somehow make postfix aware it should forward email for that specific domain to mailman's LMTP, though I'm not sure if I can do that - I'm guessing there's a reason the official docs do it like this.
Anyone ideas on how I can approach this? My other idea was running a separate postfix container to forward the mail to, but that seems a bit overkill to me (and may cause other issues I'm not aware of, possibly).
All reactions