Erinevus lehekülje "Dovecot" redaktsioonide vahel
Allikas: Kuutõrvaja
(Uus lehekülg: 'Lihtne kuid võimekas ja kiirelt arenev imap ja pop3 server mis toetab nii mbox kui maildir formaati ja samuti ssl krüpteerimist ja autentimist Järgnevatt näidis seadistusfail d…') |
|||
8. rida: | 8. rida: | ||
protocols = imap imaps | protocols = imap imaps | ||
− | + | protocol imap { | |
− | + | listen = *:143 | |
− | + | ssl_listen = *:993 | |
− | + | } | |
disable_plaintext_auth = no | disable_plaintext_auth = no | ||
22. rida: | 22. rida: | ||
first_valid_gid = 0 | first_valid_gid = 0 | ||
mail_cache_fields = flags, date.sent, date.received, size.virtual, size.physical, mime.parts, imap.body, imap.bodystructure | mail_cache_fields = flags, date.sent, date.received, size.virtual, size.physical, mime.parts, imap.body, imap.bodystructure | ||
+ | |||
+ | protocol imap { | ||
+ | imap_client_workarounds = delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep | ||
+ | } | ||
+ | auth default { | ||
+ | mechanisms = plain login | ||
+ | passdb pam { | ||
+ | } | ||
+ | userdb passwd { | ||
+ | } | ||
− | + | socket listen { | |
− | + | client { | |
+ | path = /var/spool/postfix/private/auth | ||
+ | mode = 0660 | ||
+ | user = postfix | ||
+ | group = postfix | ||
+ | } | ||
} | } | ||
− | + | } | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Redaktsioon: 10. oktoober 2009, kell 16:40
Lihtne kuid võimekas ja kiirelt arenev imap ja pop3 server mis toetab nii mbox kui maildir formaati ja samuti ssl krüpteerimist ja autentimist
Järgnevatt näidis seadistusfail dovecotist kus kasutatakse nii imap kui imaps ehk siis plaintext ja ssl krüpteeritud imapi ühendusi ja autenditakse vastu pam'i ehk kasutatase passwd faili
protocols = imap imaps protocol imap { listen = *:143 ssl_listen = *:993 } disable_plaintext_auth = no ssl_cert_file =/usr/local/certs/server.crt ssl_key_file = /usr/local/certs/server.key mail_location = mbox:~/mail/:INBOX=/var/mail/%u mail_privileged_group = mail verbose_proctitle = yes first_valid_gid = 0 mail_cache_fields = flags, date.sent, date.received, size.virtual, size.physical, mime.parts, imap.body, imap.bodystructure protocol imap { imap_client_workarounds = delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep } auth default { mechanisms = plain login passdb pam { } userdb passwd { } socket listen { client { path = /var/spool/postfix/private/auth mode = 0660 user = postfix group = postfix } } }
Vajalik on tekitada selfsigned sertifikaat ehk sisi failid
/usr/local/certs/server.crt /usr/local/certs/server.key