Skip to content

kasisoft/leister-mailserver-pgsql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Purpose

This package contains changes necessary to use PostgreSql rather than Mysql. It is based upon the following installation tutorial:

DISCLAIMER: Take this data with a grain of salt. If you don't know what you're doing, don't to it !!! Since I haven't tried to install a mailserver again it's possibly that some information might have slipped although I don't believe so.

Folders

  • ./dovecot - changes for the dovecot installation
  • ./postfix - changes for the postfix installation
  • ./setup-db - sql scripts for the database setup. for postgres user you need to invoke psql rather mysql.

Different Packages

  • instead of dovecot-mysql use dovecot-pgsql
  • instead of postfix-mysql use postfix-pgsql

Commands

  • New domain: INSERT INTO domains (id, domain) VALUES (NEXTVAL('idgenerator'), 'mysystems.tld');
  • New mailbox: INSERT INTO accounts (id, username, domain, password, quota, enabled, sendonly, fullusername) VALUES (NEXTVAL('idgenerator'), 'user1', 'mysystems.tld', '{SHA512-CRYPT}$6$wHyJsS[...]', 2048, true, false, '[email protected]');
  • New alias: INSERT INTO aliases (id, source_username, source_domain, destination_username, destination_domain, enabled) VALUES (NEXTVAL('idgenerator'), 'alias', 'mysystems.tld', 'user1', 'mysystems.tld', true);
  • New Tls Policy: INSERT INTO tlspolicies (id, domain, policy, params) VALUES (NEXTVAL('idgenerator'), 'gmx.de', 'secure', 'match=.gmx.net');

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published