setup_basic_mailserver_with_postfix_dovecot_sieve

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
setup_basic_mailserver_with_postfix_dovecot_sieve [20.03.2021 06:01] – [greylisting] Pascal Sutersetup_basic_mailserver_with_postfix_dovecot_sieve [20.03.2021 07:00] – [enterprise vs. free] Pascal Suter
Line 544: Line 544:
   rm /etc/apt/sources.list.d/pmg-enterprise.list   rm /etc/apt/sources.list.d/pmg-enterprise.list
   echo "deb http://download.proxmox.com/debian/pmg buster pmg-no-subscription" >> /etc/apt/sources.list.d/pmg-no-sub.list   echo "deb http://download.proxmox.com/debian/pmg buster pmg-no-subscription" >> /etc/apt/sources.list.d/pmg-no-sub.list
 +
 +as a non-enterprise user you will have to run updates from the command line, while enterprise users can do it from the web-ui IIRC (i am a poor private user ;)) 
 +
 +===== Create new users =====
 +to manage user accounts, login to adminer to edit your ''mailserver'' database. 
 +
 +first make sure the domain is added by checking the ''domains'' table. if the domain does not exist, add it. 
 +
 +make note of the domain id of the domain you want to add a new user for. 
 +
 +to add a new forwarding, make a new entry in the ''aliases'' table, make sure you don't forget to fill in the ''domain_id'' field
 +
 +to add a new user account, make a new entry in the users table. make sure you don't forget to fill in the ''domain_id'' field. leave ''quota'' empty or 0 in order to not enforce a mail box quota. if you want to set a quota, enter the amount of space the mailbox is allowed to use **in bytes**. for the ''password'' field, you need to generate a password hash on the command line of your mailserver. use the command 
 +  dovecot pw -s SHA256-CRYPT
 +and then enter the new password. It will return a SHA hash which you can then enter in the password field. 
 +
 +lastly, to activate the new mail user account, send an email to that address. 
 +
  • setup_basic_mailserver_with_postfix_dovecot_sieve.txt
  • Last modified: 20.03.2021 07:47
  • by Pascal Suter