AW: Redirect spam to recipient domain

"Steffen Heil" <[email protected]> Mon, 20 Dec 2004 11:54:36 +0100
Newsgroups gmane.mail.exim.exiscan.user
Message-ID <[email protected]>
Hi

> it seems $domain only works in routers? How do i get the recipient domain

in ACL?

You cannot, since the mail might have had multiple recipients.

So just use

set acl_m0 = 1

And use that as a condition for a router.

spam_router:

driver = redirect

condition = $acl_m0

data = spambox@$domain

(Remember, routers are called for each recipient in turn.)

Regards,

Steffen
smime.p7s (application/x-pkcs7-signature, 3.1 KB) - not displayed