Dovecot+lmtp+LDAP: differenze tra le versioni

Da Emigar.
Jump to navigation Jump to search
 
(Una versione intermedia di uno stesso utente non è mostrata)
Riga 1: Riga 1:
=Configurazione di Dovecot come backend di posta alimentato solo da lmtp con utenti solo LDAP=
=Configurazione di Dovecot come backend di posta alimentato solo da lmtp con utenti solo LDAP=


<code>
<pre>
# 2.0.19: /etc/dovecot/dovecot.conf
# 2.0.19: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-53-generic x86_64 Ubuntu 12.04.3 LTS reiserfs
# OS: Linux 3.2.0-53-generic x86_64 Ubuntu 12.04.3 LTS reiserfs
Riga 12: Riga 12:
mail_privileged_group = mail
mail_privileged_group = mail
managesieve_notify_capability = mailto
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
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
passdb {
passdb {
args = /etc/dovecot/dovecot-ldap-passdb.conf
args = /etc/dovecot/dovecot-ldap-passdb.conf
driver = ldap
driver = ldap
}
}

postmaster_address = postmaster@ic-cittastudi.it
userdb {
args = /etc/dovecot/dovecot-ldap-userdb.conf
driver = ldap
}

postmaster_address = postmaster@bubba.it
protocols = imap lmtp
protocols = imap lmtp
service anvil {
service anvil {
Riga 56: Riga 63:
ssl_cert = </etc/dovecot/dovecot.pem
ssl_cert = </etc/dovecot/dovecot.pem
ssl_key = </etc/dovecot/dovecot.pem
ssl_key = </etc/dovecot/dovecot.pem

userdb {
args = /etc/dovecot/dovecot-ldap-userdb.conf
driver = ldap
}
protocol imap {
protocol imap {
imap_client_workarounds =
imap_client_workarounds =
Riga 69: Riga 73:
info_log_path = /tmp/lda_info.log
info_log_path = /tmp/lda_info.log
log_path = /tmp/lda_err.log
log_path = /tmp/lda_err.log
postmaster_address = maildelivery@ic-cittastudi.it
postmaster_address = maildelivery@bubba.it
}
}
protocol lmtp {
protocol lmtp {
Riga 76: Riga 80:
}
}


</code>
</pre>


[[Categoria:OpenSource]]
[[Categoria:OpenSource]]
[[Categoria:E-Mail]]

Versione attuale delle 15:54, 10 nov 2022

Configurazione di Dovecot come backend di posta alimentato solo da lmtp con utenti solo LDAP

# 2.0.19: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-53-generic x86_64 Ubuntu 12.04.3 LTS reiserfs
auth_username_format = %Lu
disable_plaintext_auth = no
listen = *
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_location = maildir:/mail/mdir/%Ln
mail_max_userip_connections = 40
mail_privileged_group = mail
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
passdb {
  args = /etc/dovecot/dovecot-ldap-passdb.conf
  driver = ldap
}

userdb {
  args = /etc/dovecot/dovecot-ldap-userdb.conf
  driver = ldap
}

postmaster_address = postmaster@bubba.it
protocols = imap lmtp
service anvil {
  client_limit = 1803
}
service auth {
  unix_listener auth-master {
    group = Debian-exim
    mode = 0666
    user = Debian-exim
  }
  user = root
}
service imap-login {
  process_limit = 600
}
service imap {
  process_limit = 1024
}
service lmtp {
  inet_listener lmtp {
    address = 127.0.0.1 ::1
    port = 24
  }
}
service managesieve-login {
  process_limit = 600
}
service managesieve {
  process_limit = 1024
}
service pop3-login {
  process_limit = 600
}
service pop3 {
  process_limit = 1024
}
ssl_cert = </etc/dovecot/dovecot.pem
ssl_key = </etc/dovecot/dovecot.pem

protocol imap {
  imap_client_workarounds = 
}
protocol pop3 {
  pop3_uidl_format = %08Xu%08Xv
}
protocol lda {
  info_log_path = /tmp/lda_info.log
  log_path = /tmp/lda_err.log
  postmaster_address = maildelivery@bubba.it
}
protocol lmtp {
  info_log_path = /tmp/lmtp_info.log
  log_path = /tmp/lmtp_err.log
}