Configuring a smtp_relays does not honor the routing table. #3275
Unanswered
cvillabrille
asked this question in
Help with using Postal
Replies: 1 comment 1 reply
-
I don't think smtp_relays does anything other than send all email from Postal via a specific channel, I don't think it has the logic you're thinking of in it. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
Configure a smtp_relays server in postal.yml, and some domains in the routing section.
Sending and email with multiple recipients, if the first email in To is external (not included in the routing), Postal does not honor the routing table and forward the delivery of the email of all recipients to the relay_host, and does not attempt to deliver the domains configured in the routing section.
A clear and concise description of what the bug is.
Configuring:
One email sent to :
[email protected]; [email protected]; [email protected].
Postal will honor the routing and forward the email to domain1.com, domain2.com and gmail.
However, if the first emails in To: is an external email (to be forwarded to the relay, i.e. gmail), all the delivery is forwarded to the relay server, including those (domain1 and domain2) configured as routing. Postal does not try to delivery domain1.com and domain2.com by itself.
To Reproduce
Expected behaviour
Honor the routing does not matter which is the first email in To:
A clear and concise description of what you expected to happen.
Does not matter which email address is set the first. Postal must check if the email is to be sent to the relay server and for those configured in the routing section, try to deliver the email to those domains.
Environment details
Beta Was this translation helpful? Give feedback.
All reactions