Ignacio Garc?a: > Hi Wietse and thanks for your reply > > > Since I just want to block all users with a web site, and my all web > users are web*1*, web*2 *... web*/n/* Can I use a wildcard such as this > for the (non-)authorized users?
Use regexp: or pcre:. http://www.postfix.org/postconf.5.html#authorized_submit_users Specify a list of user names, "/file/name" or "type:table" patterns, separated by commas and/or whitespace. The list is matched left to right, and the search stops on the first match. A "/file/name" pattern is replaced by its contents; a "type:table" lookup table is matched when a name matches a lookup key (the lookup result is ignored). Example: /etc/postfix/main.cf: authorized_submit_users = !pcre:/etc/postfix/authorized-users, ... /etc/postfix/authorized-users: # See postconf.5.html#authorized_submit_users # A "type:table" lookup table is matched when a name matches a # lookup key (the lookup result is ignored). /^web.+/ whatever Wietse