Project

General

Profile

Actions

The ungleich mail infrastructure

Status

This document is IN PROGRESS.

Mail overview

  • Webmail
  • Outgoing mail server: smtp.ungleich.ch, port 25, starttls
  • Incoming mail server: mail.ungleich.ch, imaps
    Mail settings:
    smtp: smtp.ungleich.ch port 587 STARTTLS
    imap: mail.ungleich.ch port 143 STARTTLS

The primary mx configuration

  • Is found in the cdist type __ungleich_mx_primary (in our ungleich internally used dot-cdist)

How to add a new user

  • Have the user run doveadm to create a hash (doveadm pw -s sha512-crypt)
  • Have the user submit the hash to an admin
  • Modify type/__ungleich_mx_primary/files/dovecot/vpasswd to include the mail account
  • Run cdist config mx.place5.ungleich.ch

How to add a new domains

  • Edit type/__ungleich_mx_primary/files/postfix/vdomain
    • Add the new domain
  • Commit & push
  • Run cdist config mx.place5.ungleich.ch

How to add a new mail alias

  • Edit type/__ungleich_mx_primary/files/postfix/valiases
    • Add alias mail (First one is the alias => Will send incoming mail to the following email addresses)
  • Commit & push
  • Run cdist config mx.place5.ungleich.ch

How to update the mail server

Since all the configuration is located in cdist a simple cdist config mx.place5.ungleich.ch does the trick.

Sieve filters

Can be configured via:

The backup mx configuration

<to be filled in by Jin-Guk>

Updated by Jin-Guk Kwon about 3 years ago · 14 revisions