Import of pkgsrc-2015Q1

This commit is contained in:
2015-04-22 14:34:26 +02:00
committed by Lionel Sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870550 additions and 795435 deletions

View File

@@ -0,0 +1,7 @@
# $NetBSD: mopherd.acl,v 1.1 2014/12/01 13:58:15 gdt Exp $
#
# minimal mopherd.acl(5) for pkgsrc
#
# Greylist unknown senders for 5 minutes or 3 retries.
envrcpt counter_penpal == null greylist delay 5m attempts 3 deadline 2h visa 7d

View File

@@ -0,0 +1,35 @@
# $NetBSD: mopherd.conf,v 1.1 2014/12/01 13:58:15 gdt Exp $
#
# minimal mopherd.conf(5) for pkgsrc
#
# Your mailer-daemon needs to know about milter_socket.
workdir_path = "@MOPHER_HOME@"
mopherd_user = "@MOPHER_USER@"
mopherd_group = "@MOPHER_GROUP@"
control_socket = "unix:@MOPHER_HOME@/mopherd-c.sock"
milter_socket = "unix:@MOPHER_HOME@/mopherd-m.sock"
table[state] =
{
driver = "bdb",
path = "state.db"
}
table[greylist] =
{
driver = "bdb",
path = "greylist.db"
}
table[counter_relay] =
{
driver = "bdb",
path = "relay.db"
}
table[counter_penpal] =
{
driver = "bdb",
path = "penpal.db"
}

View File

@@ -0,0 +1,25 @@
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: mopherd.sh,v 1.1 2014/12/01 13:58:15 gdt Exp $
#
# PROVIDE: mopherd
# REQUIRE: DAEMON
# BEFORE: mail
# KEYWORD: shutdown
$_rc_subr_loaded . /etc/rc.subr
name=mopherd
rcvar=mopherd
pidfile=@MOPHER_RUN@/mopherd.pid
start_precmd=mopherd_precmd
command=@PREFIX@/sbin/mopherd
command_args="-p $pidfile"
mopherd_precmd()
{
@INSTALL@ -d -o @MOPHER_USER@ -g @MOPHER_GROUP@ @MOPHER_RUN@
}
load_rc_config mopherd
run_rc_command "$1"