Re: [exim] Blocking local users

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Terry
Data:  
Para: exim-users
Asunto: 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.