• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Question run php script when receiving email according to its prefix

python

Regular Pleskian
I have created the list-unsubcribe header for the mailto format something like this <mailto: unsubscribe-idList-idUser@domain.com>

now I would need to detect the prefix "unsubscribe-" on the mail server in this case postfix and execute a php in order to automatically unsubscribe the user.

try transport even with an aliases but I always get that the address doesn't exist and it doesn't run the php, someone knows how I should configure postfix to run a php when it detects the prefix in the mail, since the option in plesk is not available.
 
Back
Top