Mercurial > dovecot > original-hg > dovecot-1.2
diff dovecot-example.conf @ 1055:a72bba3f8a55 HEAD
Rewrote setting handling. Changed some existing settings also since POP3
support required changes anyway. POP3 seems to be really working now :)
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 30 Jan 2003 19:59:31 +0200 |
parents | 299f59fb9ff4 |
children | 4abeb0fa0fe7 |
line wrap: on
line diff
--- a/dovecot-example.conf Thu Jan 30 19:56:19 2003 +0200 +++ b/dovecot-example.conf Thu Jan 30 19:59:31 2003 +0200 @@ -9,32 +9,32 @@ # Base directory where to store runtime data. #base_dir = /var/run/dovecot/ -# Port to listen in for IMAP connections. This port is used for TLS -# connections as well. Setting it to 0 disables it. -#imap_port = 143 +# Protocols we want to be serving: +# imap imaps pop3 pop3s +#protocols = imap imaps -# Port to listen in for SSL IMAP connections. Setting it to 0 disables it. -#imaps_port = 993 - -# IP or host address where to listen in for IMAP connections. It's not +# IP or host address where to listen in for connections. It's not currently # possible to specify multiple addresses. "*" listens in all IPv4 interfaces. -# "::" listens in all IPv6 interfaces, but may also listen in all IPv4 -# interfaces depending on the operating system. +# "[::]" listens in all IPv6 interfaces, but may also listen in all IPv4 +# interfaces depending on the operating system. You can specify ports with +# "host:port". #imap_listen = * +#pop3_listen = * -# IP or host address where to listen in for SSL IMAP connections. Defaults -# to imap_listen if not specified. +# IP or host address where to listen in for SSL connections. Defaults +# to above non-SSL equilevants if not specified. #imaps_listen = +#pop3s_listen = -# Disable SSL support. +# Disable SSL/TLS support. #ssl_disable = no # PEM encoded X.509 SSL/TLS certificate and private key. They're opened before # dropping root privileges, so keep the key file unreadable by anyone but # root. Included doc/mkcert.sh can be used to easily generate self-signed # certificate, just make sure to update the domains in dovecot-openssl.cnf -#ssl_cert_file = /etc/ssl/certs/imapd.pem -#ssl_key_file = /etc/ssl/private/imapd.pem +#ssl_cert_file = /etc/ssl/certs/dovecot.pem +#ssl_key_file = /etc/ssl/private/dovecot.pem # SSL parameter file. Master process generates this file for login processes. # It contains Diffie Hellman and RSA parameters. @@ -60,37 +60,44 @@ #log_timestamp = %b %d %H:%M:%S ## -## Login process +## Login processes ## +# Directory where authentication process places authentication UNIX sockets +# which login needs to be able to connect to. The sockets are created when +# running as root, so you don't have to worry about permissions. +#login_dir = /var/run/dovecot/login + +# chroot login process to the login_dir. Only reason not to do this is if you +# wish to run the whole Dovecot without roots. +#login_chroot = yes + + +## +## IMAP login process +## + +login = imap + # Executable location. #login_executable = /usr/libexec/dovecot/imap-login -# User to use for imap-login process. The user must belong to a group -# where only it has access, it's used to control access for authentication -# process named sockets. -#login_user = imapd +# User to use for the login process. The user must belong to a group where +# only it has access, it's used to control access for authentication process +# named sockets. +#login_user = dovecot # Set max. process size in megabytes. If you don't use # login_process_per_connection you might need to grow this. #login_process_size = 16 -# Directory where imap-auth places authentication UNIX sockets which login -# needs to be able to connect to. The sockets are created when running as -# root, so you don't need to give imap-auth any access for it. -#login_dir = /var/run/dovecot/login - -# chroot imap-login process to the login_dir. Only reason not to do this -# is if you wish to run the whole imapd without roots. -#login_chroot = yes - # Should each login be processed in it's own process (yes), or should one # login process be allowed to process multiple connections (no)? Yes is more # secure, espcially with SSL/TLS enabled. No is faster since there's no need # to create processes all the time. #login_process_per_connection = yes -# Number of imap-login processes to create. If login_process_per_user is +# Number of login processes to create. If login_process_per_user is # yes, this is the number of extra processes waiting for users to log in. #login_processes_count = 3 @@ -109,27 +116,32 @@ #max_logging_users = 256 ## -## IMAP process +## POP3 login process ## -# Executable location -#imap_executable = /usr/libexec/dovecot/imap +# Settings default to same as above, so you don't have to set anything +# unless you want to override them. + +login = pop3 + +# Exception to above rule being the executable location. +#login_executable = /usr/libexec/dovecot/pop3-login -# Set max. process size in megabytes. Most of the memory goes to mmap()ing -# files, so it shouldn't harm much even if this limit is set pretty high. -#imap_process_size = 256 +## +## Mail processes +## -# Maximum number of running imap processes. When this limit is reached, +# Maximum number of running mail processes. When this limit is reached, # new users aren't allowed to log in. -#max_imap_processes = 1024 +#max_mail_processes = 1024 # Show more verbose process titles (in ps). Currently shows user name and # IP address. Useful for seeing who are actually using the IMAP processes # (eg. shared mailboxes or if same uid is used for multiple accounts). #verbose_proctitle = no -# Valid UID/GID ranges for imap users, defaults to 500 and above. -# Note that denying root logins is hardcoded to imap-master binary and +# Valid UID/GID ranges for users, defaults to 500 and above. +# Note that denying root logins is hardcoded to dovecot-master binary and # can't be done even if first_valid_uid is set to 0. #first_valid_uid = 500 #last_valid_uid = 0 @@ -137,7 +149,7 @@ #first_valid_gid = 1 #last_valid_gid = 0 -# ':' separated list of directories under which chrooting is allowed for imap +# ':' separated list of directories under which chrooting is allowed for mail # processes (ie. /var/mail will allow chrooting to /var/mail/foo/bar too). # This setting doesn't affect login_chroot or auth_chroot variables. # WARNING: Never add directories here which local users can modify, that @@ -257,6 +269,28 @@ #umask = 0077 ## +## IMAP process +## + +# Executable location +#imap_executable = /usr/libexec/dovecot/imap + +# Set max. process size in megabytes. Most of the memory goes to mmap()ing +# files, so it shouldn't harm much even if this limit is set pretty high. +#imap_process_size = 256 + +## +## POP3 process +## + +# Executable location +#pop3_executable = /usr/libexec/dovecot/pop3 + +# Set max. process size in megabytes. Most of the memory goes to mmap()ing +# files, so it shouldn't harm much even if this limit is set pretty high. +#pop3_process_size = 256 + +## ## Authentication processes ## @@ -302,7 +336,7 @@ auth_passdb = pam # Executable location -#auth_executable = /usr/libexec/dovecot/imap-auth +#auth_executable = /usr/libexec/dovecot/dovecot-auth # Set max. process size in megabytes. #auth_process_size = 256