Replies: 1 comment 1 reply
-
The example you are describing can be implemented using two approaches:
Then, using ManageSieve, you can create a script on the |
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
-
Previous discussions:
#118
#225
and probably more
I think the procedure for handling forwarded mail needs to be in-housed. There is another wrinkle to consider which is the resolution of multiple forwarders:
compliance@example.com -> legal@example.com
gdpr@example.com -> legal@example.com
privacy@example.com -> legal@example.com
then:
legal@example.com -> somebody@foreign-server.com
My understanding is there is no way to loop in sieve, although the forwarder definitions can be queried from a store (eg. a sqlite file). The above example thus needs some sort of resolution procedure to arrive at the real destination. There should be some logical limit on the depth that this can go to. The other concerns in the linked conversations about DKIM and so on are also relevant here.
Otherwise the round-about solution, if I understand this correctly, would be to run something like postfix with a lua script in front of Stalwart. Misses the point I think. Email is not my main wheelhouse so please correct me if I am wrong. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions