Dovecot

Von außen erreichbar sein sollen nur gesicherte Verbindungen zu IMAPS und POP3S über die Ports 993 und 995.

Protokollierung über Syslog in eigene Dateien über local5

10-logging.conf
log_path = syslog
syslog_facility = local5
auth_verbose = yes
auth_verbose_passwords = no
10-master.conf
service imap-login {
  inet_listener imap {
    port = 143
    address = 127.0.0.1
  }
  inet_listener imaps {
    port = 993
    ssl = yes
  }
}
 
service pop3-login {
  inet_listener pop3 {
    port = 0
  }
  inet_listener pop3s {
    port = 995
    ssl = yes
  }
}
 
service auth {
  # Postfix smtp-auth
  unix_listener /var/spool/postfix/private/auth {
    mode = 0666
    user = postfix
    group = postfix
  }
}
10-mail.conf
mail_location = maildir:~/Maildir

Filter mit Sieve

15-lda.conf
protocol lda {
  mail_plugins = $mail_plugins sieve
}
20-managesieve.conf
service managesieve-login {
  inet_listener sieve {
    port = 4190
    address = 127.0.0.1
  }
}