Re: [exim] Creating a simple black hole for testing mail fro…

Góra strony
Delete this message
Reply to this message
Autor: Matthew Byng-Maddick
Data:  
Dla: exim-users
Temat: Re: [exim] Creating a simple black hole for testing mail from remote system
On Wed, Aug 03, 2005 at 08:18:51PM +0200, V. T. Mueller wrote:
> V. T. Mueller schrieb:
>> Kurt Lieber schrieb:
>>> Ideally, I'd like to prevent the mail from ever touching the disk for
>>> speed reasons, but if that's not possible through exim, I can
>>> accomplish the same thing by putting the spool on a RAM disk.
>> Then make netcat listen on the receiving port, directing outpu to
>> /dev/null .

[...]
> Actually, I think what I wrote you - using the :blackhole: router
> option - should be somewhat faster than doing the same thing in a
> transport.


Note that there is a semantic difference between redirecting to :blackhole:
and redirecting to /dev/null. If you have multiple recipients on a message,
the former will blackhole the mail, and the latter will blackhole only that
recipient, but deliver it properly to everything else.

Cheers

MBM

-- 
Matthew Byng-Maddick          <mbm@???>           http://colondot.net/
                      (Please use this address to reply)