---
name: clamsmtp
version: 1.10_3
origin: security/clamsmtp
comment: ClamAV anti-virus SMTP Filter
arch: freebsd:9:x86:64
www: http://thewalter.net/stef/software/clamsmtp/
maintainer: clsung@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 56952
desc: "ClamSMTP is an SMTP filter that allows you to check for viruses using \nthe
  ClamAV anti-virus software. It accepts SMTP connections and forwards \nthe SMTP
  commands and responses to another SMTP server. The 'DATA' email \nbody is intercepted
  and scanned before forwarding.\n\nClamSMTP aims to be lightweight, reliable, and
  simple rather than have a \nmyriad of options. It's written in C without major dependencies.
  If you \nneed more options then you could use something big like AMaViS which is
  \nwritten in PERL and can do almost anything.\n\nAuthor:\tNielsen <nielsen at memberwebs.com>\nWWW:\thttp://thewalter.net/stef/software/clamsmtp/\n"
deps:
  clamav: {origin: security/clamav, version: 0.97.8}
  libltdl: {origin: devel/libltdl, version: 2.4.2}
  unzoo: {origin: archivers/unzoo, version: 4.4_2}
  lha: {origin: archivers/lha, version: 1.14i_6}
  arj: {origin: archivers/arj, version: 3.10.22_4}
  arc: {origin: archivers/arc, version: 5.21p}
categories:
- security
options: {LOCAL_CLAMAV_DEVEL: off, LOCAL_CLAMAV: on, DOCS: on}
files:
  /usr/local/etc/clamsmtpd.conf-sample: adf221b267e3c2a6006d565a0bc375ed15544d9f9d0c0fdbf425714bb5832daa
  /usr/local/etc/rc.d/clamsmtpd: de32635e720f1eaeb52ec3360d94fc262be5de7687d00680eb64c3e635961c21
  /usr/local/man/man5/clamsmtpd.conf.5.gz: 0cfaaac70a9d739baded81965ec00bf1fe872f8178efca982f4aaa3d336cc761
  /usr/local/man/man8/clamsmtpd.8.gz: d9a1b2185a7474441720ca14a41e76e0385b63ee19a8ee474956d5ca941d67a9
  /usr/local/sbin/clamsmtpd: aee6672d3180ee57784be57e64f260b11afc165f093582427ce5ee0c8465ac6a
  /usr/local/share/doc/clamsmtp/README: f2946223f901b6f4eea5238a2b6e659fded26caa90bf77d7f24cee06a5fd2114
  /usr/local/share/examples/clamsmtp/virus_action.sh: 6d5b60d56d8425d64fe92abe71c372523847c600298ccba9567a0a0cda4b7a5d
directories:
  /usr/local/share/examples/clamsmtp/: n
  /usr/local/share/doc/clamsmtp/: n
scripts:
  post-install: |
    cd /usr/local
  pre-deinstall: |
    [ ! -f %25CLAMAV_PID_DIR%25/clamsmtpd.pid ] || /usr/local/etc/rc.d/clamsmtpd.sh stop || true
    cd /usr/local
  post-deinstall: |
    cd /usr/local
message: "/* ================================================================= */\nEdit
  /etc/rc.conf and set\n\nclamsmtpd_enable=\"YES\"\n\nto enable clamsmtpd. \n\nAlso,
  there is a clamsmtpd.conf-sample in /usr/local/etc/, \nrename to clamsmtpd.conf,
  otherwise specify -f option to your\nconfig file. \n\nTo work with postfix, See
  also\nhttp://memberwebs.com/nielsen/software/clamsmtp/postfix.html\n/* =================================================================
  */\n"
