Re: [Exim] selective relay

Góra strony
Delete this message
Reply to this message
Autor: Peter Bowyer
Data:  
Dla: exim-users
Temat: Re: [Exim] selective relay
Erik Jacobs <emj14@???> wrote:
>> 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 -- this helps a great deal. However it would be nice to be
> able to pass the message to a transport so that I can manipulate the
> to/from/subj/etc.


You want to optionally drop the message in the transport? No idea how you'd
do that. Decision-making is done in the routers, transports do what the
routers tell them.

> Basically the relay is acting like an email "anonymizer". It accepts
> mail from a "real" address to a "virtual" address, checks a
> whitelist, and, if allowed, passes the email on to the other "real"
> address.
>
> I guess what I'm doing is sending email to an alias. If the sender
> is on the whitelist for the alias, the forwarder takes place.
> However, I don't want any "real" user accounts -- i'd like to do the
> whole thing with MySQL.


Can't see why you shouldn't be able to do that - have a redirect router
which has a data= clause that resolves to the aliased address if the
condition you want is valid or ':blackhole:' otherwise - this will then get
passed to the transport or devnulled which I think is what you want. No need
to involve user accounts.

Peter