Re: [exim] Brain Teaser - how would you do this?

Pàgina inicial
Delete this message
Reply to this message
Autor: Tony Finch
Data:  
A: Marc Perkel
CC: exim-users
Assumpte: Re: [exim] Brain Teaser - how would you do this?
On Mon, 3 Apr 2006, Marc Perkel wrote:
>
> But - some of my customers are asking to get a copy of the spam I'm
> bouncing/black holing. So what I want to do is if I detect spam then I
> want to forward a copy of it to another email address, but only if I can
> do a forward callout and verify the address exists. So the email address
> I need to verify isn't either the sender or the recipient. I need to
> verify and arbetrary address that I generate to see if it exists and if
> it does then forward a copy of the spam there.


If you decide whether or not the message is spam in the RCPT ACL before
verifying the recipient address, and if you implement your special
forwarding logic in the routers (e.g. based on ACL variables), then
require verify = recipient/callout will achieve what you want.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}