PLAIN Auth

Matthias Döring matthias.doering at mldsc.de
Sa Feb 25 19:57:36 CET 2017


Hi,

Ich hab da ein kleines Problem.

Alle meine User holen Ihre E-Mails via CRAM-MD5 oder Digest-MD5 ab.

Allerdings muss Ich so eine tolle Software supporten die kann nur PLAIN.
Ach ja TLS kann Sie auch inzwischen :D

Ist es möglich ein Connector zu konfigurieren der PLAIN zulässt,
allerdings sollte nur eine IP-Adresse die Möglichkeit haben so E-Mail
abzuholen. Die Software ist natürlich via VPN angebunden.


doveconf -n    

# 2.2.18: /etc/dovecot/dovecot.conf

# Pigeonhole version 0.4.8 (0c4ae064f307+)

# OS: Linux 4.4.0-64-generic x86_64 Ubuntu 14.04.5 LTS ext4

auth_mechanisms = digest-md5 cram-md5

log_timestamp = "%Y-%m-%d %H:%M:%S "

login_log_format_elements = user=<%u> method=%m rip=%r mpid=%e %c %k session=<%{session}>

mail_location = maildir:/srv/vmail/%d/%n/Maildir

mail_plugins = zlib quota notify mail_log

managesieve_notify_capability = mailto

managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate

namespace inbox {

  inbox = yes

  location = 

  mailbox Drafts {

    auto = subscribe

    special_use = \Drafts

  }

  mailbox Sent {

    auto = subscribe

    special_use = \Sent

  }

  mailbox Trash {

    auto = subscribe

    special_use = \Trash

  }

  prefix = 

  separator = /

  subscriptions = yes

  type = private

}

passdb {

  args = /etc/dovecot/dovecot-sql.conf.ext

  driver = sql

}

plugin {

  quota = maildir:User quota:ignoreunlimited:noenforcing

  quota_exceeded_message = Quota überschritten bei weitere Fragen wende dich bitte an postmaster at example.com

  quota_grace = 10%%

  quota_rule = *:storage=1G

  quota_rule2 = INBOX:messages=+10K

  quota_rule3 = INBOX/Trash:storage=+125M

  quota_rule4 = INBOX/Sent:ignore

  quota_rule5 = INBOX/Archiv:storage=+25%%

  quota_status_nouser = DUNNO

  quota_status_overquota = 552 5.2.2 Mailbox is over quota / Mailbox ist voll

  quota_status_success = DUNNO

  quota_warning = storage=100%% quota-warning 100 %u

  quota_warning2 = storage=95%% quota-warning 95 %u

  quota_warning3 = storage=80%% quota-warning 80 %u

  sieve = file:~/sieve;active=~/.dovecot.sieve

  sieve_global = /var/lib/dovecot/sieve/global/

  zlib_save = gz

  zlib_save_level = 6

}

postmaster_address = postmaster at example.com

protocols = " imap lmtp sieve pop3"

service auth {

  inet_listener {

    address = 127.0.0.1

    port = 3659

  }

  unix_listener auth-userdb {

    group = vmail

    user = vmail

  }

}

service lmtp {

  inet_listener lmtp {

    address = 127.0.0.1

    port = 24

  }

}

service managesieve-login {

  inet_listener sieve {

    port = 4190

  }

}

service quota-status {

  client_limit = 1

  executable = quota-status -p postfix

  inet_listener {

    address = 127.0.0.1

    port = 10000

  }

}

ssl = required

ssl_cert = </etc/letsencrypt/live/mail.example.com/fullchain.pem

ssl_cipher_list = EECDH+ECDSA+AESGCM:EECDH+aRSA+AESGCM:EECDH+ECDSA+SHA384:EECDH+ECDSA+SHA256:EECDH+aRSA+SHA384:EECDH+aRSA+SHA256:EECDH+aRSA+RC4:EECDH:EDH+aRSA:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS:!RC4

ssl_dh_parameters_length = 4096

ssl_key = </etc/letsencrypt/live/mail.example.com/privkey.pem

userdb {

  args = /etc/dovecot/dovecot-sql.conf.ext

  driver = sql

}

verbose_proctitle = yes

protocol lmtp {

  mail_plugins = zlib quota notify mail_log sieve

}

protocol imap {

  mail_plugins = zlib quota notify mail_log imap_quota

}



-- 
Mit freundlichen Grüßen 

Matthias Döring




Mehr Informationen über die Mailingliste Dovecot