Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
setup_basic_mailserver_with_postfix_dovecot_sieve [28.05.2020 10:31] – Pascal Suter | setup_basic_mailserver_with_postfix_dovecot_sieve [20.03.2021 07:47] (current) – [add a new domain] Pascal Suter | ||
---|---|---|---|
Line 537: | Line 537: | ||
you can see all attempts that where blocked by geylisting if you go to the tracking center and check the " | you can see all attempts that where blocked by geylisting if you go to the tracking center and check the " | ||
+ | |||
+ | ==== enterprise vs. free ==== | ||
+ | PMG is free open source software with an optional enterprise subscription. For a private person, the enterprise license is too expensive, but if you use this setup for a production server in a copmany, you might want to consider getting the enterprise subscription, | ||
+ | |||
+ | by default, PMG comes with the enterprise repo pre-configured which means you won't be able to update if you don't have a subscription. if you want to use the free repo, you need to change your apt configuration: | ||
+ | rm / | ||
+ | echo "deb http:// | ||
+ | |||
+ | 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 '' | ||
+ | |||
+ | first make sure the domain is added by checking the '' | ||
+ | |||
+ | 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 '' | ||
+ | |||
+ | to add a new user account, make a new entry in the users table. make sure you don't forget to fill in the '' | ||
+ | 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. | ||
+ | |||
+ | ===== add a new domain ===== | ||
+ | to add a new domain to the mail system, complete the following steps: | ||
+ | - add the domain on the Proxmox Mail Gateway to the "Relay Domains" | ||
+ | - add the domain to your mailserver database, as mentioned above | ||
+ | - update the DNS records of your domain to point to the mailfitler and also add these entries: < | ||
+ | autoconfig | ||
+ | autodiscover | ||
+ | _dmarc | ||
+ | @ | ||
+ | 00000000._domainkey | ||
+ | </ |