Matt Simerson
ebdb25a4bd
extracted config*() from Qpsmtpd.pm -> Config.pm
...
* includes full test converage for Qpsmtpd::Config
* folded t/config.t into t/qpsmtpd-config.t
* includes additional tests for Qpsmtpd
* folded t/tempstuff into t/qpsmtpd.t
* PBP adjustments here and there
* other tweaks to handle test warnings
2014-09-15 23:41:31 -07:00
Matt Simerson
1e3136a0d0
revert movement of qp bins to bin/
...
plugin dir, config dir, spool dir, all have different logic about where/how to find their config. The logic needs some untangling and unification before attempting this again.
2013-08-05 15:05:37 -07:00
Matt Simerson
791237841b
replace run with separate run for the 2 common
...
deployment methods. Rather than having to edit the run file, it's much easier to rename the run file.
Moved qpsmtpd* into bin/
2013-08-05 15:05:37 -07:00
Matt Simerson
6b431807c3
perltidy -b qpsmtpd*
2013-08-05 15:05:15 -07:00
Diego d'Ambra
18d1b9f1da
Detach and daemonize only after reading the configuration and loading the plugins, to give the init scripts a chance to detect failed startups due to broken configuration or plugins.
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@938 958fd67b-6ff1-0310-b445-bb7760255be9
2008-09-04 11:38:54 +00:00
Matt Sergeant
b7f39a9713
Config port should be =i (integer).
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@861 958fd67b-6ff1-0310-b445-bb7760255be9
2008-03-18 15:18:51 +00:00
Matt Sergeant
31a498cfd7
Restore timers on reset
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@859 958fd67b-6ff1-0310-b445-bb7760255be9
2008-03-13 21:20:56 +00:00
Matt Sergeant
ddb7cd19d8
Drop privileges properly (Radu Greab)
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@856 958fd67b-6ff1-0310-b445-bb7760255be9
2008-03-13 19:56:25 +00:00
Matt Sergeant
83d7cb9119
Reset Danga::Socket in the child (Radu Greab)
...
Add commented out profiling code
Add --config-port to help text
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@853 958fd67b-6ff1-0310-b445-bb7760255be9
2008-03-13 19:50:01 +00:00
Matt Sergeant
5f6d3dba0d
Resolve conflict between debug and detach flags
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@840 958fd67b-6ff1-0310-b445-bb7760255be9
2008-01-30 18:41:24 +00:00
Matt Sergeant
3f00a90b3b
Pause read at the start so we don't read data while waiting for rDNS results.
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@831 958fd67b-6ff1-0310-b445-bb7760255be9
2008-01-02 20:37:45 +00:00
Matt Sergeant
cfa23dedec
Don't listen for readiness in the parent any more - breaks under high load.
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@823 958fd67b-6ff1-0310-b445-bb7760255be9
2007-12-03 21:37:45 +00:00
Matt Sergeant
40c485e769
Support for HUPing the server to clear the cache
...
Wake-one child support
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@822 958fd67b-6ff1-0310-b445-bb7760255be9
2007-12-03 17:45:31 +00:00
Matt Sergeant
c636c9ab92
Allow qpsmtpd-async to detatch (Chris Lewis).
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@807 958fd67b-6ff1-0310-b445-bb7760255be9
2007-10-04 15:18:57 +00:00
Matt Sergeant
8b5488dd77
Fix dropping privileges code to be same as forkserver
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@745 958fd67b-6ff1-0310-b445-bb7760255be9
2007-05-26 23:38:09 +00:00
Matt Sergeant
784f02977d
Use process_line instead of push_back_read which should be more efficient
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@744 958fd67b-6ff1-0310-b445-bb7760255be9
2007-05-26 00:49:00 +00:00
Matt Sergeant
2b709d664c
Async qpsmtpd (still entirely compatible with non-async version)
...
git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.3x@679 958fd67b-6ff1-0310-b445-bb7760255be9
2006-12-08 19:46:18 +00:00