On Fri, 3 Mar 2000, Sascha E. Pollok wrote:
> Is there any config-variable that can be used for allowing
> relaying to a specific recipient determined in the SMTP-Session?
> Like recipient_allow_relay = test@???
Relaying is a two-way thing. You always relay from something to
something. So, what are you really asking here? What is the from?
These are off the top of my head, and not tested.
(a) If your requirement is "from anybody to test@???" but not to
any other local part @yahoo.com" you have to put yahoo.com in
relay_domains, turn on receiver_verify, and put in a verifying router
that rejects all addresses except that one.
(b) If your requirement is "from my local LAN's hosts to test@???
but not to any others @yahoo.com", and otherwise you are generally
allowing relaying from your local LAN, you can set host_accept_relay,
and then again bounce specific addresses using a verifying router (one
with verify_only set).
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.