Re: Restricting addresses a user can send mail to

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Alex Sharaz
Cc: exim-users
Asunto: Re: Restricting addresses a user can send mail to
On Wed, 19 Feb 1997, Alex Sharaz wrote:

> I have a requirement to be able to reject messages going to specific addresses
> or domain.


Set up a router and/or director to recognize the addresses you want to
reject. Get it/them to pass the message to a pipe transport. Set up the pipe
to generate a suitable error message and set "return_output" on it.
Voila.

OR

Set except_domains and except_local_parts (as appropriate) on all your
directors and routers. Then the addresses you don't like will be failed
with "unknown local part" or "unknown mail domain". Can't remember if
these options were in 0.56 or not.

--
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714