[exim] how can get user group

Top Pagina
Delete this message
Reply to this message
Auteur: Vasiliy G Tolstov
Datum:  
Aan: exim-users
Onderwerp: [exim] how can get user group
Hello!
I'm try to get user group in non_smtp acl by

deny condition = ${if =
{${extract{4}{:}{${lookup{$local_part}lsearch{/etc/passwd}{$value}fail}}}}{601}{yes}{no}}

(if user group id = 601 deny send e-mail)

Why this is not work?

--
Vasiliy G Tolstov <v.tolstov@???>
Selfip.Ru