l...@airstreamcomm.net:
> We currently have a system setup to allow mass mailings sent via a single
> one time address with an :include: statement that points to a list of local
> users.  We would like to simplify the process by having this done using the
> existing mysql database of users based on their gid, but not sure how start
> implementing this.  Any help would be much appreciated. 

The interface to Postfix aliases(5) files is simple: Postfix sends
a query (the name of an alias) and receives a result (the expansion
of the alias, in your case :include:/path/to/file).  This interface
does not support the specification of a UNIX UID or GID.

If the aliases(5) are kept in a UNIX file (Berkeley hash, btree,
etc.) then Postfix will attempt to impersonate the owner of the
file while executing the :include: command (it impersonates the
$default_privs user when the file is owned by root, and once it
impersonates a non-root user, it stays with that user).

        Wietse

Reply via email to