Skip to content

Allow users to self-register email accounts with postfixadmin.

Notifications You must be signed in to change notification settings

slapcat/postfixadmin-user-registration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

About

Postfixadmin User Registration is a simple php script that allows users to create their own email accounts in postfixadmin.

Configuration and Installation

Configuration is done in three simple steps:

  1. Edit the top of register.php so that $domain = "{ENTER DOMAIN HERE}"; includes your domain that you receive email at. For example: $domain = "example.com";

  2. Place register.php in /usr/share/postfixadmin/public/users/. Make sure it is owned by root.

  3. Add a register link to the login page by placing this code in /usr/share/postfixadmin/templates/login.tpl:

<tr>
	<td class="label">&nbsp;</td>
	<td><a href="https://your.postfixadmin.domain.com/users/register.php">Register for an Account</a></td>
</tr>

IMPORTANT: You must use the absolute path to register.php or else the link will not work on both admin and user login pages.

A sample login.tpl file is included in this repository.

Contact

Feel free to email me with any questions or comments!

About

Allow users to self-register email accounts with postfixadmin.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published