Hello,

I would like to ask for your advice on easy ways to allow particular users to maintain mailing lists configured as aliases.

For example the list [email protected] could contain several hundred mail addresses.

As mail server admin, I would like to allow the Group X Administrator to make changes to this list without access to the mail server itself.

I thought of the solution below:

The alias recipients would be defined in a postfix alias text file (configured as a hash file in virtual_alias_maps) which would be synced to a remote google drive (maintained by the Group X Administrator) like:

   rclone sync gdrive:/path/to/groupx_aliases.txt
   /etc/postfix/groupx_aliases

   The connection is performed via Google Drive API (v3) and the
   authentication using OAuth 2.0.

In every sync, postfix should be updated like:

   inotifywait -m /etc/postfix/groupx_aliases -e close_write |
   while read path action file; do
      /path/to/script.sh
   done

where the script executes a postmap for the aliases file:

   postmap /etc/postfix/groupx_aliases

Could you suggest better / simpler / more elegant / alternative solutions for this use case? (Note that applications like Mailman for subscription-based lists are not suitable for this use case.)

As a recap, we would like to have some particular project managers to be able to manage their group's mailing lists, configured as postfix aliases.

Thanks in advance for your feedback.

Best regards,
Nick


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to