dovecot on openSUSE 11.4

嗯?dovecot是干嘛的?忘了……

反正imap pop这些协议就是它管的,配置很简单

--- dovecot.conf.org	2011-03-20 06:22:22.000000000 +0000
+++ dovecot.conf	2011-03-20 06:30:58.000000000 +0000
@@ -21,7 +21,7 @@
 
 # Protocols we want to be serving: imap imaps pop3 pop3s managesieve
 # If you only want to use dovecot-auth, you can set this to "none".
-#protocols = imap imaps
+protocols = pop3s
 
 # A space separated list of IP or host addresses where to listen in for
 # connections. "*" listens in all IPv4 interfaces. "[::]" listens in all IPv6
@@ -90,14 +90,14 @@
 #ssl_listen =
 
 # SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>
-ssl = no
+ssl = yes
 
 # 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/dovecot.pem
-#ssl_key_file = /etc/ssl/private/dovecot.pem
+ssl_cert_file = /etc/dovecot/cert.pem
+ssl_key_file = /etc/dovecot/key.pem
 
 # If key file is password protected, give the password here. Alternatively
 # give it when starting dovecot with -p parameter. Since this file is often
@@ -1105,7 +1105,7 @@
   #ssl_username_from_cert = no
 
   # It's possible to export the authentication interface to other programs:
-  #socket listen {
+  socket listen {
     #master {
       # Master socket provides access to userdb information. It's typically
       # used to give Dovecot's local delivery agent access to userdb so it
@@ -1116,14 +1116,18 @@
       #user = 
       #group = 
     #}
-    #client {
+    client {
+	path=/var/spool/postfix/private/auth
+	mode=0660
+	user=postfix
+	group=postfix
       # 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 = /var/run/dovecot/auth-client
       #mode = 0660
-    #}
-  #}
+    }
+  }
 }
 
 # If you wish to use another authentication server than dovecot-auth, you can
updatedupdated2022-02-222022-02-22