in reply to Problem writing when running script from Postfix mail to script
Postfix Basic Configuration
main.cf file format