Nikita Kipriyanov: > Michael Moritz ?????: > > On Wednesday 05 November 2008 14:41:42 mouss wrote: > > > >>> Thanks. Any idea how to populate /etc/postfix/relay_recipients with all > >>> valid usernames? > >>> > >> rsync, mysql, postgres, ldap, ... etc. > >> > > > > Thanks but I have quite a number of different soures for usernames (sql, > > aliases, virtusers, ..). Just thinking since one machine is already running > > postfix and "knows" all the valid reciepient names isn't there a simple way > > of getting that full list - surely it must be stored somewhere? > > > It is stored on that "one machine", in different sources (sql, aliases, > virtusers). > Postfix doesn't aggregate this information, it queries sql, db-files etc. > > So, if you want to have it aggregated, you must do it yourself.
The only aggregation method for this purpose that's built into Postfix is called "reject_unverified_recipient", and this builds the table one query at a time. Wietse