freebsd-ports/mail/assp/files/assp.sh.in
Jean-Yves Lefort 6b9e5c9ab2 Add assp.
Anti-Spam SMTP Proxy is a spam filter that sits on port 25 in front of your
regular SMTP server (sendmail, postfix, qmail, etc).

ASSP performs a number of configurable spam checks, and on detecting a spam
message, provides an immediate 5xx SMTP error code back to the client.
Non-spam messages are passed to your regular SMTP server for further
processing and delivery.

ASSP offers:
	- a whitelist of known good senders
	- Bayesian checks on message headers and contents
	- recipient address validation using LDAP and RFC822 conformance
	- relay denial
	- HELO checking
	- SPF (Sender Policy Framework) checking
	- DNSBL (DNS Block List) checking using many DNSBL services
	- Virus detection

ASSP is a single script with a web-based configuration tool.

WWW: http://assp.sourceforge.net/

PR:		ports/81570
Submitted by:	J.R. Oldroyd <fbsd@opal.com>
2005-05-28 09:56:27 +00:00

23 lines
305 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: assp
# REQUIRE: LOGIN
# KEYWORD: FreeBSD
. %%RC_SUBR%%
name=assp
rcvar=`set_rcvar`
command=%%PREFIX%%/sbin/assp
command_interpreter=%%PERL%%
pidfile=%%ASSP_HOME%%/pid
load_rc_config $name
: ${assp_enable="NO"}
: ${assp_flags="%%ASSP_HOME%%"}
run_rc_command "$1"