Skip to content

Commit

Permalink
more forkserver promotion
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed Mar 12, 2024
1 parent 4aea6ca commit 8d7ea12
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
1 change: 1 addition & 0 deletions META.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ requires:
Time::TAI64: 0
Mail::SPF: 0
Geo::IP: 0
Redis: 0
version: 1.00
3 changes: 2 additions & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ WriteMakefile(
'Test::More' => 0,
'Test::Output' => 0,
# modules for specific features
'Mail::SPF' => 0,
'Mail::DKIM' => 0.40,
'File::Tail' => 0, # log/summarize, log/watch
'Time::TAI64' => 0, # log2sql
'Redis' => 0,
# 'DBI' => 0, # auth_vpopmail_sql and
# 'DBD::mysql' => 0, # log2sql
# 'DBIx::Simple' => 0, # log2sql
Expand All @@ -33,7 +35,6 @@ WriteMakefile(
'Geo::IP' => 1,
'Math::Complex' => 0, # geodesic distance in Geo::IP
'PerlIO::gzip' => 0, # gunzip GeoIP databases
'Mail::SPF' => 0,
},
ABSTRACT => 'Flexible smtpd daemon written in Perl',
AUTHOR => 'Ask Bjoern Hansen <[email protected]>',
Expand Down
12 changes: 6 additions & 6 deletions packaging/rpm/files/qpsmtpd-forkserver.rc
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
#! /bin/bash
#
# qpsmtpd-forkserver Start/Stop the qpsmtpd forking server
# qpsmtpd Start/Stop the qpsmtpd forking server
#
# chkconfig: 2345 90 60
# description: qpsmtpd is a flexible smtpd daemon written in Perl. \
# Apart from the core SMTP features, all functionality is \
# implemented in small "extension plugins" using the easy \
# to use object oriented plugin API.
# processname: qpsmtpd-forkserver
# processname: qpsmtpd
# config: /etc/qpsmtpd
# pidfile: /var/run/qpsmtpd-forkserver.pid
# pidfile: /var/run/qpsmtpd.pid


# Source function library.
. /etc/init.d/functions
. /etc/sysconfig/qpsmtpd-forkserver
. /etc/sysconfig/qpsmtpd

RETVAL=0

# See how we were called.

prog="qpsmtpd-forkserver"
prog="qpsmtpd"

start() {
# cleanup environment a bit.
Expand Down Expand Up @@ -109,7 +109,7 @@ case "$1" in
reload
;;
status)
qpstatus qpsmtpd-forkserver
qpstatus qpsmtpd
;;
condrestart)
[ -f /var/lock/subsys/$prog ] && restart || :
Expand Down
2 changes: 1 addition & 1 deletion packaging/rpm/files/qpsmtpd-forkserver.sysconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
QPSMTPD_OPTIONS="-p 25 -l 127.0.0.1 --pid-file /var/run/qpsmtpd-forkserver.pid"
QPSMTPD_OPTIONS="-p 25 -l 127.0.0.1 --pid-file /var/run/qpsmtpd.pid"
export QPSMTPD_CONFIG=/etc/qpsmtpd
export HOME=~smtpd

0 comments on commit 8d7ea12

Please sign in to comment.