Re: [Exim] selective relay

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Peter Bowyer
Dátum:  
Címzett: exim-users
Tárgy: Re: [Exim] selective relay
Erik Jacobs <emj14@???> wrote:
> OK.. I had emailed yesterday, and I'm much farther along than I was.
>
> I have the following SQL call that will return either an email
> address or null:
> ${lookup mysql{MYSQL_GRABMAIL}}
>
> Now here's my problem. I want to do this lookup in a router and, if
> i get an email address, send it to a transport where I manipulate the
> to/from/body/etc. If it's null, I want it to fail and eat the email.
>
> I think I need to use manualroute, because won't a redirect router
> immediately spit the email out?


If the redirect router gets a value of ':blackhole:' as the redirect data,
it will /dev/null the message. Sounds like what you need.

Peter