Question Is it possible to trigger a script on receiving email with postfix

EBardoul

New Pleskian
Server operating system version
Debian 9 64bits
Plesk version and microupdate number
Plesk Obsidian Web Pro Edition Version 18.0.44 Update #3
I need to trigger a php script on receiving eMail on a certain address.
I found this solution
Run script on receipt of email
but I am not sure about adding /etc/postfix/address.txt and doing postmap /etc/postfix/address.txt and how it could affect postfix and /var/spool/postfix/plesk/virtual.db or not.
OR may be there is a better solution ?
 
Back
Top