User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
email:configure-admin [2025/03/03 09:37] – created willyemail:configure-admin [2025/03/13 14:05] (current) willy
Line 1: Line 1:
-Now, configure it by creating a file called **postfixadmin/config.local.php** with the following content (see postfixadmin/config.inc.php for all available stuff to configure):+====== H) Configure PostfixAdmin ====== 
 + 
 +PostfixAdmin uses the **postfixadmin/config.local.php** configuration file that you need to create. You can check **postfixadmin/config.inc.php** for the complete list of configuration options. You only need to redefine what you want to change. 
 + 
 +The following example can be used as a starting point, but make sure to customize it as needed:
 <file - config.local.php> <file - config.local.php>
 <?php <?php
Line 17: Line 21:
 /* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */ /* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */
 </file> </file>
 +
 +__note:__ when adding new domains, choose "virtual" as transport, and 0 as password expiry.
 +
 +
 +At this point, you can already create all the mail domains and user accounts you want.
 +
 +=== Permissions ===
 +
 +Unfortunately, PostfixAdmin require access to dovecot administration CLI, which in turn is available only to users in the dovecot group.
 +
 +Add **web** user to **dovecot** group:
 +<code bash>
 +groupmod -a dovecot -U web web
 +</code>
 +
 +=== Autostart ===
 +
 +PostfixAdmin requires PHP-FPM and NGINX to be up and running.
 +
 +
 +
  

This website uses technical cookies only. No information is shared with anybody or used in any way but provide the website in your browser.

More information