-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Maildir hooks #8
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Support a
hooks
file in maildirs, which may contain functions() with predefined names which will be executed by filters as maildir events occurr, i.e.called every time a mail is added
the
distribute
function above refiles the message for the whole group.called at end of filtering if folder changed
the
publish
function above rebuilds html pages.So basically two main events, one for each mail added the other after any number of mails have been filed into the folder, arguments will provide relative paths to new mail(s).
The first application for this will be the implementation of the "autonomous mailinglist" feature allowing anyone to setup a mailinglist on any client or server running jaromail:
every-new-mail()
will trigger adistribute()
event to another email address or a group collecting mail addresses. Thedistribute()
function is a standard Jaro Mail auxiliary function available in the hooks, it supports settings on the path inside the $JAROMAILDIR configuration.The text was updated successfully, but these errors were encountered: