diff dovecot-example.conf @ 4362:fde5c7704ee2 HEAD

Added protocol lda section and did some other cleanups
author Timo Sirainen <tss@iki.fi>
date Fri, 16 Jun 2006 12:49:23 +0300
parents 4e0890fa0bbe
children ed35a04c34fe
line wrap: on
line diff
--- a/dovecot-example.conf	Fri Jun 16 12:48:44 2006 +0300
+++ b/dovecot-example.conf	Fri Jun 16 12:49:23 2006 +0300
@@ -15,8 +15,7 @@
 # Base directory where to store runtime data.
 #base_dir = /var/run/dovecot/
 
-# Protocols we want to be serving:
-#  imap imaps pop3 pop3s
+# Protocols we want to be serving: imap imaps pop3 pop3s
 #protocols = imap imaps
 
 # IP or host address where to listen in for connections. It's not currently
@@ -180,7 +179,7 @@
 
 # Default MAIL environment to use when it's not set. By leaving this empty
 # dovecot tries to do some automatic detection as described in
-# doc/mail-storages.txt. There's a few special variables you can use, eg.:
+# doc/mail-storages.txt. There are a few special variables you can use, eg.:
 #
 #   %u - username
 #   %n - user part in user@domain, same as %u if there's no domain
@@ -400,7 +399,7 @@
 ## mbox-specific settings
 ##
 
-# Which locking methods to use for locking mbox. There's four available:
+# Which locking methods to use for locking mbox. There are four available:
 #  dotlock: Create <mailbox>.lock file. This is the oldest and most NFS-safe
 #           solution. If you want to use /var/mail/ like directory, the users
 #           will need write access to that directory.
@@ -605,6 +604,30 @@
 }
 
 ##
+## LDA specific settings
+##
+
+protocol lda {
+  # Address from LDA should send MDNs like out of quota
+  postmaster_address = postmaster@your.dom
+
+  # Hostname to show in mail headers. Default is the system's
+  # real hostname.
+  #hostname = 
+
+  # Support for dynamically loadable plugins. mail_plugins is a space separated
+  # list of plugins to load.
+  #mail_plugins = 
+  #mail_plugin_dir = /usr/lib/dovecot/imap
+
+  # Binary to use for sending mails.
+  #sendmail_path = /usr/lib/sendmail
+
+  # UNIX socket path to master authentication server to find users.
+  #auth_socket_path = /var/run/dovecot-auth-master
+}
+
+##
 ## Authentication processes
 ##
 
@@ -708,6 +731,7 @@
   # If the user is found from that database, authentication will fail.
   # The deny passdb should always be specified before others, so it gets
   # checked first. Here's an example:
+
   #passdb passwd-file {
     # File contains a list of usernames, one per line
     #args = /etc/dovecot.deny
@@ -721,7 +745,7 @@
   # REMEMBER: You'll need /etc/pam.d/dovecot file created for PAM
   # authentication to actually work.
   passdb pam {
-    # [session=yes] [setcred=yes] [cache_key=<key>] [<service name>]
+    #  [session=yes] [setcred=yes] [cache_key=<key>] [<service name>]
     #
     # session=yes makes Dovecot open and immediately close PAM session. Some
     # PAM plugins need this to work, such as pam_mkhomedir.
@@ -914,6 +938,10 @@
 #  }
 #}
 
+##
+## Plugin settings
+##
+
 plugin {
   # Here you can give some extra environment variables to mail processes.
   # This is mostly meant for passing parameters to plugins. %variable