Skip to content

Instantly share code, notes, and snippets.

@msimerson
Created December 12, 2015 22:01
Show Gist options
  • Save msimerson/2a3c8b7a01fa3b5aa64c to your computer and use it in GitHub Desktop.
Save msimerson/2a3c8b7a01fa3b5aa64c to your computer and use it in GitHub Desktop.
Mail Toaster 6 - sample output - provision-spamassassin
# sh provision-spamassassin.sh
mysql enabled
toaster host: freebsd-10-2.vmware.imac27.simerson.net
toaster domain: imac27.simerson.net
shell: /usr/local/bin/bash
safe name: stage
zroot/jails/base-10.2-RELEASE@p8 snapshot exists
*** stage jail cleanup ***
stopping jail stage (stage)
Stopping jails:.
stage: removed
no data fs to unmount
*** stage jail filesystem setup ***
zfs clone zroot/jails/base-10.2-RELEASE@p8 zroot/jails/stage
mounting /usr/ports
no zroot/data/spamassassin to mount
sysrc -R /jails/stage hostname=spamassassin
hostname: base -> spamassassin
*** stage jail startup ***
Setting hostname: spamassassin.
Creating and/or trimming log files.
Starting syslogd.
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib
32-bit compatibility ldconfig path: /usr/lib32
Clearing /tmp (X related).
Updating motd:.
Starting cron.
Sat Dec 12 13:50:23 PST 2015
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
*** install SpamAssassin optional dependencies ***
pkg -j stage install -y p5-Mail-SPF p5-Mail-DKIM p5-Net-Patricia p5-libwww
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
The following 37 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
p5-Mail-SPF: 2.9.0_3
p5-Mail-DKIM: 0.40_2
p5-Net-Patricia: 1.22_1
p5-libwww: 6.13
p5-Error: 0.17024
perl5: 5.20.3_8
p5-Net-DNS-Resolver-Programmable: 0.003_2
p5-Net-DNS: 1.02
p5-Digest-HMAC: 1.03_1
p5-IO-Socket-INET6: 2.72_1
p5-Socket6: 0.25_2
p5-URI: 1.69
p5-NetAddr-IP: 4.075
p5-Mail-Tools: 2.14
p5-TimeDate: 2.30_2,1
p5-Crypt-OpenSSL-RSA: 0.28_1
p5-Crypt-OpenSSL-Bignum: 0.06
p5-Crypt-OpenSSL-Random: 0.10
p5-Net-HTTP: 6.09
p5-IO-Socket-SSL: 2.016
p5-Net-SSLeay: 1.72
p5-IO-Socket-IP: 0.37
p5-Socket: 2.020
p5-Mozilla-CA: 20141217
p5-HTTP-Negotiate: 6.01_1
p5-HTTP-Message: 6.11
p5-Encode-Locale: 1.05
p5-IO-HTML: 1.001_1
p5-HTTP-Date: 6.02_1
p5-LWP-MediaTypes: 6.02_1
p5-HTTP-Daemon: 6.01_1
p5-WWW-RobotRules: 6.02_1
p5-HTTP-Cookies: 6.01_1
p5-HTML-Parser: 3.71_1
p5-HTML-Tagset: 3.20_1
p5-Authen-NTLM: 1.09_1
p5-File-Listing: 6.04_1
The process will require 54 MiB more space.
15 MiB to be downloaded.
[spamassassin] Fetching p5-Mail-SPF-2.9.0_3.txz: 100% 122 KiB 124.9kB/s 00:01
[spamassassin] Fetching p5-Mail-DKIM-0.40_2.txz: 100% 106 KiB 108.4kB/s 00:01
[spamassassin] Fetching p5-Net-Patricia-1.22_1.txz: 100% 24 KiB 24.3kB/s 00:01
[spamassassin] Fetching p5-libwww-6.13.txz: 100% 154 KiB 157.9kB/s 00:01
[spamassassin] Fetching p5-Error-0.17024.txz: 100% 24 KiB 24.8kB/s 00:01
[spamassassin] Fetching perl5-5.20.3_8.txz: 100% 13 MiB 2.0MB/s 00:07
[spamassassin] Fetching p5-Net-DNS-Resolver-Programmable-0.003_2.txz: 100% 8 KiB 8.3kB/s 00:01
[spamassassin] Fetching p5-Net-DNS-1.02.txz: 100% 338 KiB 346.0kB/s 00:01
[spamassassin] Fetching p5-Digest-HMAC-1.03_1.txz: 100% 9 KiB 9.5kB/s 00:01
[spamassassin] Fetching p5-IO-Socket-INET6-2.72_1.txz: 100% 17 KiB 17.8kB/s 00:01
[spamassassin] Fetching p5-Socket6-0.25_2.txz: 100% 17 KiB 17.5kB/s 00:01
[spamassassin] Fetching p5-URI-1.69.txz: 100% 87 KiB 89.4kB/s 00:01
[spamassassin] Fetching p5-NetAddr-IP-4.075.txz: 100% 81 KiB 83.2kB/s 00:01
[spamassassin] Fetching p5-Mail-Tools-2.14.txz: 100% 84 KiB 86.1kB/s 00:01
[spamassassin] Fetching p5-TimeDate-2.30_2,1.txz: 100% 35 KiB 35.5kB/s 00:01
[spamassassin] Fetching p5-Crypt-OpenSSL-RSA-0.28_1.txz: 100% 19 KiB 19.8kB/s 00:01
[spamassassin] Fetching p5-Crypt-OpenSSL-Bignum-0.06.txz: 100% 24 KiB 24.2kB/s 00:01
[spamassassin] Fetching p5-Crypt-OpenSSL-Random-0.10.txz: 100% 8 KiB 8.6kB/s 00:01
[spamassassin] Fetching p5-Net-HTTP-6.09.txz: 100% 28 KiB 28.3kB/s 00:01
[spamassassin] Fetching p5-IO-Socket-SSL-2.016.txz: 100% 142 KiB 145.1kB/s 00:01
[spamassassin] Fetching p5-Net-SSLeay-1.72.txz: 100% 234 KiB 239.5kB/s 00:01
[spamassassin] Fetching p5-IO-Socket-IP-0.37.txz: 100% 27 KiB 27.4kB/s 00:01
[spamassassin] Fetching p5-Socket-2.020.txz: 100% 38 KiB 39.0kB/s 00:01
[spamassassin] Fetching p5-Mozilla-CA-20141217.txz: 100% 140 KiB 143.3kB/s 00:01
[spamassassin] Fetching p5-HTTP-Negotiate-6.01_1.txz: 100% 11 KiB 11.3kB/s 00:01
[spamassassin] Fetching p5-HTTP-Message-6.11.txz: 100% 77 KiB 78.6kB/s 00:01
[spamassassin] Fetching p5-Encode-Locale-1.05.txz: 100% 10 KiB 10.0kB/s 00:01
[spamassassin] Fetching p5-IO-HTML-1.001_1.txz: 100% 18 KiB 18.7kB/s 00:01
[spamassassin] Fetching p5-HTTP-Date-6.02_1.txz: 100% 15 KiB 15.2kB/s 00:01
[spamassassin] Fetching p5-LWP-MediaTypes-6.02_1.txz: 100% 18 KiB 18.0kB/s 00:01
[spamassassin] Fetching p5-HTTP-Daemon-6.01_1.txz: 100% 20 KiB 20.8kB/s 00:01
[spamassassin] Fetching p5-WWW-RobotRules-6.02_1.txz: 100% 12 KiB 12.1kB/s 00:01
[spamassassin] Fetching p5-HTTP-Cookies-6.01_1.txz: 100% 26 KiB 27.0kB/s 00:01
[spamassassin] Fetching p5-HTML-Parser-3.71_1.txz: 100% 81 KiB 83.4kB/s 00:01
[spamassassin] Fetching p5-HTML-Tagset-3.20_1.txz: 100% 10 KiB 10.1kB/s 00:01
[spamassassin] Fetching p5-Authen-NTLM-1.09_1.txz: 100% 12 KiB 11.8kB/s 00:01
[spamassassin] Fetching p5-File-Listing-6.04_1.txz: 100% 14 KiB 14.2kB/s 00:01
Checking integrity... done (0 conflicting)
[spamassassin] [1/37] Installing perl5-5.20.3_8...
[spamassassin] [1/37] Extracting perl5-5.20.3_8: 100%
[spamassassin] [2/37] Installing p5-Socket6-0.25_2...
[spamassassin] [2/37] Extracting p5-Socket6-0.25_2: 100%
[spamassassin] [3/37] Installing p5-Socket-2.020...
[spamassassin] [3/37] Extracting p5-Socket-2.020: 100%
[spamassassin] [4/37] Installing p5-Digest-HMAC-1.03_1...
[spamassassin] [4/37] Extracting p5-Digest-HMAC-1.03_1: 100%
[spamassassin] [5/37] Installing p5-IO-Socket-INET6-2.72_1...
[spamassassin] [5/37] Extracting p5-IO-Socket-INET6-2.72_1: 100%
[spamassassin] [6/37] Installing p5-URI-1.69...
[spamassassin] [6/37] Extracting p5-URI-1.69: 100%
[spamassassin] [7/37] Installing p5-Net-SSLeay-1.72...
[spamassassin] [7/37] Extracting p5-Net-SSLeay-1.72: 100%
[spamassassin] [8/37] Installing p5-IO-Socket-IP-0.37...
[spamassassin] [8/37] Extracting p5-IO-Socket-IP-0.37: 100%
[spamassassin] [9/37] Installing p5-Mozilla-CA-20141217...
[spamassassin] [9/37] Extracting p5-Mozilla-CA-20141217: 100%
[spamassassin] [10/37] Installing p5-Encode-Locale-1.05...
[spamassassin] [10/37] Extracting p5-Encode-Locale-1.05: 100%
[spamassassin] [11/37] Installing p5-IO-HTML-1.001_1...
[spamassassin] [11/37] Extracting p5-IO-HTML-1.001_1: 100%
[spamassassin] [12/37] Installing p5-HTTP-Date-6.02_1...
[spamassassin] [12/37] Extracting p5-HTTP-Date-6.02_1: 100%
[spamassassin] [13/37] Installing p5-LWP-MediaTypes-6.02_1...
[spamassassin] [13/37] Extracting p5-LWP-MediaTypes-6.02_1: 100%
[spamassassin] [14/37] Installing p5-Net-DNS-1.02...
[spamassassin] [14/37] Extracting p5-Net-DNS-1.02: 100%
[spamassassin] [15/37] Installing p5-TimeDate-2.30_2,1...
[spamassassin] [15/37] Extracting p5-TimeDate-2.30_2,1: 100%
[spamassassin] [16/37] Installing p5-Crypt-OpenSSL-Bignum-0.06...
[spamassassin] [16/37] Extracting p5-Crypt-OpenSSL-Bignum-0.06: 100%
[spamassassin] [17/37] Installing p5-Crypt-OpenSSL-Random-0.10...
[spamassassin] [17/37] Extracting p5-Crypt-OpenSSL-Random-0.10: 100%
[spamassassin] [18/37] Installing p5-IO-Socket-SSL-2.016...
[spamassassin] [18/37] Extracting p5-IO-Socket-SSL-2.016: 100%
[spamassassin] [19/37] Installing p5-HTTP-Message-6.11...
[spamassassin] [19/37] Extracting p5-HTTP-Message-6.11: 100%
[spamassassin] [20/37] Installing p5-HTML-Tagset-3.20_1...
[spamassassin] [20/37] Extracting p5-HTML-Tagset-3.20_1: 100%
[spamassassin] [21/37] Installing p5-Error-0.17024...
[spamassassin] [21/37] Extracting p5-Error-0.17024: 100%
[spamassassin] [22/37] Installing p5-Net-DNS-Resolver-Programmable-0.003_2...
[spamassassin] [22/37] Extracting p5-Net-DNS-Resolver-Programmable-0.003_2: 100%
[spamassassin] [23/37] Installing p5-NetAddr-IP-4.075...
[spamassassin] [23/37] Extracting p5-NetAddr-IP-4.075: 100%
[spamassassin] [24/37] Installing p5-Mail-Tools-2.14...
[spamassassin] [24/37] Extracting p5-Mail-Tools-2.14: 100%
[spamassassin] [25/37] Installing p5-Crypt-OpenSSL-RSA-0.28_1...
[spamassassin] [25/37] Extracting p5-Crypt-OpenSSL-RSA-0.28_1: 100%
[spamassassin] [26/37] Installing p5-Net-HTTP-6.09...
[spamassassin] [26/37] Extracting p5-Net-HTTP-6.09: 100%
[spamassassin] [27/37] Installing p5-HTTP-Negotiate-6.01_1...
[spamassassin] [27/37] Extracting p5-HTTP-Negotiate-6.01_1: 100%
[spamassassin] [28/37] Installing p5-HTTP-Daemon-6.01_1...
[spamassassin] [28/37] Extracting p5-HTTP-Daemon-6.01_1: 100%
[spamassassin] [29/37] Installing p5-WWW-RobotRules-6.02_1...
[spamassassin] [29/37] Extracting p5-WWW-RobotRules-6.02_1: 100%
[spamassassin] [30/37] Installing p5-HTTP-Cookies-6.01_1...
[spamassassin] [30/37] Extracting p5-HTTP-Cookies-6.01_1: 100%
[spamassassin] [31/37] Installing p5-HTML-Parser-3.71_1...
[spamassassin] [31/37] Extracting p5-HTML-Parser-3.71_1: 100%
[spamassassin] [32/37] Installing p5-Authen-NTLM-1.09_1...
[spamassassin] [32/37] Extracting p5-Authen-NTLM-1.09_1: 100%
[spamassassin] [33/37] Installing p5-File-Listing-6.04_1...
[spamassassin] [33/37] Extracting p5-File-Listing-6.04_1: 100%
[spamassassin] [34/37] Installing p5-Mail-SPF-2.9.0_3...
[spamassassin] [34/37] Extracting p5-Mail-SPF-2.9.0_3: 100%
[spamassassin] [35/37] Installing p5-Mail-DKIM-0.40_2...
[spamassassin] [35/37] Extracting p5-Mail-DKIM-0.40_2: 100%
[spamassassin] [36/37] Installing p5-Net-Patricia-1.22_1...
[spamassassin] [36/37] Extracting p5-Net-Patricia-1.22_1: 100%
[spamassassin] [37/37] Installing p5-libwww-6.13...
[spamassassin] [37/37] Extracting p5-libwww-6.13: 100%
Message from perl5-5.20.3_8:
The /usr/bin/perl symlink has been removed starting with Perl 5.20.
For shebangs, you should either use:
#!/usr/local/bin/perl
or
#!/usr/bin/env perl
The first one will only work if you have a /usr/local/bin/perl,
the second will work as long as perl is in PATH.
pkg -j stage install -y gnupg1 re2c libidn dcc-dccd razor-agents
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
The following 7 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
gnupg1: 1.4.19
re2c: 0.14.3
libidn: 1.31
dcc-dccd: 1.3.158
razor-agents: 2.84_1
curl: 7.44.0
p5-Digest-SHA1: 2.13_1
The process will require 15 MiB more space.
4 MiB to be downloaded.
[spamassassin] Fetching gnupg1-1.4.19.txz: 100% 1 MiB 1.1MB/s 00:01
[spamassassin] Fetching re2c-0.14.3.txz: 100% 169 KiB 172.7kB/s 00:01
[spamassassin] Fetching libidn-1.31.txz: 100% 201 KiB 205.4kB/s 00:01
[spamassassin] Fetching dcc-dccd-1.3.158.txz: 100% 733 KiB 750.3kB/s 00:01
[spamassassin] Fetching razor-agents-2.84_1.txz: 100% 89 KiB 91.4kB/s 00:01
[spamassassin] Fetching curl-7.44.0.txz: 100% 1 MiB 1.4MB/s 00:01
[spamassassin] Fetching p5-Digest-SHA1-2.13_1.txz: 100% 22 KiB 22.3kB/s 00:01
Checking integrity... done (0 conflicting)
[spamassassin] [1/7] Installing curl-7.44.0...
[spamassassin] [1/7] Extracting curl-7.44.0: 100%
[spamassassin] [2/7] Installing p5-Digest-SHA1-2.13_1...
[spamassassin] [2/7] Extracting p5-Digest-SHA1-2.13_1: 100%
[spamassassin] [3/7] Installing gnupg1-1.4.19...
[spamassassin] [3/7] Extracting gnupg1-1.4.19: 100%
[spamassassin] [4/7] Installing re2c-0.14.3...
[spamassassin] [4/7] Extracting re2c-0.14.3: 100%
[spamassassin] [5/7] Installing libidn-1.31...
[spamassassin] [5/7] Extracting libidn-1.31: 100%
[spamassassin] [6/7] Installing dcc-dccd-1.3.158...
===> Creating users and/or groups.
Creating group 'dcc' with gid '112'.
Creating user 'dcc' with uid '112'.
[spamassassin] [6/7] Extracting dcc-dccd-1.3.158: 100%
=> Generating unique passwords for your DCC install...
=>
=> Note this will make map.sample, map.txt.sample and
=> ids.sample fail their MD5 checks on package removal.
[spamassassin] [7/7] Installing razor-agents-2.84_1...
[spamassassin] [7/7] Extracting razor-agents-2.84_1: 100%
Message from dcc-dccd-1.3.158:
==========================================================================
Installation Notes
------------------
Make certain you edit /usr/local/dcc/dcc_conf to enable the daemons you
wish to run, in addition to adding their respective dcc*_enable="YES"
lines to /etc/rc.conf or /etc/rc.conf.local.
Daemon startup flags are also specified in /usr/local/dcc/dcc_conf.
If you run the DCC server, /usr/local/dcc/libexec/cron-dccd should be
run at least daily from the crontab to clean old checksums from the DB.
If you just run the client, you may still wish to add
/usr/local/dcc/libexec/cron-dccd to your crontab to clean up the
client's log files on a regular basis. dcc_conf's DBCLEAN_LOGDAYS
variable controls the number of days to keep logs.
If your site handles more than 100,000 messages per day, to decrease the
load on the public DCC servers and increase the responsiveness of your
DCC clients, you should set up your own, local DCC server connected to
the global network of DCC servers. See:
http://www.dcc-servers.net/dcc/#local-server
==========================================================================
DCC Usage Restrictions Notice
-----------------------------
The free DCC source is available only for non-commercial and some other
uses. It is not available to organizations that sell anti-spam appliances
or provide managed email services as opposed to common Internet service.
It has always been wrong to take and sell the CPU cycles, bandwidth, and
human system administration labor of the public DCC servers.
Please read the LICENSE file in the DCC source:
/wrkdirs/usr/ports/mail/dcc-dccd/work/dcc-1.3.158/LICENSE
or at:
http://www.dcc-servers.net/dcc/dcc-tree/LICENSE
==========================================================================
pkg -j stage install -y mysql56-client p5-DBI p5-DBD-mysql
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
The following 4 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
mysql56-client: 5.6.27
p5-DBI: 1.634
p5-DBD-mysql: 4.032
libedit: 3.1.20150325_1
The process will require 48 MiB more space.
3 MiB to be downloaded.
[spamassassin] Fetching mysql56-client-5.6.27.txz: 100% 2 MiB 2.1MB/s 00:01
[spamassassin] Fetching p5-DBI-1.634.txz: 100% 749 KiB 766.5kB/s 00:01
[spamassassin] Fetching p5-DBD-mysql-4.032.txz: 100% 101 KiB 103.7kB/s 00:01
[spamassassin] Fetching libedit-3.1.20150325_1.txz: 100% 121 KiB 123.7kB/s 00:01
Checking integrity... done (0 conflicting)
[spamassassin] [1/4] Installing libedit-3.1.20150325_1...
[spamassassin] [1/4] Extracting libedit-3.1.20150325_1: 100%
[spamassassin] [2/4] Installing mysql56-client-5.6.27...
[spamassassin] [2/4] Extracting mysql56-client-5.6.27: 100%
[spamassassin] [3/4] Installing p5-DBI-1.634...
[spamassassin] [3/4] Extracting p5-DBI-1.634: 100%
[spamassassin] [4/4] Installing p5-DBD-mysql-4.032...
[spamassassin] [4/4] Extracting p5-DBD-mysql-4.032: 100%
Message from mysql56-client-5.6.27:
* * * * * * * * * * * * * * * * * * * * * * * *
Please be aware the database client is vulnerable
to CVE-2015-3152 - SSL Downgrade aka "BACKRONYM".
You may find more information at the following URL:
http://www.vuxml.org/freebsd/36bd352d-299b-11e5-86ff-14dae9d210b8.html
Although this database client is not listed as
"affected", it is vulnerable and will not be
receiving a patch. Please take note of this when
deploying this software.
* * * * * * * * * * * * * * * * * * * * * * * *
*** install GeoIP & dbs ***
pkg -j stage install -y p5-Geo-IP
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
The following 2 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
p5-Geo-IP: 1.45
GeoIP: 1.6.6
The process will require 1 MiB more space.
206 KiB to be downloaded.
[spamassassin] Fetching p5-Geo-IP-1.45.txz: 100% 75 KiB 77.0kB/s 00:01
[spamassassin] Fetching GeoIP-1.6.6.txz: 100% 131 KiB 133.9kB/s 00:01
Checking integrity... done (0 conflicting)
[spamassassin] [1/2] Installing GeoIP-1.6.6...
[spamassassin] [1/2] Extracting GeoIP-1.6.6: 100%
[spamassassin] [2/2] Installing p5-Geo-IP-1.45...
[spamassassin] [2/2] Extracting p5-Geo-IP-1.45: 100%
Message from GeoIP-1.6.6:
GeoIP does not ship with the actual data files. You must download
them yourself! Please run:
# /usr/local/bin/geoipupdate.sh
/jails/stage/usr/local/share/GeoIP/GeoIP.dat.g100% of 459 kB 1861 kBps 00m00s
/jails/stage/usr/local/share/GeoIP/GeoIPv6.dat100% of 741 kB 1816 kBps 00m01s
*** install GeoIP updater ***
pkg -j stage install -y p5-PerlIO-gzip
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
The following 1 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
p5-PerlIO-gzip: 0.19
The process will require 47 KiB more space.
19 KiB to be downloaded.
[spamassassin] Fetching p5-PerlIO-gzip-0.19.txz: 100% 19 KiB 19.5kB/s 00:01
Checking integrity... done (0 conflicting)
[spamassassin] [1/1] Installing p5-PerlIO-gzip-0.19...
[spamassassin] [1/1] Extracting p5-PerlIO-gzip-0.19: 100%
/jails/stage/usr/local/etc/periodic/weekly/geo100% of 1735 B 2327 kBps 00m00s
*** install SpamAssassin from ports (w/opts) ***
pkg -j stage install -y dialog4ports
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
The following 1 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
dialog4ports: 0.1.5_2
The process will require 24 KiB more space.
11 KiB to be downloaded.
[spamassassin] Fetching dialog4ports-0.1.5_2.txz: 100% 11 KiB 11.6kB/s 00:01
Checking integrity... done (0 conflicting)
[spamassassin] [1/1] Installing dialog4ports-0.1.5_2...
[spamassassin] [1/1] Extracting dialog4ports-0.1.5_2: 100%
pkg -j stage install -y p5-Encode-Detect
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
The following 1 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
p5-Encode-Detect: 1.01_1
The process will require 192 KiB more space.
70 KiB to be downloaded.
[spamassassin] Fetching p5-Encode-Detect-1.01_1.txz: 100% 70 KiB 71.5kB/s 00:01
Checking integrity... done (0 conflicting)
[spamassassin] [1/1] Installing p5-Encode-Detect-1.01_1...
[spamassassin] [1/1] Extracting p5-Encode-Detect-1.01_1: 100%
mail_spamassassin_SET=MYSQL DCC DKIM RAZOR RELAY_COUNTRY SPF_QUERY UPDATE_AND_COMPILE GNUPG_NONE
mail_spamassassin_UNSET=SSL PGSQL
jexec stage make -C /usr/ports/mail/spamassassin deinstall install clean
===> Deinstalling for spamassassin
===> spamassassin not installed, skipping
+--------------------------- spamassassin-3.4.1_5 -----------------------------+
| +--------------------------------------------------------------------------+
| |+[x] AS_ROOT Run spamd as root (recommended) |
| | [ ] SSL Build spamd/spamc with SSL support |
| | [x] UPDATE_AND_COMPILE Download and compile rulesets (recommended) |
| |--------------- Optional user-config/bayes database backends -------------|
| | [x] MYSQL MySQL database support |
| | [ ] PGSQL PostgreSQL database support |
| |---------------------- Optional SpamAssassin plugins ---------------------|
| | [x] DCC DCC digest list support (mail/dcc-dccd) |
| | [x] DKIM Verify DKIM records (mail/p5-Mail-DKIM) |
| |+[ ] PYZOR Pyzor digest list support (mail/pyzor) |
| | [x] RAZOR Vipul's Razor digest list support (mail/razor-agen|
| | [x] RELAY_COUNTRY Location-based scoring (net/p5-Geo-IP) |
| | [x] SPF_QUERY Verify SPF records (mail/p5-Mail-SPF) |
| |--------------------- GnuPG (for sa-update, optional) --------------------|
| | (*) GNUPG_NONE Do not use GnuPG |
| |+( ) GNUPG GnuPG 1 (security/gnupg1) |
| |+( ) GNUPG2 GnuPG 2 (security/gnupg) |
| +--------------------------------------------------------------------------+
+------------------------------------------------------------------------------+
| < OK > <Cancel> |
+------------------------------------------------------------------------------+
===> License APACHE20 accepted by the user
===> Found saved configuration for spamassassin-3.4.1_5
===> spamassassin-3.4.1_5 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by spamassassin-3.4.1_5 for building
===> Extracting for spamassassin-3.4.1_5
=> SHA256 Checksum OK for Mail-SpamAssassin-3.4.1.tar.gz.
===> Patching for spamassassin-3.4.1_5
===> Applying FreeBSD patches for spamassassin-3.4.1_5
/usr/bin/sed -i.bak -e 's,B_CONFDIR)/local.cf,B_CONFDIR)/local.cf.sample,g' -e 's,B_CONFDIR)/init.pre,B_CONFDIR)/init.pre.sample,g' -e 's,B_CONFDIR)/v310.pre,B_CONFDIR)/v310.pre.sample,g' -e 's,B_CONFDIR)/v312.pre,B_CONFDIR)/v312.pre.sample,g' -e 's,B_CONFDIR)/v320.pre,B_CONFDIR)/v320.pre.sample,g' -e 's,B_CONFDIR)/v330.pre,B_CONFDIR)/v330.pre.sample,g' -e 's,B_CONFDIR)/v340.pre,B_CONFDIR)/v340.pre.sample,g' -e 's,B_CONFDIR)/v341.pre,B_CONFDIR)/v341.pre.sample,g' -e 's/require DBI/0/' /tmp/portbuild/usr/ports/mail/spamassassin/work/Mail-SpamAssassin-3.4.1/Makefile.PL
/usr/bin/sed -i.bak -e '/^CC =/d; s|@SSLCFLAGS@|& ${CFLAGS}|g' /tmp/portbuild/usr/ports/mail/spamassassin/work/Mail-SpamAssassin-3.4.1/spamc/Makefile.in
/usr/bin/sed -i.bak -e '/DCC/s/^\#.*loadplugin/loadplugin/' /tmp/portbuild/usr/ports/mail/spamassassin/work/Mail-SpamAssassin-3.4.1/rules/*.pre
/usr/bin/sed -i.bak -e '/DKIM/s/^\#.*loadplugin/loadplugin/' /tmp/portbuild/usr/ports/mail/spamassassin/work/Mail-SpamAssassin-3.4.1/rules/*.pre
/usr/bin/sed -i.bak -e '/Pyzor/s/^loadplugin/\# loadplugin/' /tmp/portbuild/usr/ports/mail/spamassassin/work/Mail-SpamAssassin-3.4.1/rules/*.pre
/usr/bin/sed -i.bak -e '/Razor2/s/^\#.*loadplugin/loadplugin/' /tmp/portbuild/usr/ports/mail/spamassassin/work/Mail-SpamAssassin-3.4.1/rules/*.pre
/usr/bin/sed -i.bak -e '/RelayCountry/s/^\#.*loadplugin/loadplugin/' /tmp/portbuild/usr/ports/mail/spamassassin/work/Mail-SpamAssassin-3.4.1/rules/*.pre
/usr/bin/sed -i.bak -e '/SPF/s/^\#.*loadplugin/loadplugin/' /tmp/portbuild/usr/ports/mail/spamassassin/work/Mail-SpamAssassin-3.4.1/rules/*.pre
/usr/bin/sed -i.bak -e '/Rule2XSBody/s/^\#.*loadplugin/loadplugin/' /tmp/portbuild/usr/ports/mail/spamassassin/work/Mail-SpamAssassin-3.4.1/rules/*.pre
/usr/bin/find /tmp/portbuild/usr/ports/mail/spamassassin/work/Mail-SpamAssassin-3.4.1 -name '*.orig' -or -name '*.bak' -delete
===> spamassassin-3.4.1_5 depends on package: p5-Encode-Detect>=0 - found
===> spamassassin-3.4.1_5 depends on package: p5-HTML-Parser>=3.46 - found
===> spamassassin-3.4.1_5 depends on package: p5-HTTP-Date>=0 - found
===> spamassassin-3.4.1_5 depends on package: p5-IO-Socket-IP>=0 - found
===> spamassassin-3.4.1_5 depends on package: p5-Net-DNS>=0.63 - found
===> spamassassin-3.4.1_5 depends on package: p5-NetAddr-IP>=4.010 - found
===> spamassassin-3.4.1_5 depends on package: perl5>=5.20<5.21 - found
===> Configuring for spamassassin-3.4.1_5
NOTE: settings for "make test" are now controlled using "t/config.dist".
See that file if you wish to customise what tests are run, and how.
checking module dependencies and their versions...
***************************************************************************
NOTE: the optional Net::CIDR::Lite module is not installed.
Used by the URILocalBL plugin to process IP address ranges.
checking binary dependencies and their versions...
***************************************************************************
NOTE: the optional wget binary is not installed,
recommended version is 1.8.2 or higher.
Sa-update will use curl, wget or fetch to download updates.
Because perl module LWP does not support IPv6, sa-update as of
3.4.0 will use these standard programs to download rule updates
leaving LWP as a fallback if none of the programs are found.
*IMPORTANT NOTE*: You only need one of these programs.
dependency check complete...
optional module missing: Net::CIDR::Lite
optional binary missing or nonfunctional: wget
warning: some functionality may not be available,
please read the above report before continuing!
Checking if your kit is complete...
Looks good
'BUILD_SPAMC' is not a known MakeMaker parameter name.
'CONTACT_ADDRESS' is not a known MakeMaker parameter name.
'ENABLE_SSL' is not a known MakeMaker parameter name.
'LOCALSTATEDIR' is not a known MakeMaker parameter name.
'SYSCONFDIR' is not a known MakeMaker parameter name.
Generating a Unix-style Makefile
Writing Makefile for Mail::SpamAssassin
Writing MYMETA.yml and MYMETA.json
Makefile written by ExtUtils::MakeMaker 6.98
===> Building for spamassassin-3.4.1_5
/usr/local/bin/perl5.20.3 build/mkrules --exit_on_no_src --src rulesrc --out rules --manifest MANIFEST --manifestskip MANIFEST.SKIP
no source directory found: exiting
/usr/local/bin/perl5.20.3 build/preprocessor -Mvars -DVERSION="3.004001" -DPREFIX="/usr/local" -DDEF_RULES_DIR="/usr/local/share/spamassassin" -DLOCAL_RULES_DIR="/usr/local/etc/mail/spamassassin" -DLOCAL_STATE_DIR="/var/db/spamassassin" -DINSTALLSITELIB="/usr/local/lib/perl5/site_perl" -DCONTACT_ADDRESS="The administrator of that system" -Msharpbang -Mconditional -DPERL_BIN="/usr/local/bin/perl5.20.3" -DPERL_WARN="" -DPERL_TAINT="" -m755 -ispamassassin.raw -ospamassassin
<snip many build messages>
Manifying blib/man3/Mail::SpamAssassin::Util::DependencyInfo.3
Manifying blib/man3/Mail::SpamAssassin::Util::Progress.3
Manifying blib/man3/Mail::SpamAssassin::Util::RegistrarBoundaries.3
Manifying blib/man3/spamassassin-run.3
===> Staging for spamassassin-3.4.1_5
===> spamassassin-3.4.1_5 depends on package: p5-Encode-Detect>=0 - found
===> spamassassin-3.4.1_5 depends on package: p5-HTML-Parser>=3.46 - found
===> spamassassin-3.4.1_5 depends on package: p5-HTTP-Date>=0 - found
===> spamassassin-3.4.1_5 depends on package: p5-IO-Socket-IP>=0 - found
===> spamassassin-3.4.1_5 depends on package: p5-Net-DNS>=0.63 - found
===> spamassassin-3.4.1_5 depends on package: p5-NetAddr-IP>=4.010 - found
===> spamassassin-3.4.1_5 depends on package: re2c>=.12.0 - found
===> spamassassin-3.4.1_5 depends on package: p5-DBD-mysql>=0 - found
===> spamassassin-3.4.1_5 depends on package: dcc-dccd>=1.3.111 - found
===> spamassassin-3.4.1_5 depends on package: p5-IO-Socket-SSL>=0 - found
===> spamassassin-3.4.1_5 depends on package: p5-Mail-DKIM>=0.37 - found
===> spamassassin-3.4.1_5 depends on package: p5-Crypt-OpenSSL-RSA>=0.26_1 - found
===> spamassassin-3.4.1_5 depends on package: razor-agents>=2.84 - found
===> spamassassin-3.4.1_5 depends on package: p5-Geo-IP>=0 - found
===> spamassassin-3.4.1_5 depends on package: p5-Mail-SPF>=0 - found
===> spamassassin-3.4.1_5 depends on package: perl5>=5.20<5.21 - found
===> Generating temporary packing list
install -s -m 444 /tmp/portbuild/usr/ports/mail/spamassassin/work/Mail-SpamAssassin-3.4.1/spamc/libspamc.so /tmp/portbuild/usr/ports/mail/spamassassin/work/stage/usr/local/lib/libspamc.so.0
/bin/ln -sf libspamc.so.0 /tmp/portbuild/usr/ports/mail/spamassassin/work/stage/usr/local/lib/libspamc.so
install -m 0644 /tmp/portbuild/usr/ports/mail/spamassassin/work/Mail-SpamAssassin-3.4.1/spamc/libspamc.h /tmp/portbuild/usr/ports/mail/spamassassin/work/stage/usr/local/include
===> Creating users and/or groups.
/usr/local/bin/perl5.20.3 build/mkrules --exit_on_no_src --src rulesrc --out rules --manifest MANIFEST --manifestskip MANIFEST.SKIP
no source directory found: exiting
/usr/local/bin/perl5.20.3 build/preprocessor -Mvars -DVERSION="3.004001" -DPREFIX="/usr/local" -DDEF_RULES_DIR="/usr/local/share/spamassassin" -DLOCAL_RULES_DIR="/usr/local/etc/mail/spamassassin" -DLOCAL_STATE_DIR="/var/db/spamassassin" -DINSTALLSITELIB="/usr/local/lib/perl5/site_perl" -DCONTACT_ADDRESS="The administrator of that system" -Msharpbang -Mconditional -DPERL_BIN="/usr/local/bin/perl5.20.3" -DPERL_WARN="" -DPERL_TAINT="" -m755 -isa-update.raw -osa-update
cp sa-update blib/script/sa-update
/usr/local/bin/perl5.20.3 -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/sa-update
Manifying blib/man1/sa-update.1
Installing /tmp/portbuild/usr/ports/mail/spamassassin/work/stage/usr/local/lib/perl5/site_perl/spamassassin-run.pod
Installing /tmp/portbuild/usr/ports/mail/spamassassin/work/stage/usr/local/lib/perl5/site_perl/Mail/SpamAssassin.pm
<snip many install messages>
install -m 0644 /tmp/portbuild/usr/ports/mail/spamassassin/work/Mail-SpamAssassin-3.4.1/CREDITS /tmp/portbuild/usr/ports/mail/spamassassin/work/Mail-SpamAssassin-3.4.1/Changes /tmp/portbuild/usr/ports/mail/spamassassin/work/Mail-SpamAssassin-3.4.1/INSTALL /tmp/portbuild/usr/ports/mail/spamassassin/work/Mail-SpamAssassin-3.4.1/NOTICE /tmp/portbuild/usr/ports/mail/spamassassin/work/Mail-SpamAssassin-3.4.1/PACKAGING /tmp/portbuild/usr/ports/mail/spamassassin/work/Mail-SpamAssassin-3.4.1/README /tmp/portbuild/usr/ports/mail/spamassassin/work/Mail-SpamAssassin-3.4.1/TRADEMARK /tmp/portbuild/usr/ports/mail/spamassassin/work/Mail-SpamAssassin-3.4.1/UPGRADE /tmp/portbuild/usr/ports/mail/spamassassin/work/Mail-SpamAssassin-3.4.1/USAGE /tmp/portbuild/usr/ports/mail/spamassassin/work/Mail-SpamAssassin-3.4.1/procmailrc.example /tmp/portbuild/usr/ports/mail/spamassassin/work/stage/usr/local/share/doc/spamassassin
(cd /tmp/portbuild/usr/ports/mail/spamassassin/work/Mail-SpamAssassin-3.4.1 && /bin/sh -c '(/usr/bin/find -d $0 $2 | /usr/bin/cpio -dumpl $1 >/dev/null 2>&1) && /usr/bin/find -d $0 $2 -type d -exec chmod 755 $1/{} \; && /usr/bin/find -d $0 $2 -type f -exec chmod 444 $1/{} \;' -- "sql ldap" /tmp/portbuild/usr/ports/mail/spamassassin/work/stage/usr/local/share/doc/spamassassin)
====> Compressing man pages (compress-man)
===> Staging rc.d startup script(s)
===> Installing for spamassassin-3.4.1_5
===> Checking if spamassassin already installed
===> Registering installation for spamassassin-3.4.1_5
[spamassassin] Installing spamassassin-3.4.1_5...
===> Creating users and/or groups.
Creating group 'spamd' with gid '58'.
Creating user 'spamd' with uid '58'.
====> Downloading SpamAssassin rulesets
config: no rules were found! Do you need to run 'sa-update'?
gpg: WARNING: using insecure memory!
gpg: please see http://www.gnupg.org/documentation/faqs.html for more information
====> Compiling SpamAssassin rulesets
Dec 12 13:51:10.017 [39147] info: generic: base extraction starting. this can take a while...
Dec 12 13:51:10.018 [39147] info: generic: extracting from rules of type body_0
0% [ ] 0.00 rules/sec --m--s LEFT
zoom: rule __PILL_PRICE_02 will loop on SpamAssassin older than 3.3.2 running under Perl 5.12 or older, Bug 6558
18% [================ ] 95.93 rules/sec 00m04s LEFT
zoom: rule __FOR_SALE_PRC_100K will loop on SpamAssassin older than 3.3.2 running under Perl 5.12 or older, Bug 6558
zoom: rule __FOR_SALE_NET will loop on SpamAssassin older than 3.3.2 running under Perl 5.12 or older, Bug 6558
35% [================================ ] 92.78 rules/sec 00m03s LEFT
zoom: rule __FOR_SALE_PRC_10K will loop on SpamAssassin older than 3.3.2 running under Perl 5.12 or older, Bug 6558
zoom: rule __LARGE_PERCENT_AFTER will loop on SpamAssassin older than 3.3.2 running under Perl 5.12 or older, Bug 6558
43% [=================================== ] 87.52 rules/sec 00m03s LEFT
zoom: rule __PILL_PRICE_01 will loop on SpamAssassin older than 3.3.2 running under Perl 5.12 or older, Bug 6558
53% [============================================ ] 92.30 rules/sec 00m02s LEFT
zoom: rule __FOR_SALE_OBO will loop on SpamAssassin older than 3.3.2 running under Perl 5.12 or older, Bug 6558
63% [===================================================== ] 98.70 rules/sec 00m02s LEFT
zoom: rule __FOR_SALE_PRC_1K will loop on SpamAssassin older than 3.3.2 running under Perl 5.12 or older, Bug 6558
70% [============================================================ ] 88.21 rules/sec 00m01s LEFT
zoom: rule __FOR_SALE_LTP will loop on SpamAssassin older than 3.3.2 running under Perl 5.12 or older, Bug 6558
86% [=============================================================] 86.95 rules/sec 00m0 96% [======================================================================100% [====================================================================] 90.37 rules/sec 00m05s DONE
0% [ ] 0.00 bases/sec --m--s LEFT 75% [================================================ ] 519.83 bases/sec 0 80% [=================================================== ] 376.09 b 89% [======================================================== ] 403.42 bases/sec 0100% [================================================================] 456.81 bases/sec 00m05s DONE
Dec 12 13:51:21.330 [39147] info: body_0: 1217 base strings extracted in 11 seconds
cd /tmp/.spamassassin39147AaTLyztmp
reading bases_body_0.in
cd Mail-SpamAssassin-CompiledRegexps-body_0
re2c -i -b -o scanner1.c scanner1.re
re2c -i -b -o scanner2.c scanner2.re
re2c -i -b -o scanner3.c scanner3.re
re2c -i -b -o scanner4.c scanner4.re
re2c -i -b -o scanner5.c scanner5.re
re2c -i -b -o scanner6.c scanner6.re
re2c -i -b -o scanner7.c scanner7.re
/usr/local/bin/perl5.20.3 Makefile.PL PREFIX=/tmp/.spamassassin39147AaTLyztmp/ignored INSTALLSITEARCH=/var/db/spamassassin/compiled/5.020/3.004001
Generating a Unix-style Makefile
Writing Makefile for Mail::SpamAssassin::CompiledRegexps::body_0
Writing MYMETA.yml and MYMETA.json
make
cp body_0.pm blib/lib/Mail/SpamAssassin/CompiledRegexps/body_0.pm
Running Mkbootstrap for Mail::SpamAssassin::CompiledRegexps::body_0 ()
chmod 644 body_0.bs
/usr/local/bin/perl5.20.3 /usr/local/lib/perl5/5.20/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.20/ExtUtils/typemap body_0.xs > body_0.xsc && mv body_0.xsc body_0.c
cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.20/mach/CORE" body_0.c
cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.20/mach/CORE" scanner1.c
cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.20/mach/CORE" scanner2.c
cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.20/mach/CORE" scanner3.c
cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.20/mach/CORE" scanner4.c
cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.20/mach/CORE" scanner5.c
cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.20/mach/CORE" scanner6.c
cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.20/mach/CORE" scanner7.c
rm -f blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so
cc -shared -L/wrkdirs/usr/ports/lang/perl5.20/work/perl-5.20.3 -L/usr/local/lib/perl5/5.20/mach/CORE -Wl,-rpath=/usr/local/lib/perl5/5.20/mach/CORE -lperl -L/usr/local/lib -fstack-protector body_0.o scanner1.o scanner2.o scanner3.o scanner4.o scanner5.o scanner6.o scanner7.o -o blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so
chmod 755 blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so
/usr/local/bin/perl5.20.3 -MExtUtils::Command::MM -e 'cp_nonempty' -- body_0.bs blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.bs 644
Manifying blib/man3/Mail::SpamAssassin::CompiledRegexps::body_0.3
make install
Running Mkbootstrap for Mail::SpamAssassin::CompiledRegexps::body_0 ()
chmod 644 body_0.bs
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /var/db/spamassassin/compiled/5.020/3.004001/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so
Installing /var/db/spamassassin/compiled/5.020/3.004001/Mail/SpamAssassin/CompiledRegexps/body_0.pm
Installing /tmp/.spamassassin39147AaTLyztmp/ignored/lib/perl5/site_perl/man/man3/Mail::SpamAssassin::CompiledRegexps::body_0.3
Appending installation info to /tmp/.spamassassin39147AaTLyztmp/ignored/lib/perl5/5.20/mach/perllocal.pod
cp /tmp/.spamassassin39147AaTLyztmp/bases_body_0.pl /var/db/spamassassin/compiled/5.020/3.004001/bases_body_0.pl
cd /
rm -rf /tmp/.spamassassin39147AaTLyztmp
==========================================================================
You should complete the following post-installation tasks:
1) Read /usr/local/share/doc/spamassassin/INSTALL
and /usr/local/share/doc/spamassassin/UPGRADE
BEFORE enabling SpamAssassin for important changes
2) Edit the configuration in /usr/local/etc/mail/spamassassin,
in particular /usr/local/etc/mail/spamassassin/init.pre
You may get lots of annoying (but harmless) error messages
if you skip this step.
3) To run spamd, add the following to /etc/rc.conf:
spamd_enable="YES"
4) Install mail/spamass-rules if you want some third-party
spam-catching rulesets
SECURITY NOTE:
By default, spamd runs as root (the AS_ROOT option). If you wish
to change this, add the following to /etc/rc.conf:
spamd_flags="-u spamd -H /var/spool/spamd"
==========================================================================
===> Cleaning for spamassassin-3.4.1_5
*** installing sought rules ***
- 100% of 2437 B 16 MBps 00m00s
gpg: WARNING: using insecure memory!
gpg: please see http://www.gnupg.org/documentation/faqs.html for more information
jexec stage sa-update --gpgkey 6C6191E3 --channel sought.rules.yerp.org
*** adding sa-update periodic task ***
*** adding DCC cleanup periodic task ***
*** starting up spamd ***
sysrc -R /jails/stage spamd_enable=YES
spamd_enable: -> YES
spamd_flags: -> -v -q -x -u spamd -H /var/spool/spamd -A 172.16.15.0/24
jexec stage service sa-spamd start
Starting spamd.
*** testing spamassassin ***
spamd perl 40243 5 tcp4 172.16.15.254:783 *:*
spamd perl 40242 5 tcp4 172.16.15.254:783 *:*
root perl 40239 5 tcp4 172.16.15.254:783 *:*
it worked
*** promoting jail spamassassin ***
stopping jail stage (stage)
Stopping jails: stage.
stage: removed
nameserver 172.16.15.3
unmounting /jails/stage/usr/ports
no data fs to unmount
unmounting /jails/stage/dev
clearing pkg cache
zfs rename zroot/jails/stage zroot/jails/spamassassin.ready
cannot unmount '/jails/stage': Device busy
waiting for ZFS filesystem to quiet
cannot unmount '/jails/stage': Device busy
waiting for ZFS filesystem to quiet
cannot unmount '/jails/stage': Device busy
waiting for ZFS filesystem to quiet
cannot unmount '/jails/stage': Device busy
waiting for ZFS filesystem to quiet
cannot unmount '/jails/stage': Device busy
waiting for ZFS filesystem to quiet
cannot unmount '/jails/stage': Device busy
waiting for ZFS filesystem to quiet
cannot unmount '/jails/stage': Device busy
waiting for ZFS filesystem to quiet
cannot unmount '/jails/stage': Device busy
waiting for ZFS filesystem to quiet
cannot unmount '/jails/stage': Device busy
waiting for ZFS filesystem to quiet
cannot unmount '/jails/stage': Device busy
waiting for ZFS filesystem to quiet
stopping jail spamassassin (spamassassin)
Stopping jails: spamassassin.
no data fs to unmount
zroot/jails/spamassassin.last filesystem exists
zfs destroy zroot/jails/spamassassin.last
zroot/jails/spamassassin filesystem exists
zfs rename zroot/jails/spamassassin zroot/jails/spamassassin.last
zfs rename zroot/jails/spamassassin.ready zroot/jails/spamassassin
*** start jail spamassassin ***
Starting jails: spamassassin.
Success! A new 'spamassassin' jail is provisioned
# jls
JID IP Address Hostname Path
3 172.16.15.3 dns /jails/dns
5 172.16.15.4 mysql /jails/mysql
7 172.16.15.5 clamav /jails/clamav
9 172.16.15.14 avg /jails/avg
15 172.16.15.6 spamassassin /jails/spamassassin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment