Jorge Bastos via Postfix-users: > Hi thanks, > > even with: > > echo -e "action=DUNNO\n" > > it fails with the same reason
Postfix logging? See: https://www.postfix.org/DEBUG_README.html#logging DO NOT turn on debug logging with '-v' options in master.cf. What happens when you replace the script with just this: #!/bin/bash while read -r line; do [ "$line" == "" ]] && break done echo -e "action=DUNNO\n" exit If that works without error, the you add back other lines until the script fails. One problem is that your script terminates and closes the connection, instead of waiting for another Postfix request. As documented in https://www.postfix.org/SMTPD_POLICY_README.html#protocol "The Postfix policy delegation protocol is really simple. The client sends a request and the server sends a response. Unless there was an error, THE SERVER MUST NOT CLOSE THE CONNECTION, so that the same connection can be used multiple times." (capitalization added for emphasis). Wietse _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org