mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
d73b6de2b8
- Automate config file updates - Include config file handling in package - Update maintainer address PR: ports/157065 Submitted by: Chris Rees (utisoft@gmail.com) (self) Reviewed by: Kevin Kobb Approved by: tabthorpe (co-mentor)
53 lines
2.0 KiB
Plaintext
53 lines
2.0 KiB
Plaintext
*************************************************************************
|
|
_ _____ _____ _____ _ _ _____ ___ ___ _ _
|
|
/ \|_ _|_ _| ____| \ | |_ _|_ _/ _ \| \ | |
|
|
/ _ \ | | | | | _| | \| | | | | | | | | \| |
|
|
/ ___ \| | | | | |___| |\ | | | | | |_| | |\ |
|
|
/_/ \_\_| |_| |_____|_| \_| |_| |___\___/|_| \_|
|
|
|
|
See %%PREFIX%%/share/doc/MailScanner/README.FreeBSD.port,
|
|
http://www.mailscanner.info, the man pages MailScanner and
|
|
MailScanner.conf for further instructions.
|
|
|
|
You will need to make several modifications to config files
|
|
before MailScanner will work correctly.
|
|
|
|
The provided default configuration requires several directories
|
|
to be created:
|
|
|
|
/var/spool/MailScanner/incoming
|
|
/var/spool/MailScanner/incoming/Locks
|
|
/var/spool/MailScanner/quarantine
|
|
/var/spool/mqueue
|
|
/var/spool/mqueue.in
|
|
|
|
Either create those directories or change the configuration.
|
|
|
|
Sophos users: Please take a look at the Sophos install
|
|
script %%PREFIX%%/share/doc/MailScanner/Sophos.install.freebsd
|
|
|
|
*****************************************************************
|
|
A new optional rc variable called mailscanner_user has been added
|
|
to the startup script. This is a temporary workaround to address
|
|
any possible taint mode problems that may still be present in the
|
|
code.
|
|
|
|
Taint mode related problems can usually be identified from
|
|
undeliverable reports containing the following error:
|
|
|
|
"MailScanner: Message attempted to kill MailScanner"
|
|
|
|
If you changed the "Run As User" variable in MailScanner.conf
|
|
and wish to disable taint mode, you MUST also set the same value
|
|
in /etc/rc.conf.
|
|
|
|
i.e. mailscanner_user="postfix"
|
|
|
|
To re-enable taint mode, simply remove the variable from rc.conf.
|
|
|
|
The new variable uses su to start the master perl script as the
|
|
specified user, this effectively disables perl's taint mode.
|
|
*****************************************************************
|
|
|
|
*************************************************************************
|