Re: [Exim] removing headers from :fail:ed emails

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: John Jetmore
CC: exim-users
Tárgy: Re: [Exim] removing headers from :fail:ed emails
On Thu, 4 Sep 2003, John Jetmore wrote:

> reject_spam:
> driver = redirect
> domains = dbmnz;CM_LD/db.config.db
> verify = false
> allow_fail
> data = :fail: Possible Spam Detected
> headers_remove = X-CCC-Routing-Info
>
> When this generates a bounce, the failed message includes the
> X-CCC-Routing-Info: header.


Instead of failing, route it to an autoreply transport. There you can
build your own bounce, and if you specify headers_remove, it will appy
to the included copy of the message that you return.

I guess I should get on with preserving the ACL variables for routing
use...

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book