Re: [exim] Blocking local users

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Terry
Date:  
À: exim-users
Sujet: Re: [exim] Blocking local users
Bill Hacker wrote:
> � wrote:
>
>> ������������,
>>
>> How can i block local users from sending mail via command line and
>> smtp?
>>
>> i've tried
>> deny senders = username : username@??? :
>> lsearch;/etc/localspamusers
>>
>> or i should use perl func to check it?
>>
>>
>
>
>


> Maybe some thing like ?



dnslookup:
     driver = manualroute
     domains = !+local_domains
     transport = remote_smtp
     route_list = * relay.plus.net
     senders = :^[^@]+@(?!${rxquote:mydomainhere.co.uk}\$):\
                       lsearch;/permitted/senders


Thats what i use for one customer. I found that solution on this list.
Terry.