Re: [Exim] Rejecting some recipients while relaying to other…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Marc Haber
CC: exim-users
Tárgy: Re: [Exim] Rejecting some recipients while relaying to other mail server?
On Fri, 18 Aug 2000, Marc Haber wrote:

> The exchange admin now wants me to reject mail for certain recipients
> on the exim box since exchange can't do that without generating a
> bounce to postmaster.
>
> I am thinking about using FAQ 0308 (route_list=* localhost byname \n
> self=local) to pass the addresses to be rejected to the directors and
> fail them there, but is there an easier way?


A router like this?

fail_some:
driver = domainlist
verify_only
no_verify_sender
fail_verify_recipient
condition = a condition that checks for the recipients
route_list = *

in conjunction with receiver_verify, of course.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.