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

Góra strony
Delete this message
Reply to this message
Autor: Kurt Lieber
Data:  
Dla: V. T. Mueller
CC: exim-users
Temat: [exim] Re: Creating a simple black hole for testing mail from remote system
On 8/3/05, V. T. Mueller <exim@???> wrote:
> What are you intending to loadtest then? The sending side?


Yes. I just need a virtual bit bucket to dump all the mail that we're sending.


> Then make netcat listen on the receiving port, directing outpu to
> /dev/null .


Except that an actual SMTP conversation has to take place in order for
the sending server to get rid of it.

> You can append to /dev/null in an appropriate transport, or better
> use s/th like this in your router configuration:
>
> blackhole:
>    driver = redirect
>    domains = <yourdoma.in>
>    local_parts = blackhole
>    data = :blackhole:
>    no_verify


Thanks -- I'll give this a try.