---
name: exim-postgresql
version: 4.80.1_2
origin: mail/exim-postgresql
comment: High performance MTA for Unix systems on the Internet
arch: freebsd:9:x86:64
www: http://www.exim.org/
maintainer: rea@FreeBSD.org
prefix: /usr/local
licenselogic: single
licenses:
- GPLv2
flatsize: 3759916
desc: |
  Exim is a mail transfer agent for Unix systems connected to the Internet.
  It is a monolithic MTA designed to be a command line compatible drop-in
  replacement for Sendmail.

  Exim is an excellent mailer for an ISP, as its control and flexibility
  are very good and its requeueing and retry algorithms are very powerful.
  Exim's configuration syntax is well documented.

  WWW: http://www.exim.org/
deps:
  libxml2: {origin: textproc/libxml2, version: 2.8.0_2}
  perl: {origin: lang/perl5.14, version: 5.14.4}
  pkgconf: {origin: devel/pkgconf, version: 0.9.2_1}
  pcre: {origin: devel/pcre, version: 8.33}
  gettext: {origin: devel/gettext, version: 0.18.3}
  postgresql-client: {origin: databases/postgresql90-client, version: 9.0.13}
  libiconv: {origin: converters/libiconv, version: 1.14_1}
categories:
- mail
- ipv6
shlibs_required:
- libiconv.so.3
- libpq.so.5
- libperl.so
- libpcre.so.3
options: {XCLIENT: off, WISHLIST: off, TLS: on, TCP_WRAPPERS: off, SUID: on, SRS_ALT: off,
  SRS: off, SQLITE: off, SPF: off, SO_1024: off, SA_EXIM: off, SASLAUTHD: off, READLINE: off,
  PGSQL: on, PASSWD: on, PAM: on, OPENLDAP: off, OLD_DEMIME: on, NIS: on, MYSQL: off,
  MBX: on, MAILSTORE: on, MAILDIR: on, LSEARCH: on, LMTP: off, LISTMATCH_RHS: off,
  KAS: off, IPV6: on, ICONV: on, GNUTLS: off, EXIMON: off, EMBEDDED_PERL: on, DSEARCH: on,
  DNSDB: on, DKIM: on, DISABLE_D_OPT: on, DEBUG: off, DCC: off, DAEMON: on, CONTENT_SCAN: off,
  CDB: on, AUTH_SPA: on, AUTH_SASL: off, AUTH_RADIUS: off, AUTH_PLAINTEXT: on, AUTH_DOVECOT: on,
  AUTH_CRAM_MD5: on, ALT_CONFIG_PREFIX: off}
files:
  /usr/local/etc/exim/configure.default: 666e9c1386f7e5d50c7b205ceb1ddc2422bac44017c930ad5231a37146caabbe
  /usr/local/etc/periodic/daily/150.exim-tidydb: 55c9f58e2cd2c77b6db672cffcdeb12c81f6906b814e0a0481f76a460a739c67
  /usr/local/etc/periodic/daily/460.exim-mail-rejects: b72255d750123e63a03391839108ddd8f8d6960f20f8a0864e31b447eb4bf74a
  /usr/local/etc/rc.d/exim: 2c463abebdee90d526324716e601c918354a47feab50f5e86e87924d553e2da6
  /usr/local/man/man8/exim.8.gz: 1b4bc97d6ca51d2127da3c82e84e4eed22cc11c01cd0bf02319a52bbf3a46348
  /usr/local/sbin/exicyclog: ae5e055bc7492a696de07d49cb8255afdc13204f0f68c3bf671a44f3f7373a8e
  /usr/local/sbin/exigrep: 69e5fbb6bf4c3a5b2761027fec9f29ce90cdbcd2af3efb315728dca9a8feb95e
  /usr/local/sbin/exim: '-'
  /usr/local/sbin/exim-4.80.1-2: 496901cefbd95a0c9e39c207b99fc59830ae0e82a6c3f16593082ed7b6a2c4c3
  /usr/local/sbin/exim_checkaccess: edd6f272f87def6a85bd7dce689aa725f133a4c733f7d592fe3f21bd6460bd8d
  /usr/local/sbin/exim_dbmbuild: 79a79ec9fbfe704366b8fb0523734117b3fa8822e0a6c96999af3ce1a9512edb
  /usr/local/sbin/exim_dumpdb: d30ebaa508a7870fd071e9f6cbbc62bee20244224559cbfad10478e997f5d07d
  /usr/local/sbin/exim_fixdb: 31a26a7b105b8013c999781fbe075b20417255c50257404a3cff305af81cf27e
  /usr/local/sbin/exim_lock: 91e8a85315a28ac7ec2a88bc20bde79f1f5c7e248770c19e0b9623c9a5ce3e0a
  /usr/local/sbin/exim_tidydb: a8d1f94626a1c0d16274564216c6f18a71bddc411fa752239fc9fe32fe96dfb7
  /usr/local/sbin/eximstats: fb49edbda21ab4ce9ca900aea833a8f79428719f6d251caf7433192a5df761a4
  /usr/local/sbin/exinext: fa5a276c1b59445f627b65c0c23fa60b93f5a132884f158504906883b5f2fa4f
  /usr/local/sbin/exipick: d5277125ff5825f619e2d6887de05765a378d7abc60003b219b2a9e6f7277cb5
  /usr/local/sbin/exiqgrep: 75289b6ca282c0986b506ab84cf53160916a2bbf9d5a355f3dbb37764e8ba353
  /usr/local/sbin/exiqsumm: 6661cdd79c87c071e39e03601b1c300ce04dfe7478756519dae7c43fa772b5cb
  /usr/local/sbin/exiwhat: c96dd5c95c30f2accb0dc79d32f38ebaf4a7a5e63fb9083dabdf189a7cd09330
  /usr/local/share/doc/exim/ACKNOWLEDGMENTS: 2651fcf3dd1700eb43ca9acb36ef6e03858ecb6aec1db6504ecd79080f2f4b3d
  /usr/local/share/doc/exim/ChangeLog: 4e3426afc9f915ad1262e12c83e2c2025f6da48529f08fc1739c13d216fdc215
  /usr/local/share/doc/exim/Exim3.upgrade: 4678f133139d150411ad2dadb9cc52cea3ad5cc150a04eedf44756f6f13131cd
  /usr/local/share/doc/exim/Exim4.upgrade: 54f648d78d830898d74d7891758ba688b89a6eb12879daf7759d66447702769e
  /usr/local/share/doc/exim/NOTICE: 3babfedf2ea580004c7c1b1447208c9f7826a767c34a7e34b66c0284fd1b543f
  /usr/local/share/doc/exim/NewStuff: b94f789e226eded41c353b7ea62cb963e594a3784244104b708efede75860d4b
  /usr/local/share/doc/exim/OptionLists.txt: 013501eb658d02eee7c165fae9ebbd2ab635089ac2d65ad941222ff67a6ed653
  /usr/local/share/doc/exim/POST-INSTALL-NOTES: 13b5c79e8e220512a427f833ae47c3d846c8e0b8492a6a49dfbca9296d55f02b
  /usr/local/share/doc/exim/POST-INSTALL-NOTES.clamd: a26fb811b002a829df4dd4799dd5b9c3d180854478ce5bb05151f77949604ef9
  /usr/local/share/doc/exim/README: c46e23ec48041b88770d022817aa85865f950754e3d6073688deb8946b5cae70
  /usr/local/share/doc/exim/README.SIEVE: 213e7c156b6233ab1b997f8a48169659f9c888af7e0a97148956afd6297a3b45
  /usr/local/share/doc/exim/README.UPDATING: f85a88440171c10fc7e0375fe04d226078dcce47beb33c8f091febf2cf60d779
  /usr/local/share/doc/exim/dbm.discuss.txt: 5f25657080adb60a5455c19ff35c036198c055ad639214082d4fcdf3a1e65d20
  /usr/local/share/doc/exim/experimental-spec.txt: 2b76453e4bbea04933d41e848239251f6f557e2932ace45f2a95350ef971982a
  /usr/local/share/doc/exim/filter.txt: 8dc337d865192903c61148b5bdeb799f6bc7444e0a401405e67f6ed290051f5f
  /usr/local/share/doc/exim/spec.txt: d1a920fb78e876fb12b1d65571baf16494c7b9f174fd116092d08ae909ea5c29
  /usr/local/share/examples/exim/convert4r3: d120ffb77d539261927403baa8867b93396fd3b8e020018b4350e21e7189b013
  /usr/local/share/examples/exim/convert4r4: 2fa5dfe0228fab025cd0684e9a2b418e94dc3f20bb3c0d7a8c7bbbb3f913d158
  /usr/local/share/examples/exim/transport-filter.pl: b1ba798c7ed802abc4dc54ccf80e3f28960ff212b795b2a7b1a4bc67b15d4e5a
  /usr/local/share/licenses/exim-postgresql-4.80.1_2/GPLv2: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643
  /usr/local/share/licenses/exim-postgresql-4.80.1_2/LICENSE: 7e1394d03c5f275a402fe721ff1d1349449ea8602b52af954c76463afcdb6ef7
  /usr/local/share/licenses/exim-postgresql-4.80.1_2/catalog.mk: 864a15d915c3d18e0aeef03abbd53436d530ddd714499cb6dc11ed88765713aa
directories:
  /var/log/exim/: y
  /usr/local/share/licenses/exim-postgresql-4.80.1_2/: n
  /usr/local/share/licenses/: y
  /usr/local/share/examples/exim/: n
  /usr/local/share/doc/exim/: y
  /usr/local/etc/periodic/daily/: y
  /usr/local/etc/periodic/: y
  /usr/local/etc/exim/: y
scripts:
  post-install: |
    [ -f /usr/local/etc/exim/configure ] || cp /usr/local/etc/exim/configure.default /usr/local/etc/exim/configure
    cd /usr/local
    cd /usr/local
  pre-deinstall: |
    if cmp -s /usr/local/etc/exim/configure /usr/local/etc/exim/configure.default; then rm -f /usr/local/etc/exim/configure; fi
    cd /usr/local
    cd /usr/local
  post-deinstall: |
    cd /usr/local
    cd /usr/local
  install: "#!/bin/sh\n#\n# Since FreeBSD does not supply a user for running an MTA
    in a sandbox\n# by default, use user 'exim', adding it if it does not exist.  Even\n#
    if FreeBSD supplied an MTA user, it's neglected to do so for so long\n# that every
    sandboxed MTA under the sun uses its own user, so user\n# 'exim' should probably
    be used forever.\n#\n# Modern FreeBSD systems already have a group mail.\n#\n#
    $FreeBSD: mail/exim/pkg-install 300896 2012-07-14 13:54:48Z beat $\n#\n\nPKG_PREFIX=${PKG_PREFIX:=/usr/local}\n\nuser=mailnull\ngroup=mail\nlogdir=/var/log/exim\n\nif
    [ \"$2\" = \"PRE-INSTALL\" ]; then\n\tif ! /usr/sbin/pw groupshow ${group} >/dev/null;
    then\n\t\t/usr/sbin/pw groupadd ${group} -g 125\n\tfi\n\tif ! /usr/sbin/pw usershow
    ${user} >/dev/null; then\n\t\t/usr/sbin/pw useradd ${user} -g ${group} -u 125
    \\\n\t\t-h - -d /var/spool/exim -s /nonexistent -c \"Exim User\"\n\tfi\n\t/bin/mkdir
    -p ${logdir}\n\t/usr/sbin/chown ${user}:${group} ${logdir}\nfi\n\nif [ \"$2\"
    = \"POST-INSTALL\" ]; then\n\tcf=$PKG_PREFIX/etc/exim/configure\n\tif [ -e $cf
    ]; then\n\t\tif /usr/bin/grep -q '^[^#]*hostlist.*relay_from_hosts.*=.*127.0.0.1'
    $cf\n\t\t    then\n\t\t\techo\n\t\t\techo \"============================================================\"\n\t\t\techo
    \"                     !!! WARNING !!!                        \"\n\t\t\techo \"============================================================\"\n\t\t\techo\n\t\t\techo
    \"Existing configure file $cf\"\n\t\t\techo \"contains 127.0.0.1 in relay_from_hosts
    hostlist!\"\n\t\t\techo \"Use of localhost instead of 127.0.0.1 is highly recommended.\"\n\t\t\techo\n\t\t\techo
    \"============================================================\"\n\t\t\techo \"
    \                    !!! WARNING !!!                        \"\n\t\t\techo \"============================================================\"\n\t\tfi\n\tfi\n\tif
    ! /usr/bin/grep -qs \"^exim_enable\" /etc/rc.conf\n\t    then\n\t\techo\n\t\techo
    \"Don't forget to add 'exim_enable=\\\"YES\\\"' to rc.conf(5)\"\n\t\techo\n\tfi\nfi\n"
message: |2+

  IMPORTANT NOTE:
  ===============

  Please read /usr/local/share/doc/exim/POST-INSTALL-NOTES for important
  information regarding your Exim installation.


  How to restore pre-4.77 behaviour of match_* expansions
  =======================================================

  Just two steps to do it:

   1. first, read README.UPDATING and in most cases you will
      realize that pre-4.77 behaviour is not what you want;

   2. if you're still here, turn on port's knob LISTMATCH_RHS
      and carefully review your configuration for untrusted
      right-hand sides in match_* operations.


  Upgrades to Exim 4.80
  =====================

  Exim 4.80 contains some backward-incompatible changes.

  OpenSSL default options have changed to be more secure, including
  disabling of SSLv2 by default (and adding support for TLSv1.1 and
  TLSv1.2 if using OpenSSL 1.0.1 or newer); GnuTLS has been updated to use
  a new API and stop honouring some options starting gnutls_*; users of
  LDAP can now distinguish "comma in data" from "multi-valued attribute".
  There are more details, covering more changes, in README.UPDATING.

  We now enable accept_8bitmime by default, as the Exim maintainers agree
  with Dan Bernstein about the best way to deal with the 8BITMIME
  extension.

