Le 09/07/2016 à 16:25, Erwan David a écrit :
> Le 09/07/2016 à 16:18, Lefteris Tsintjelis a écrit :
>> Is there a way to redirect to dev null (without using local aliases)
>> by using master.cf and a shell script maybe?
>>
>> http://www.postfix.org/FILTER_README.html#simple_filter
>>
>> Would something as simple as this work?
>>
>> !/bin/sh
>>
>> cat >/dev/null
>>
>> exit $?
>>
> By using a pipe(8) transport and piping to /bin/true should be enough, no ?
>
> (not writing to /dev/null, only discarding input)
>
>
Better : use discard(8)