Skip to content

Navigation Menu

Sign in
Sign up

How to call a script to each email received ? #790

Unanswered
lakano asked this question in Q&A
Discussion options

Hi !

Thank you for all your works on this amazing project!

I'm searching a way to call a script that can receive the subject, sender and destination email, to permit to this script to decide or not if it's urgent/important and send me a notification.

As I'm using the docker image, I've created my script in the /data volume folder, and I've downloaded a curl-static version inside it, so I can call my service (ntfy)

I can run my script from inside the docker container and my notification is sent, but I don't understood how to make it called from maddy.conf

I've tried what proposed in #735 without succes

Any suggestions to permit to make it works correctly and ideally with the email destination and subject ?

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /