Code in this video_PostfixAdmin – Set Up A Mail Server with PostfixAdmin on Ubuntu | Debian – Part 4

PostfixAdmin – Set Up A Mail Server with PostfixAdmin on Ubuntu | Debian – Part 4 – Install and Configure PostfixAdmin

✳️ Some Important Information from Part 1
    🔸 Domain: totatca.xyz
    🔸 FQDN/Fullname: mail.totatca.xyz
    🔸 User and Group: totatca with ID 5000
    🔸 Email storage: /var/virtual_mail_box
    🔸 Database name: postfixadmin_db
    🔸 Database user: postfixadmin_user
    🔸 Database password: postfixadmin_PWDReplace the highlighted portion in orange with your information.If you make any changes, ensure to update the corresponding details in the following steps.

✳️ Code in this video:
	
	wget -O postfixadmin.tar.gz https://github.com/postfixadmin/postfixadmin/archive/refs/tags/postfixadmin-3.3.13.tar.gz


<?php
	$CONF['database_type'] = 'mysqli';
	$CONF['database_host'] = 'localhost';
	$CONF['database_user'] = 'postfixadmin_user';
	$CONF['database_password'] = 'postfixadmin_PWD';
	$CONF['database_name'] = 'postfixadmin_db';
	$CONF['configured'] = true;
	$CONF['encrypt'] = 'md5crypt';
?>


<VirtualHost *:80>

	DocumentRoot /var/www/postfixadmin/public
	ServerName totatca.xyz
	ServerAlias postfixadmin.totatca.xyz

	<Directory /var/www/postfixadmin/>
		Options FollowSymlinks
		AllowOverride All
		Require all granted
	</Directory>

	ErrorLog ${APACHE_LOG_DIR}/error.log
	CustomLog ${APACHE_LOG_DIR}/access.log combined

</VirtualHost>

Thank You !!!

Leave a Reply

Your email address will not be published. Required fields are marked *