Auteur: Heiko Schlittermann Date: À: exim-users Sujet: Re: [exim] how can get user group
Vasiliy G Tolstov <v.tolstov@???> (Di 15 Sep 2009 14:23:49 CEST): > 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)
I'd check „getent“ output, not /etc/passwd directly: