---
name: dovecot-antispam
version: 1.3_1,1
origin: mail/dovecot-antispam
comment: Dovecot plugin to train dspam about spam or false positives
arch: freebsd:9:x86:64
www: http://johannes.sipsolutions.net/Projects/dovecot-antispam
maintainer: dsh@wizard.volgograd.ru
prefix: /usr/local
licenselogic: single
flatsize: 30429
desc: |
  The dovecot antispam plugin watches a defined spam folder (defaults to
  "SPAM"). Instead of moving mail into special folders or forwarding
  them to special mail addresses for retraining, the plugin offers two
  actions for the user:

      1. moving mail out of the SPAM folder and

      2. moving mail into the SPAM folder.

  The dovecot plugin watches these actions (and additionally prohibits
  APPENDs to the SPAM folder, more for technical reasons than others)
  and tells the spam classifier that it made an error and needs to
  re-clas- sify the message (as spam/not spam depending on which way it
  was moved.)

  WWW: http://johannes.sipsolutions.net/Projects/dovecot-antispam
deps:
  libxml2: {origin: textproc/libxml2, version: 2.8.0_2}
  openldap-client: {origin: net/openldap24-client, version: 2.4.36}
  dovecot: {origin: mail/dovecot, version: 1.2.17}
  pkgconf: {origin: devel/pkgconf, version: 0.9.2_1}
  gettext: {origin: devel/gettext, version: 0.18.3}
  sqlite3: {origin: databases/sqlite3, version: 3.7.17_1}
  postgresql-client: {origin: databases/postgresql90-client, version: 9.0.13}
  mysql-client: {origin: databases/mysql55-client, version: 5.5.33}
  libiconv: {origin: converters/libiconv, version: 1.14_1}
categories:
- mail
options: {MAILTRAIN: off, DSPAM: on, DEBUG_VERBOSE: off, DEBUG: off}
files:
  /usr/local/lib/dovecot/imap/lib90_antispam_plugin.so: be2b39deb4ed8742bcd5005f4cf55fbcbff6c4631044b7c4adfacad0ccf0c7f7
  /usr/local/libdata/ldconfig/dovecot-antispam: e55212c7a08c4116f9157f8fd8dcf6810e13869ed2c70199bbc772ec9bef639e
  /usr/local/man/man7/dovecot-antispam.7.gz: 38e8c0c4bfb38f6025270fa25995c7c0b7ac3f66d1af9b7be31936a03c0eed63
directories:
  /usr/local/lib/dovecot/imap/: y
  /usr/local/lib/dovecot/: y
scripts:
  post-install: |
    /sbin/ldconfig -m /usr/local/lib/dovecot/imap
    cd /usr/local
  pre-deinstall: |
    cd /usr/local
  post-deinstall: |
    /sbin/ldconfig -R
    cd /usr/local
message: "---------------------------------------------------------------------\n
  \nThis port assumes you are known with Dovecot and have it installed and\nrunning
  on the system you have installed this plugin on.\n\nYou can enable the plugin with
  this directive in your dovecot.conf:\n\n    protocol imap {\n        mail_plugins
  = antispam\n    }\n\nFurther information on configuration can be found at:\n \n
  \   man 7 dovecot-antispam\n\n---------------------------------------------------------------------\n"
