protocols = imap imaps login_process_size = 128 login_user = dovecot mail_max_userip_connections = 128 mail_location = maildir:/var/vmail/%d/%n namespace private { separator = . prefix = INBOX. inbox = yes } namespace private { separator = . prefix = hidden = yes } mail_privileged_group = postfix verbose_proctitle = yes version_ignore = yes first_valid_uid = 189 first_valid_gid = 189 #umask = 0077 mbox_read_locks = fcntl mbox_write_locks = fcntl ssl_cert_file = /etc/ssl/certs/dovecot.pem ssl_key_file = /etc/ssl/private/dovecot.pem # If key file is password protected, give the password here. Alternatively # give it when starting dovecot with -p parameter. ssl_key_password = protocol imap { listen = *, [::] ssl_listen = *, [::] imap_client_workarounds = delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep mail_plugins = antispam } protocol lda { postmaster_address = postmaster@internationalconspiracy.org sendmail_path = /usr/local/sbin/sendmail } auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@ auth_debug = no auth_verbose = no auth default { socket listen { client { # Assuming the default Postfix $queue_directory setting path = /var/spool/postfix/private/auth mode = 0660 # Assuming the default Postfix user and group user = postfix group = postfix } } passdb sql { args = /usr/local/etc/dovecot-mysql.conf } userdb sql { args = /usr/local/etc/dovecot-mysql.conf } } plugin { antispam_signature = X-DSPAM-Signature # semicolon-separated list of Trash folders (default unset i.e. none) # antispam_trash = antispam_trash = trash;Trash;Deleted Items # semicolon-separated list of spam folders antispam_spam = SPAM;Junk;JUNK;.Junk;.JUNK;.Spam;spam;Spam # semicolon-separated list of unsure folders (default unset i.e. none) # antispam_unsure = # Whether to allow APPENDing to SPAM folders or not. Must be set to # "yes" (case insensitive) to be activated. Before activating, please # read the discussion below. antispam_allow_append_to_spam = yes ########################### # BACKEND SPECIFIC OPTIONS # #=================== # dspam-exec plugin # dspam binary antispam_dspam_binary = /usr/local/bin/dspam # semicolon-separated list of extra arguments to dspam # (default unset i.e. none) # antispam_dspam_args = antispam_dspam_args = --deliver=;--user;vscan # % expansion done by dovecot # antispam_dspam_args = --mode=teft #===================== # mail sending plugin # # Because of the way this plugin works, you can also use it # to train via an arbitrary program that receives the message # on standard input, in that case you can use the config # options antispam_mail_spam and antispam_mail_notspam for # the argument that distinguishes between ham and spam. # For example: # antispam_mail_sendmail = /path/to/mailtrain # antispam_mail_sendmail_args = --for;%u # antispam_mail_spam = --spam # antispam_mail_notspam = --ham # will call it, for example, like this: # /path/to/mailtrain --for jberg --spam # temporary directory # antispam_mail_tmpdir = /tmp # spam/not-spam addresses (default unset which will give errors) # antispam_mail_spam = # antispam_mail_notspam = # sendmail binary # antispam_mail_sendmail = /usr/sbin/sendmail # antispam_mail_sendmail_args = -f;%u@example.com # % expansion done by dovecot #=================== # crm114-exec plugin # mailreaver binary antispam_crm_binary = /usr/local/bin/crm # semicolon-separated list of extra arguments to dspam # (default unset i.e. none) # antispam_crm_args = # antispam_crm_args = --config=/path/to/config }