Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
informatique:reseau:messagerie:dovecot [2011/02/11 12:51] – créée bn8 | informatique:reseau:messagerie:dovecot [2014/06/20 15:56] (Version actuelle) – [Définition d'un compte master] bn8 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== Configurer Postfix pour utilise | + | ====== Dovecot ====== |
+ | |||
+ | |||
+ | ===== Configurer Postfix pour utiliser | ||
* Editer le fichier // | * Editer le fichier // | ||
flags=DRhu user=vmail: | flags=DRhu user=vmail: | ||
Ligne 8: | Ligne 11: | ||
< | < | ||
| | ||
+ | ===== Configurer Postfix pour utiliser l' | ||
+ | |||
+ | * Dans la configuration de dovecot (// | ||
+ | master { | ||
+ | # Master socket provides access to userdb information. It's typically | ||
+ | # used to give Dovecot' | ||
+ | # can find mailbox locations. | ||
+ | path = / | ||
+ | mode = 0600 | ||
+ | # Default user/group is the one who started dovecot-auth (root) | ||
+ | user = vmail | ||
+ | group = vmail | ||
+ | } | ||
+ | client { | ||
+ | # The client socket is generally safe to export to everyone. Typical use | ||
+ | # is to export it to your SMTP server so it can do SMTP AUTH lookups | ||
+ | # using it. | ||
+ | #path = / | ||
+ | path = / | ||
+ | mode = 0660 | ||
+ | user = postfix | ||
+ | group = postfix | ||
+ | } | ||
+ | }</ | ||
+ | |||
+ | * Dans la configuration de postfix (main.cf) :< | ||
+ | smtpd_sasl_auth_enable = yes | ||
+ | smtpd_sasl_security_options = noanonymous | ||
+ | smtpd_sasl_local_domain = $myhostname | ||
+ | smtpd_sasl_type = dovecot | ||
+ | smtpd_sasl_path = private/ | ||
+ | |||
+ | # Authentification seulement en ssl | ||
+ | smtpd_tls_auth_only = no | ||
+ | smtpd_tls_cert_file = / | ||
+ | smtpd_tls_key_file = / | ||
+ | smtpd_use_tls = yes</ | ||
+ | |||
+ | ===== Définition d'un compte master ===== | ||
+ | |||
+ | * Editer le fichier /// | ||
+ | * Définir le paramètre // | ||
+ | * Dé-commenter la ligne suivante : < | ||
+ | * Créé le fichier /// | ||
+ | * Adapté les droits du fichier : < | ||
+ | chown dovecot: / | ||
+ | * Redémarrer //Dovecot// pour activer ce nouveau compte | ||
+ | Pour utiliser ce compte master il suffira de se connecter avec le login //[user login]*[master login]// et le mot de passe du compte //master//. |