---
name: archivesmtp
version: 1.1.b1
origin: mail/archivesmtp
comment: SMTP mail archiver
arch: freebsd:9:x86:64
www: http://www.dancingfortune.com/projects/archivesmtp/
maintainer: contact@dancingfortune.com
prefix: /usr/local
licenselogic: single
flatsize: 41939
desc: |
  ArchiveSMTP is a mail archiver designed to be run on an SMTP mail server. It
  uses rule-based matching to collect and store mail passing through an MTA to
  specific locations in mbox format. Adding headers and piping output to other
  programs is also supported. The libmilter interface is used and must be
  supported by the MTA for ArchiveSMTP to work.

  Version: 1.1.b1

  WWW: http://www.dancingfortune.com/projects/archivesmtp/
categories: [mail]
files:
  /usr/local/etc/archivesmtp.conf.sample: 81db76ba8c0f34d79250210ab107a6a8ede1b01b3db9c32a8f354eb8a1e29925
  /usr/local/etc/rc.d/archivesmtp: d414ba774aec5c411396202625a69b80c9cdeb001acfd39a6e1eed0f466dc9a9
  /usr/local/man/man8/archivesmtp.8.gz: 8336f24f4a3a198bf54bca764cd658222a5e7482e0372f4465b35e4cefef8d00
  /usr/local/sbin/archivesmtp: 494a4c10c034efbaf06c86e73ed66f084844a6781a73a780d7c818c2c40d52c2
directories:
  /var/run/archivesmtp/: n
scripts:
  post-install: |
    mkdir -p /var/run/archivesmtp
    chown nobody /var/run/archivesmtp
    cd /var/run
    cd /usr/local
  pre-deinstall: |
    cd /var/run
    cd /usr/local
  post-deinstall: |
    cd /var/run
    cd /usr/local
message: |
  ###############################################################################

   ArchiveSMTP has been installed! You will, however, need to configure your MTA
   to use it as a 'milter'. Please consult your MTA's documentation reguarding
   this. For rule formats check the manpage and sample configuration file. The
   following rc values can be adjusted to your preference; listed are their
   default values:

   Enable port   -> archivesmtp_enable="NO"
   Run as user   -> archivesmtp_chuser="nobody"
   Filter socket -> archivesmtp_socket="unix:/var/run/archivesmtp/mta.sock"
   Pid file      -> archivesmtp_pidfile="/var/run/archivesmtp/run.pid"
   Configuration -> archivesmtp_config="/usr/local/etc/archivesmtp.conf"
   Other Flags   -> archivesmtp_flags=""

   Please note: Only the owner my have write permissions on the socket directory.

   Visit the website at: http://www.dancingfortune.com/projects/archivesmtp/

  ###############################################################################
