# # # Sample configurations file for Cyrus IMAPd # Most lines in this file are commented; in this case the default is used. # The commented lines (usually) contain the default value # The pathname of the IMAP configuration directory # configdirectory: /expert/correo/imap # The partition name used by default for new mailboxes # defaultpartition: expert4 # The directory for the different partitions # partition-default: /expert/correo/spool/imap partition-expert2: /expert2/correo/spool/imap partition-expert3: /expert3/correo/spool/imap partition-expert4: /expert4/correo/spool/imap # Use the UNIX separator character '/' for delimiting levels of # mailbox hierarchy. The default is to use the netnews separator # character '.'. #unixhierarchysep: yes unixhierarchysep: yes # Use the alternate IMAP namespace, where personal folders reside at # the same level in the hierarchy as INBOX. # #altnamespace: yes altnamespace: yes # If using the alternate IMAP namespace, the prefix for the other # users namespace. The hierarchy delimiter will be automatically # appended. # #userprefix: Other Users # If using the alternate IMAP namespace, the prefix for the shared # namespace. The hierarchy delimiter will be automatically appended. # #sharedprefix: Shared Folders # The umask value used by various Cyrus IMAP programs # #umask: 077 # This is the hostname visible in the greeting messages of the POP, # IMAP and LMTP daemons. If it is unset, then the result returned from # gethostname(2) is used. # #servername: # Whether to allow anonymous logins # #allowanonymouslogin: no # Allow the use of cleartext passwords on the wire. # #allowplaintext: yes allowplaintext: yes # The percent of quota utilization over which the server generates # warnings. # #quotawarn: 90 quotawarn: 90 # The length of the IMAP server's inactivity autologout timer, in minutes. # The minimum value is 30, the default. # #timeout: 30 # The interval (in seconds) for polling the mailbox for changes while # running the IDLE command. This option is used when idled can not be # contacted or when polling is used exclusively. The minimum value is # 1. A value of 0 will disable polling (and disable IDLE if polling # is the only method available). # #imapidlepoll: 60 # If enabled, the server responds to an ID command with a parameter # list containing: version, vendor, support-url, os, os-version, # command, arguments, environment. Otherwise the server returns NIL. # #imapidresponse: yes imapidresponse: no serverinfo: no # Set the length of the POP server's inactivity autologout timer, in # minutes. The minimum value is 10, the default. # #poptimeout: 10 # Set the minimum amount of time the server forces users to wait between # successive POP logins, in minutes. The default is 0. # #popminpoll: 0 # The number of days advertised as being the minimum a message may be # left on the POP server before it is deleted (via the CAPA command, # defined in the POP3 Extension Mechanism, which some clients may # support). "NEVER", the default, may be specified with a negative # number. The Cyrus POP3 server never deletes mail, no matter what # the value of this parameter is. However, if a site implements a # less liberal policy, it needs to change this parameter accordingly. # #popexpiretime: 0 # The list of userids with administrative rights. Separate each userid # with a space. We recommend that administrator userids be separate from # standard userids. Sites using Kerberos authentication may use separate # "admin" instances. # #admins: admins: xxxxxx # A list of users and groups that are allowed to proxy for other # users, seperated by spaces. Any user listed in this will be allowed # to login for any other user: use with caution. # #proxyservers: # The Access Control List (ACL) placed on a newly-created (non-user) # mailbox that does not have a parent mailbox. # #defaultacl: anyone lrs defaultacl: cyrus lrswipcda # The pathname of the news spool directory. Only used if the partition-news # configuration option is set. # #newsspool: # Prefix to be prepended to newsgroup names to make the corresponding IMAP # mailbox names. # #newsprefix: # If set to a value of zero or higher, users have their INBOX folders # created upon a successful login event or upon lmtpd(8) message # delivery if autocreate_post is enabled, provided their INBOX did # not yet already exist. # # The user's quota is set to the value if it is greater than zero, # otherwise the user has unlimited quota. # # Note that quota is specified in kilobytes. # #autocreate_quota: -1 autocreate_quota: 5242880 # Include notations in the protocol telemetry logs indicating the number # of seconds since the last command or response. # #logtimestamps: no # Number of seconds to pause after a successful plaintext login. For systems # that support strong authentication, this permits users to perceive a cost # of using plaintext passwords. # #plaintextloginpause: 0 # The pathname of srvtab file containing the server's private key. # This option is passed to the SASL library and overrides its default # setting. # #srvtab: /etc/srvtab # The list of remote realms whose users may log in using cross-realm # authentications. Seperate each realm name by a space. This option is # only used when the server is compiled with Kerberos authentication. # #loginrealms: # If enabled, any authentication identity which has a rights on a user's # INBOX may log in as that user. This option is only used when the server # is compiled with Kerberos authentication. # #loginuseacl: no # If enabled, lmtpd attempts to only write one copy of a message per # partition and create hard links, resulting in a potentially large # disk savings. # #singleinstancestore: yes # If enabled, lmtpd will suppress delivery of a message to a mailbox # if a message with the same message-id (or resent-message-id) is # recorded as having already been delivered to the mailbox. Records # the mailbox and message-id/resent-message-id of all successful # deliveries. # #duplicatesuppression: yes # If enabled, lmtpd rejects messages with 8-bit characters in the # headers. Otherwise, 8-bit characters are changed to `X'. (A proper # soultion to non-ASCII characters in headers is offered by RFC 2047 # and its predecessors.) # #reject8bit: no # Maximum incoming LMTP message size. If set, lmtpd will reject # messages larger than maxmessagesize bytes. The default is to allow # messages of any size. # #maxmessagesize: maxmessagesize: 64428800 # Userid used to deliver messages to shared folders. For example, if # set to "bb", email sent to "bb+shared.blah" would be delivered to # the "shared.blah" folder. By default, an email address of # "+shared.blah" would be used. #postuser: # If enabled at compile time, this specifies a URL to reply when # Netscape asks the server where the mail administration HTTP server # is. The default is a site at CMU with a hopefully informative # message; administrators should set this to a local resource with # some information of greater use. # #netscapeurl: http://andrew2.andrew.cmu.edu/cyrus/imapd/netscapeadmin.html # Notifyd(8) method to use for "MAIL" notifications. If not set, # "MAIL" notifications are disabled. # #mailnotifier: # Notifyd(8) method to use for "SIEVE" notifications. If not set, # "SIEVE" notifications are disabled. # # This method is only used when no method is specified in the script. # #sievenotifier: # If enabled, lmtpd will look for Sieve scripts in user's home # directories: ~user/.sieve. # sieveusehomedir: false # If sieveusehomedir is false, this directory is searched for Sieve scripts. # The active Sieve script is s called "default", placed in the users sieve # sieve directory (ie. /expert/correo/imap/sieve/u/user). # sievedir: /expert/correo/imap/sieve # The pathname of the sendmail executable. Sieve uses sendmail for # sending rejections, redirects and vaca- tion responses. # #sendmail: /usr/sbin/sendmail # Username that is used as the 'From' address in rejection MDNs # produced by sieve. # #postmaster: postmaster # If enabled, the partitions will also be hashed, in addition to the hashing # done on configuration directories. This is recommended if one partition has # a very bushy mailbox tree. # #hashimapspool: false hashimapspool: true # Maximum size (in kilobytes) any sieve script can be, enforced at # submission by timsieved(8). # sieve_maxscriptsize: 32 # Maximum number of sieve scripts any user may have, enforced at # submission by timsieved(8). # sieve_maxscripts: 5 # The cyrusdb backend to use for mailbox annotations. # Allowed values: skiplist, twoskip # #annotation_db: twoskip # The cyrusdb backend to use for the duplicate delivery suppression # and sieve. # Allowed values: skiplist, sql, twoskip # #duplicate_db: twoskip # The cyrusdb backend to use for the mailbox list. # Allowed values: skiplist, twoskip # #mboxlist_db: twoskip # The cyrusdb backend to use for the pts cache. # Allowed values: skiplist, twoskip # #ptscache_db: twoskip # The cyrusdb backend to use for the seen state. # Allowed values: flat, skiplist, twoskip # #seenstate_db: twoskip # The cyrusdb backend to use for the imap status cache. # Allowed values: skiplist, sql, twoskip # #statuscache_db: twoskip # The cyrusdb backend to use for the subscriptions list. # Allowed values: flat, skiplist, twoskip # #subscription_db: flat # Maximum SSF (security strength factor) that the server will allow a # client to negotiate. # #sasl_maximum_layer: 256 # The minimum SSF that the server will allow a client to negotiate. A # value of 1 requires integrity protection; any higher value requires # some amount of encryption. # #sasl_minimum_layer: 0 # The mechanism used by the server to verify plaintext passwords. Possible # values include "auxprop" or "saslauthd" # sasl_pwcheck_method: auxprop # If enabled, the SASL library will automatically create authentication # secrets when given a plaintext password. See the SASL documentation. # #sasl_auto_transition: no # Whitespace separated list of mechanisms to allow (e.g. 'plain otp'). # Used to restrict the mechanisms to a subset of the installed # plugins. The default is all available. # #sasl_mech_list: cram-md5 digest-md5 sasl_mech_list: plain # Location of the opiekeys file # #sasl_opiekeys: /etc/opiekeys # File containing the global certificate used for ALL services (imap, # pop3, lmtp). # #tls_server_cert: # File containing the private key belonging to the global server # certificate. # #tls_server_key: # File containing one or more Certificate Authority (CA) certificates. # #tls_client_ca_file: # Path to directory with certificates of CAs. # #tls_client_ca_dir: # The cyrusdb backend to use for the TLS cache. # Allowed values: skiplist, sql, twoskip # #tls_sessions_db: twoskip # The length of time (in minutes) that a TLS session will be cached # for later reuse. The maximum value is 1440 (24 hours), the default. # A value of 0 will disable session caching. # #tls_session_timeout: 1440 # The right that a user needs to delete a mailbox. # #deleteright: c # Unix domain socket that lmtpd listens on, used by deliver(8). # lmtpsocket: /expert/correo/imap/socket/lmtp # Unix domain socket that idled listens on. # idlesocket: /expert/correo/imap/socket/idle # Unix domain socket that the new mail notification daemon listens on. # notifysocket: /expert/correo/imap/socket/notify # # EOF expunge_mode: delayed delete_mode: delayed deletedprefix: DELETED allowapop: 0 duplicatesuppression: no autocreate_inbox_folders: Borradores|Enviados|Papelera|Spam autocreate_subscribe_folders: Borradores|Enviados|Papelera|Spam # Turn on rfc6154 Special-Use Mailboxes specialusealways: 1 xlist-drafts: Borradores xlist-junk: Spam xlist-sent: Enviados xlist-trash: Papelera conversations: 1 search_engine: xapian search_index_headers: no search_batchsize: 8192 defaultsearchtier: t1 t1searchpartition-default: /expert/search t2searchpartition-default: /expert/search2 t3searchpartition-default: /expert/search3 t4searchpartition-default: /expert/search4 t1searchpartition-expert2: /expert2/search t2searchpartition-expert2: /expert2/search2 t3searchpartition-expert2: /expert2/search3 t4searchpartition-expert2: /expert2/search4 t1searchpartition-expert3: /expert3/search t2searchpartition-expert3: /expert3/search2 t3searchpartition-expert3: /expert3/search3 t4searchpartition-expert3: /expert3/search4 t1searchpartition-expert4: /expert4/search t2searchpartition-expert4: /expert4/search2 t3searchpartition-expert4: /expert4/search3 t4searchpartition-expert4: /expert4/search4 search_fuzzy_always: 1 ## para mover buzones entre particiones allowusermoves: 1 virtdomains: on defaultdomain: mx5c.sarenet.es #sasl_auxprop_plugin: sql sasl_password_format: crypt sasl_sql_engine: mysql sasl_sql_user: xxxx sasl_sql_passwd: xxxx sasl_sql_hostnames: xxxxxxxxxx sasl_sql_database: xxxxxxxx sasl_sql_select: select t1.clave from usuarios as t1, dominios as t2, servidores as t3 where t1.email = '%u@%r' AND t1.activo=1 AND t1.enmantenimiento=0 AND t1.id_dominio=t2.id AND t2.id_servidor=t3.id AND (t3.servidor='mx5c.sarenet.es' OR t3.servidor='mx6c.sarenet.es') sasl_sql_verbose: true lmtp_downcase_rcpt: on lmtp_over_quota_perm_failure: on ## PARA ESCLAVO TODO COMENTADO MENOS SYNC_LOG SYNC_LOG_CHANNELS CON SOLO SQUATTER Y UNSUPRESSABLE CHANNELS. PARA MAESTRO TAL CUAL. sync_authname: xxxxx sync_password: xxxxx sync_log: true sync_host: mx6c.sarenet.es ##sync_log_channels: squatter sync_log_channels: squatter amx6c sync_repeat_interval: 1 # PAREJA EN LA QUE REPLICAR amx6c_sync_host: mx6c.sarenet.es amx6c_shutdown_file: /expert/correo/amx6c_shutdown ###sync_log_unsuppressable_channels: squatter ### tls_cipher_list: TLSv1 :SSLv3 :SSLv2 : !DES : !LOW :@STRENGTH ### tls_ca_file: /usr/local/etc/server.pem ### tls_cert_file: /usr/local/etc/server.pem ### tls_key_file: /usr/local/etc/server.pem userdeny_db: flat