Redirect (pipe) email to script

My YunoHost server

Hardware: VPS hosted by HelioHost
YunoHost version:
I have access to my server : Through SSH and webadmin (comfortable with both)
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

On my old cPanel server, I could redirect incoming email to a Perl or Python script. For example: if an emails arrived for, it would go to the mailbox or be forwarded, but a copy would also be piped (via STDIN) to my custom Perl script which did some processing on its own.

Is there a way to replicate this in YunoHost? What config files should I edit so emails for a certain user get piped to a custom script?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.