Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 119198 Details for
Bug 153922
ebuild for mail-filter/dkim-milter
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
/etc/init.d/dkim-filter file
dkim-filter.init (text/plain), 2.00 KB, created by
Eray Aslan
on 2007-05-14 09:52:06 UTC
(
hide
)
Description:
/etc/init.d/dkim-filter file
Filename:
MIME Type:
Creator:
Eray Aslan
Created:
2007-05-14 09:52:06 UTC
Size:
2.00 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >depend() { > # need net > use dns logger net >} >warn_msg() { > echo > ewarn "$1 parameter is not set!" > ewarn "dkim-filter starts with" > ewarn "$1=${!1}" > ewarn "please set it in /etc/conf.d/dkim-filter" > echo >} > >die_msg() { > echo > eerror "please set paramter $1 in" > eerror "/etc/conf.d/dkim-filter then start again" > echo >} > >check_cfg() { > > if [[ ! -f /etc/conf.d/dkim-filter ]] ; then > eerror "/etc/conf.d/dkim-filter is missing" > return 1 > fi > > source /etc/conf.d/dkim-filter || { > eerror "Prolem sourcing /etc/conf.d/dkim-filter" > eerror "Please correct and start dkim-filter again" > return 1 > } > > if [[ -z "${DK_FILTER_OPTS}" ]] ; then > die_msg DK_FILTER_OPTS > return 1 > fi > > if [[ -z "${SELECTOR}" ]] ; then > die_msg SELECTOR > return 1 > fi > > if [[ -z "${KEYPATH}" ]] ; then > die_msg KEYPATH > return 1 > fi > > if [[ ! -f "${KEYPATH}" ]] ; then > echo > eerror "run gentxt.sh to generate a private key first" > eerror "then set KEYPATH in /etc/conf.d/dkim-filter to" > eerror "the location of your private key" > echo > return 1 > fi > > if [[ -z "${SOCKETSPEC}" ]] ; then > SOCKETSPEC="inet:8026@localhost" > warn_msg SOCKETSPEC > fi > > if [[ -z "${DOMAIN}" ]] ; then > DOMAIN=$(domainname) > warn_msg DOMAIN > fi > > if [[ -z "${CANON}" ]] ; then > CANON="relaxed/simple" > warn_msg CANON > fi > > if [[ -z "${USER}" ]] ; then > USER="milter" > warn_msg USER > fi > > if [[ -z "${SIGNALG}" ]] ; then > SIGNALG="rsa-sha1" > warn_msg SIGNALG > fi > > if [[ -z "${PIDFILE}" ]] ; then > PIDFILE="/var/run/dk-filter/dkim-filter-s.pid" > warn_msg PIDFILE > fi > > source /etc/conf.d/dkim-filter >} > >start() { > check_cfg || return 1 > # einfo "DK_FILTER_OPTS: $DK_FILTER_OPTS" > ebegin "Starting DKIM Filter" > start-stop-daemon --start --quiet --background \ > --exec /usr/bin/dkim-filter -- ${DK_FILTER_OPTS} > eend $? >} > >stop() { > ebegin "Stopping DKIM Filter" > start-stop-daemon --stop --quiet --name dkim-filter > eend $? >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 153922
:
104854
|
104855
|
104856
|
104857
|
104859
|
104860
|
104861
|
119194
|
119196
|
119198
|
119202
|
121684
|
121685
|
121726
|
121727
|
121728
|
124532
|
124534
|
126618
|
126619
|
132961
|
132962