DeepOFix mail server management scripts
Find a file
2025-12-29 13:53:09 +05:30
awkprof.out deepofix add group restriction script update 2025-12-29 13:53:09 +05:30
deepofix.conf deepofix add group restriction script update 2025-12-29 13:53:09 +05:30
deepofix.dev deepofix add group restriction script update 2025-12-29 13:53:09 +05:30
deepofix_grouprestriction_add.sh deepofix add group restriction script update 2025-12-29 13:53:09 +05:30
deepofix_grouprestriction_update.sh deepofix add group restriction script update 2025-12-29 13:53:09 +05:30
groups deepofix add group restriction script update 2025-12-29 13:53:09 +05:30
install_deepofix_scripts.sh deepofix add group restriction script update 2025-12-29 13:53:09 +05:30
LICENSE Initial commit 2025-12-17 20:33:21 +05:30
README.md deepofix add group restriction script update 2025-12-29 13:53:09 +05:30

DeepOFix mail server management scripts

Installation

Install DeepOFIx scripts

bash install_deepofix_scripts.sh 

The script will ask for following configuration details

  • LDAP Bind DN
  • LDAP Bind Password
  • LDAP Base DN
  • LDAP Host
  • Group attribute which stores sender email

Group sender restrictions

This script updates Postfix group sender restrictions. It queries the 'cn' and 'rfc822sender' attributes from OpenLDAP groups and writes a list of authorized senders to a file named after the group (cn). These configuration files are stored in '/etc/postfix/restrictions/'

Usage:

deepofix-gs-update -e user@email.com

Options:

  -e, --email         Email address of group whose sender permissions require updating

  -h, --help          Display help and exit