Re: [Exim] deny recipients from outside

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Leonardo Boselli
Data:  
Para: exim-users
Assunto: Re: [Exim] deny recipients from outside
A large caveat:
if you deny some address to be used from exterior, you should also
avoid (by rewriting) that that address be exposet in outgoing mail.
It is an extremely bad impression those that i have had at least 3 times,
of an isp that allow his staff to send messages to customers using as
From an address that is then bounced when you reply !
Il 25 Jul 2003 alle 10:37, Rennie deGraaf immise in rete:

> Generate a file containing all of the mailbox names ("local_parts")
> that you want to allow from outside. I use a script to do this.
> Then, in your "rcpt to" ACL, modify your "accept domains =
> +local_domains" section to look something like this:
>
> accept   domains     = +local_domains
>          endpass
>          message     = unknown user
>          log_message = $local_part is not accessible from outside
>          local_parts = /etc/mail/external_aliases verify      =
>          recipient

>
> If your file contains a list of names to deny instead of accept,
> negate the "local_parts" condition.
>
> If you're relaying for other domains as well, do something similar in
> your "accept domains = +relay_to_domains" section.
>
> If the mail originated from a trusted host, you should have already
> accepted it before it got that far in the ACL (with "accept hosts =
> +relay_from_hosts")
>
> Rennie deGraaf
> System Administrator
> Verano <www.verano.com>
>
>
> Test, James wrote:
>
> >Using exim 4.20...Does anyone know of a way to deny (block) a list of
> >recipients from getting mail only from the outside? I still want it
> >to accept internal routing for these recipients.
> >
> >thanks!
> >
> >--
> >
> >## List details at http://www.exim.org/mailman/listinfo/exim-users
> >## Exim details at http://www.exim.org/ ##
> >
> >
> >
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/ ##
>
>


--
Leonardo Boselli
Nucleo Informatico e Telematico del Dipartimento Ingegneria Civile
Universita` di Firenze , V. S. Marta 3 - I-50139 Firenze
tel +39 0554796431 cell +39 3488605348 fax +39 055495333
http://www.dicea.unifi.it/~leo