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

Create new_mailbox_hook function #864

Merged
merged 8 commits into from
Nov 9, 2024

Conversation

gianlucagiacometti
Copy link
Contributor

This function may be useful to perform tasks on a newly created mailbox.

@DavidGoodwin
Copy link
Member

Hi - Thanks for taking the time to contribute!

PostfixAdmin already has 'mailbox_postcreation_script' - which could technically do what you're after, but I can see you might want to run within the scope of PostfixAdmin instead.

I think it might be better if the config setting was renamed to mailbox_postcreation_hook rather than new_mailbox_hook.

@gianlucagiacometti
Copy link
Contributor Author

Hi,
I thank you for your constant effort and brilliant work.
I changed the name as you suggested, and I slightly modified the description in the config file.
I chose to create a function within the scope because it maybe useful, and sometimes necessary, to be able to use the record data.

@DavidGoodwin DavidGoodwin merged commit bfebea5 into postfixadmin:master Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants