You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

53 lines
1.5 KiB

  1. # $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imapd/files/imapd.conf,v 1.5 2004/08/27 06:02:45 langthang Exp $
  2. # Don't forget to use chattr +S (if you are using ext[23])
  3. # when you change these directories (read the docs).
  4. configdirectory: /var/imap
  5. partition-default: /var/spool/imap
  6. sievedir: /var/imap/sieve
  7. tls_ca_path: /etc/ssl/certs
  8. tls_cert_file: /etc/ssl/cyrus/server.crt
  9. tls_key_file: /etc/ssl/cyrus/server.key
  10. # Don't use an everyday user as admin.
  11. admins: cyrus
  12. hashimapspool: yes
  13. allowanonymouslogin: no
  14. allowplaintext: no
  15. # Allow renaming of top-level mailboxes.
  16. #allowusermoves: yes
  17. # Use this if sieve-scripts could be in ~user/.sieve.
  18. #sieveusehomedir: yes
  19. # Use saslauthd if you want to use pam for imap.
  20. # But be warned: login with DIGEST-MD5 or CRAM-MD5
  21. # is not possible using pam.
  22. #sasl_pwcheck_method: saslauthd
  23. ####################################################
  24. ## This is a recommended authentication method if you
  25. ## emerge cyrus-sasl with 'postgres' or 'mysql'
  26. ## To use with mysql database uncomment those lines below.
  27. #sasl_pwcheck_method: auxprop
  28. #sasl_auxprop_plugin: sql
  29. ## possible values for sasl_auxprop_plugin 'mysql', 'pgsql', 'sqlite'.
  30. #sasl_sql_engine: mysql
  31. ## all possible values.
  32. #sasl_mech_list: LOGIN PLAIN CRAM-MD5 DIGEST-MD5 NTLM
  33. ## or limit to CRAM-MD5 only
  34. #sasl_mech_list: CRAM-MD5
  35. ## change below to suit your setup.
  36. sasl_sql_user: mailsqluser
  37. sasl_sql_passwd: password
  38. sasl_sql_database: mailsqldb
  39. sasl_sql_hostnames: localhost
  40. sasl_sql_select: SELECT clear FROM users WHERE email = '%u@%r'