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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Tim Jackson
Date:  
À: exim-users
Sujet: 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