On 3/16/2017 11:18 AM, Gilberto Nunes wrote: > Hello folks... > > I just need execute some command after receive a mail... > > I found this site: > > https://www.thecodingmachine.com/triggering-a-php-script-when-your-postfix-server-receives-a-mail/ > > This can be achieve with shell script as well??
The above site is an example of a simple content_filter using a PHP script. The postfix docs contain a similar example using a shell script. http://www.postfix.org/FILTER_README.html#simple_filter