[enterprise] RCPT TO Stage Best Practice for Split Delivery with Catch-All/Sub-Addressing Support #2214
Replies: 2 comments 6 replies
-
|
Your settings are correct and will remain compatible with future versions. |
Beta Was this translation helpful? Give feedback.
-
Looks like a configuration issue but since you deleted this comment I assume it's now fixed? |
Beta Was this translation helpful? Give feedback.






Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We have configured Stalwart and it is now operational. However, we are unsure whether this is a bug or intentional behavior:
We have Google Workspace as our incoming MX and forward emails from unknown accounts (i.e., in Google) to Stalwart. Outgoing emails that do not exist locally (in Stalwart) as accounts are sent via Google's SMTP relay. This works so far.
The next step was to ensure that features such as catch-all and sub-addressing were working. Although the values were set to “true,” they were not working.
Only after we created three rules in the RCPT TO stage as recipient rewrites did this start working properly.
We are now asking ourselves whether the technical implementation complies with best practice and will remain compatible with further updates, or whether there is a better recommendation.
Outbound Settings:
Rule 1:
is_local_address('', rcpt) ) => 'local'else:
'relay'Inbound Settings (RCPT Stage):
The Recipient Rewriting as text:
Rule 1:
is_local_address('', rcpt)=>rcptRule 2:
contains(rcpt, '+')=>split(rcpt, '+')[0] + '@' + split(rcpt, '@')[1]Rule 3:
!is_local_address('', rcpt)=>rcpt_domainelse:
falseBeta Was this translation helpful? Give feedback.
All reactions