On 09/07/2016 17:50, Viktor Dukhovni wrote:
On Sat, Jul 09, 2016 at 05:46:51PM +0300, Lefteris Tsintjelis wrote:
>(not writing to /dev/null, only discarding input)
Yes! Great idea, much better and simpler in CPU cycles than dev null
actually! Thanks!
If you really want to save CPU cycles, us
On Sat, Jul 09, 2016 at 05:46:51PM +0300, Lefteris Tsintjelis wrote:
> >(not writing to /dev/null, only discarding input)
>
> Yes! Great idea, much better and simpler in CPU cycles than dev null
> actually! Thanks!
If you really want to save CPU cycles, use the discard(8) transport,
it is consid
On 09/07/2016 17:25, Erwan David wrote:
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 th
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 somet
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 >/d
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 $?