On 02/02/17 06:39, Wietse Venema wrote: > Michael Ludvig: >> Hi >> >> I've got a Postfix 2.6.6 mail server on CentOS where I want to accept >> emails only for members of a certain unix group (e.g. group mailuser) >> and reject everyone else. >> >> I believe it should be done with local_recipient_maps but I can't figure >> out how to make it check the unix user membership.. >> >> The default setting "local_recipient_maps = unix:passwd.byname >> $alias_maps" obviously accepts emails to all existing user accounts. How >> can I restrict it only to members of the specific group? > > There is no such filter for /etc/passwd built into Postfix. Instead > of unix:passwd.byname, you could enumerate the users in a Postfix > table (hash, lmdb, ...). > > Wietse
There isn't.....? I'd swear there at least USED to be. ....OH. Wait. I understand. You mean there isn't any capability to filter unix:passwd.byname down to a specific group. -- Phil Stracchino Babylon Communications [email protected] [email protected] Landline: 603.293.8485
