Linux/Mailserver/Small Office Smarthost

From Wiki
< Linux‎ | Mailserver
Revision as of 22:34, 12 March 2013 by Marcluer (talk | contribs) (Die Seite wurde neu angelegt: „This configuration is based on Ubuntu 12.04 LTS * preparing the system <blockquote> <pre> mkdir /srv/mail/virtual groupadd -g 5000 vmail useradd -s /usr/sbin/…“)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This configuration is based on Ubuntu 12.04 LTS

  • preparing the system
mkdir /srv/mail/virtual
groupadd -g 5000 vmail
useradd -s /usr/sbin/nologin -u 5000 -g 5000 vmail
id vmail

postfix

dovecot

  • /etc/dovecot/conf.d/10-auth.conf
auth_mechanisms = plain        # optional: login

#!include auth-master.conf.ext  # disable
!include auth-passwdfile.conf.ext
  • /etc/dovecot/conf.d/10-logging.conf
log_path = /var/log/dovecot

auth_debug = yes    #  for debugging only
mail_debug = yes    #
verbose_ssl = yes   #



touch /var/log/dovecot
chown vmail:vmail /var/log/dovecot
chmod 660