diff options
author | peter <peter@pkgsrc.org> | 2005-06-28 12:43:57 +0000 |
---|---|---|
committer | peter <peter@pkgsrc.org> | 2005-06-28 12:43:57 +0000 |
commit | 868975711d1305886c1178d0b1d72aea7e951507 (patch) | |
tree | 490bbd771a0c9cc3e27cb0ee7f3344bad641ba9a /mail/spamd/files | |
parent | 762c5a45c78c525bef97dc03bbc9933b6eefd682 (diff) | |
download | pkgsrc-868975711d1305886c1178d0b1d72aea7e951507.tar.gz |
Initial import of spamd-20050624 (from OpenBSD 3.7 sources).
spamd is a fake sendmail(8)-like daemon which rejects false mail. If the
pf packet filter (security/pflkm) is configured to redirect port 25 (SMTP)
to this daemon, it will attempt to waste the time and resources of
the spam sender.
Approved by Thomas Klausner.
Diffstat (limited to 'mail/spamd/files')
-rw-r--r-- | mail/spamd/files/pfspamd.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/mail/spamd/files/pfspamd.sh b/mail/spamd/files/pfspamd.sh new file mode 100644 index 00000000000..6aa0c314373 --- /dev/null +++ b/mail/spamd/files/pfspamd.sh @@ -0,0 +1,23 @@ +#!@RCD_SCRIPTS_SHELL@ +# +# $NetBSD: pfspamd.sh,v 1.1.1.1 2005/06/28 12:43:57 peter Exp $ +# +# PROVIDE: pfspamd +# REQUIRE: DAEMON +# + +. /etc/rc.subr + +name="pfspamd" +rcvar=$name +command="@PREFIX@/libexec/spamd" + +pfspamd_postcmd() +{ + if [ -x @PREFIX@/libexec/spamd-setup ]; then + @PREFIX@/libexec/spamd-setup + fi +} + +load_rc_config $name +run_rc_command "$1" |