1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/mail/mailscanner/files
Chris Rees 76be0c45c6 Fix mktemp use (GNUism optional -t part for directory)
PR:		ports/167000
Submitted by:	Kevin Kobb <kkobb@skylinecorp.com> (maintainer)
2012-04-18 07:30:16 +00:00
..
CHANGES.port Fix mktemp use (GNUism optional -t part for directory) 2012-04-18 07:30:16 +00:00
MailScanner.8.in - Fix MS TNEF unpacking 2012-03-21 21:08:02 +00:00
mailscanner.in - Fix MS TNEF unpacking 2012-03-21 21:08:02 +00:00
mta.in - Fix MS TNEF unpacking 2012-03-21 21:08:02 +00:00
patch-bin-cron-update_phishing_sites.cron
patch-bin-cron-update_virus_scanners.cron
patch-lib__MailScanner__TNEF.pm - Fix MS TNEF unpacking 2012-03-21 21:08:02 +00:00
patch-lib-clamav-wrapper
pkg-deinstall.in
pkg-install.in Fix SPAMASSASSIN_SYMLINK (again) 2012-03-22 19:18:55 +00:00
pkg-message.in
README.FreeBSD.port - Fix MS TNEF unpacking 2012-03-21 21:08:02 +00:00
Sophos.install.freebsd

The MailScanner port is using the original MailScanner tarball from 
www.mailscanner.info. Unfortunately the tarball consists of MailScanner
and perl modules etc, MailScanner depends on. The port is not using
Julian's install.sh or the provided modules. All modules that MailScanner
depends on are installed via ports as well.

In order to make the installation FreeBSD compliant the port installs files
in the following directories:

/usr/local/sbin			MailScanner binary
/usr/local/libexec/MailScanner	virus wrapper/autoupdate, cron-scripts etc.
/usr/local/lib/MailScanner	MailScanner Perl libraries
/usr/local/share/MailScanner	MailScanner report templates
/usr/local/share/doc/MailScanner	Documentation
/usr/local/etc/MailScanner	MailScanner config files / rules
/usr/local/etc/rc.d		start/stop scripts

The port installs two start/stop scripts in /usr/local/etc/rc.d:

mailscanner
mta

My suggestion is to use mta instead of the usual FreeBSD MTA startup
process. This of course means that you will have to disable MTA startup 
in rc.conf completely. Put this in your rc.conf:

sendmail_enable="NONE"

Please have a look at the provided start scripts for settings you have to
make in rc.conf.

When upgrading the port it will try to look for new options/variables in
MailScanner.conf using Julians upgrade_MailScanner_conf script. If it finds
changes it will create a newly merged MailScanner.conf and copy it to
/usr/local/etc/MailScanner/MailScanner.conf.new.PORTVERSION. Moreover the 
port will try to update all your languages conf files.


If you have suggestions for this port please contact the port maintainer.