Mon, 28 Jan 2013 17:37:18 +0100
Correct socket error reporting improvement with IPv6 portable code,
after helpful recommendation by Saúl Ibarra Corretgé on OSips devlist.
michael@238 | 1 | ## |
michael@238 | 2 | ## dovecot.conf -- Dovecot server configuration |
michael@238 | 3 | ## |
michael@238 | 4 | |
michael@608 | 5 | protocols = imap pop3 sieve |
michael@238 | 6 | |
michael@608 | 7 | service imap-login { |
michael@608 | 8 | protocol = imap |
michael@608 | 9 | inet_listener imap { |
michael@608 | 10 | address = 127.0.0.1 |
michael@608 | 11 | port = 143 |
michael@608 | 12 | } |
michael@608 | 13 | inet_listener imaps { |
michael@608 | 14 | address = 127.0.0.1 |
michael@608 | 15 | port = 993 |
michael@608 | 16 | } |
michael@608 | 17 | client_limit = 256 |
michael@608 | 18 | process_limit = 128 |
michael@608 | 19 | process_min_avail = 4 |
michael@608 | 20 | user = @l_musr@ |
michael@608 | 21 | } |
michael@608 | 22 | |
michael@608 | 23 | service pop3-login { |
michael@608 | 24 | protocol = pop3 |
michael@608 | 25 | inet_listener pop3 { |
michael@608 | 26 | address = 127.0.0.1 |
michael@608 | 27 | port = 110 |
michael@608 | 28 | } |
michael@608 | 29 | inet_listener pop3s { |
michael@608 | 30 | address = 127.0.0.1 |
michael@608 | 31 | port = 995 |
michael@608 | 32 | } |
michael@608 | 33 | client_limit = 256 |
michael@608 | 34 | process_limit = 128 |
michael@608 | 35 | process_min_avail = 4 |
michael@608 | 36 | user = @l_musr@ |
michael@608 | 37 | } |
michael@608 | 38 | |
michael@608 | 39 | service managesieve-login { |
michael@608 | 40 | protocol = sieve |
michael@608 | 41 | inet_listener sieve { |
michael@608 | 42 | address = 127.0.0.1 |
michael@608 | 43 | port = 4190 |
michael@608 | 44 | } |
michael@608 | 45 | client_limit = 256 |
michael@608 | 46 | process_limit = 128 |
michael@608 | 47 | process_min_avail = 4 |
michael@608 | 48 | user = @l_musr@ |
michael@608 | 49 | } |
michael@608 | 50 | |
michael@608 | 51 | service auth { |
michael@608 | 52 | unix_listener auth-master { |
michael@608 | 53 | mode = 0660 |
michael@608 | 54 | } |
michael@608 | 55 | unix_listener auth-client { |
michael@608 | 56 | mode = 0660 |
michael@608 | 57 | } |
michael@608 | 58 | unix_listener auth-userdb { |
michael@608 | 59 | mode = 0660 |
michael@608 | 60 | } |
michael@238 | 61 | } |
michael@238 | 62 | |
michael@238 | 63 | ssl = yes |
michael@608 | 64 | ssl_ca = <@l_prefix@/etc/x509/example-ca.crt.pem |
michael@608 | 65 | ssl_cert = <@l_prefix@/etc/x509/example-server.crt.pem |
michael@608 | 66 | ssl_key = <@l_prefix@/etc/x509/example-server.key.pem |
michael@238 | 67 | |
michael@608 | 68 | mail_location = mbox:~/.mail:INBOX=~/.mail/inbox:INDEX=~/.mail |
michael@238 | 69 | mail_uid = @l_rusr@ |
michael@238 | 70 | mail_gid = @l_rusr@ |
michael@238 | 71 | mail_privileged_group = @l_rusr@ |
michael@238 | 72 | mbox_read_locks = fcntl |
michael@238 | 73 | mbox_write_locks = fcntl |
michael@238 | 74 | |
michael@608 | 75 | plugin { |
michael@608 | 76 | sieve_dir = ~/.mail/.sieve |
michael@608 | 77 | sieve = ~/.mail/.sieve.active |
michael@608 | 78 | } |
michael@608 | 79 | |
michael@238 | 80 | auth_realms = example.com |
michael@238 | 81 | auth_verbose = yes |
michael@238 | 82 | disable_plaintext_auth = no |
michael@238 | 83 | |
michael@608 | 84 | auth_mechanisms = plain login |
michael@238 | 85 | auth_debug = no |
michael@238 | 86 | auth_debug_passwords = no |
michael@238 | 87 | mail_debug = no |
michael@238 | 88 | verbose_ssl = no |
michael@238 | 89 | |
michael@608 | 90 | default_login_user = @l_musr@ |
michael@608 | 91 | default_internal_user = @l_rusr@ |
michael@608 | 92 | |
michael@238 | 93 | protocol lda { |
michael@238 | 94 | postmaster_address = postmaster |
michael@238 | 95 | } |
michael@238 | 96 | |
michael@608 | 97 | passdb { |
michael@608 | 98 | driver = passwd |
michael@238 | 99 | } |
michael@238 | 100 | |
michael@608 | 101 | userdb { |
michael@608 | 102 | driver = passwd |
michael@608 | 103 | } |
michael@608 | 104 |