Re: [exim] Restricting mail to internal mailing lists.

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Tim Jackson
Data:  
Para: exim-users
Asunto: Re: [exim] Restricting mail to internal mailing lists.
Conrad Lawes wrote:

> My employer is using exim 4 as for our smtp gateway server. We wish to stop
> spammers from sending to our internal mailing lists, e.g.
> allstaff@???, payroll@???. However, we wish some of
> our partners and customers to be able to send to said list.
> For instance, inbound mail from jdoe@???, *@partner2.com, and
> jdoe@??? should be allowed to send to our internal mailing lists.
>
> How do can I make this happen?


Crude ACL rule which could be bypassed by forged headers, but will
probably do the trick:

deny message = External users not allowed
      domains = mycompany.example.com
      local_parts = allstaff : payroll
      !senders = *@mycompany.example.com : jdoe@??? :\
                 *@partner2.example.com : jdoe@???


Tim