Re: [exim] Blocking local users

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Terry
Dátum:  
Címzett: exim-users
Tárgy: 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.