Re: [exim] Blocking local users

Pàgina inicial
Delete this message
Reply to this message
Autor: Terry
Data:  
A: exim-users
Assumpte: 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.