-
|
Let me describe my env first. Some of these emails (especially system-related ones) are sent for me as well. This means that they end up in my DMS inbox (since they are treated as local by DMS). However, I would like to let them be sent just as any other email, since my MX records will make them go to my thid-party inbox. To achieve this goal, I tried setting $mydestination to localhost, I also tried to leave it empty, but it did not work. Note: I am using local auth. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
|
A common scenario is Some users misunderstand this and think configuring a bare domain with the config As for local inbox, it's not clear what you're referring to here. If email is submitted to DMS (Postfix) to send mail it should be via ports 587 or 465, both requiring auth to send mail outbound (to a third-party mail server). You have your sender (
So it sounds like your main issue is you created a If spoof protection is not enabled in DMS ENV, then you can have any
That said, there may be a Postfix setting that would force the MX record lookup, even when there is a local mailbox domain match like |
Beta Was this translation helpful? Give feedback.
I managed to get it working, thanks to this issue you told me to take a look at.
mail.envpostfix-main.cfuser-patches.shI believe $SMTP_DOMAIN is useless, but I am not a pro at this so I'll leave it like this for now.
Adding a new 'local' mechanism to SASLAUTD_MECHANISMS, doing exactly t…