Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀: allow non-local domain alias, add rcpt_alias variable #1238

Open
1 task done
helmut72 opened this issue Feb 23, 2025 · 0 comments
Open
1 task done

🚀: allow non-local domain alias, add rcpt_alias variable #1238

helmut72 opened this issue Feb 23, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@helmut72
Copy link

helmut72 commented Feb 23, 2025

Which feature or improvement would you like to request?

I'd like to see this feature:
Please add an option to allow alias addresses for users with domain part, that not exist in /manage/directory/domains.

LDAP directory create domains if the domain in email-alias isn't the one from the primary email address. To fulfill current behavior and different configurations, there should be also an option to create or not to create a domain, if the domain part in an alias isn't the one from the primary address.

For now, it's only possible to cheat in local user directory: First, create a 2nd domain "otherdomain.com", add an alias "[email protected]" to an user account and delete domain "otherdomain.com" afterwards. Alias won't be deleted from the user account.

Also it would be cool if Stalwart is aware of all users non-local domain aliases in a variable like rcpt_alias. This allow something like:
if is_local_address("", rcpt_alias) then 'local'

Is your feature request related to a problem?

I'm having a problem with...
#987 (comment)
#987 (comment)

This complete a feature that exist in Postfix. Thank you.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@helmut72 helmut72 added the enhancement New feature or request label Feb 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant