Meine kleine Dokumentation

Die Installationsdokumentation zu MeineKleineFarm.net

Benutzer-Werkzeuge

Webseiten-Werkzeuge


dovecot_installation

Dies ist eine alte Version des Dokuments!


startSectionEdit: $data "section" is NOT an array! One of your plugins needs an update.
startSectionEdit: $data "section" is NOT an array! One of your plugins needs an update.
startSectionEdit: $data "section" is NOT an array! One of your plugins needs an update.
startSectionEdit: $data "section" is NOT an array! One of your plugins needs an update.
startSectionEdit: $data "section" is NOT an array! One of your plugins needs an update.
startSectionEdit: $data "section" is NOT an array! One of your plugins needs an update.
startSectionEdit: $data "section" is NOT an array! One of your plugins needs an update.
startSectionEdit: $data "section" is NOT an array! One of your plugins needs an update.

Dovecot

Baustelle / Work in Progress

apt install -t jessie-backports dovecot-core dovecot-imapd dovecot-lmtpd -y
cp -arf /etc/dovecot/conf.d/ /etc/dovecot/conf.d.BAK
 
cd /etc/dovecot/conf.d
nano 10-mail.conf

10-mail.conf

10-mail.conf

  • mail_location = maildir:/var/mail/vhosts/%d/%n


mkdir -p /var/mail/vhosts/meinekleinefarm.net
mkdir -p /var/mail/vhosts/mgs-ullrich.de
 
#groupadd -g 5000 vmail
#useradd -r -g vmail -u 5000 vmail -d /var/mail/vhosts -c "Dovecot virtual mail user"
#chown -R vmail:vmail /var/mail/vhosts/
chown -R mail:mail /var/mail/vhosts/
 
nano 10-master.conf

10-master.conf

10-master.conf

  • service imap-login {
      inet_listener imap {
        #port = 143
      }
      inet_listener imaps {
        port = 993
        ssl = yes
      }
     
    service lmtp {
      unix_listener /var/spool/postfix/private/dovecot-lmtp {
        group = postfix
        user = postfix
        mode = 0666
      }
     
    service auth {
      # Postfix smtp-auth
      unix_listener /var/spool/postfix/private/auth {
        mode = 0666
        user = postfix
        group = postfix
      }


nano 10-auth.conf

10-auth.conf

10-auth.conf

  • disable_plaintext_auth = yes
    # Today however many people use SSL/TLS, and there's no problem with sending unencrypted password inside SSL secured connections.
    auth_mechanisms = plain login
     
    #!include auth-system.conf.ext
    #!include auth-sql.conf.ext
    #!include auth-ldap.conf.ext
    !include auth-passwdfile.conf.ext
    #!include auth-checkpassword.conf.ext
    #!include auth-vpopmail.conf.ext
    #!include auth-static.conf.ext


nano auth-passwdfile.conf.ext

auth-passwdfile.conf.ext

auth-passwdfile.conf.ext

  • # Authentication for passwd-file users. Included from 10-auth.conf.
    #
    # passwd-like file with specified location.
    # <doc/wiki/AuthDatabase.PasswdFile.txt>
     
    passdb {
      driver = passwd-file
      args = scheme=SHA512-CRYPT username_format=%u /etc/dovecot/dovecot-users
    }
     
    userdb {
      driver = static
      args = uid=mail gid=mail home=/var/mail/vhosts/%d/%n
    }


doveadm pw -l
doveadm pw -s SHA512-CRYPT
nano ../dovecot-users

dovecot-users

dovecot-users

  • #meinekleinefarm.net
    xenadmin@meinekleinefarm.net:{SHA512-CRYPT}$6$XYZxyzXYZxyzXYZxyzXYZxyzXYZxyzXYZxyzXYZxyzXYZxyzXYZxyzXYZxyz
     
    #mgs-ullrich.de
    example@mgs-ullrich.de:{SHA512-CRYPT}$6$XYZxyzXYZxyzXYZxyzXYZxyzXYZxyzXYZxyzXYZxyzXYZxyzXYZxyzXYZxyz


nano 

10-ssl.conf

10-ssl.conf

  •  


nano 

123

123

  •  


nano 

123

123

  •  


dovecot_installation.1478724201.txt.gz · Zuletzt geändert: 2016/11/09 20:43 von xenadmin