00e06cc612Remove PID file on exit, if we were told to create one with --pid-file
Devin Carraway
2005-07-29 07:22:36 +0000
a2064bc22eAdd --detach commandline option to forkserver; if supplied, daemonize just prior to entering the main accept loop.
Devin Carraway
2005-07-29 06:42:00 +0000
a3ff03fec9Merge r493 from trunk to truncate PID file before re-use
Devin Carraway
2005-07-29 06:21:02 +0000
ea28e88fa6Extend require_resolvable_fromhost to include a configurable list of "impossible" addresses to combat spammer forging. (Hanno Hecker)
John Peacock
2005-07-28 20:25:54 +0000
37fb26af81my suggestion for a .perltidyrc. I tried it on a few files and it cleaned up more than it changed.
Ask Bjørn Hansen
2005-07-23 11:11:32 +0000
006f129c21Merge in a bunch of changes from Bradfitz's Danga::Socket 1.40-1.43
Matt Sergeant
2005-07-19 15:37:14 +0000
58f7129ada[merge from trunk] Use qmail/control/smtpdgreeting if it exists, otherwise show the original qpsmtpd greeting (with version information).
John Peacock
2005-07-19 14:20:05 +0000
96ff5e1082r521@bear: rspier | 2005-07-19T03:24:18.553459Z MANIFEST update from steve peters
Robert Spier
2005-07-19 03:24:42 +0000
820a3bcb2breturn DECLINED for bad_ssl
Matt Sergeant
2005-07-18 12:51:57 +0000
7edb1fd93aFix "no pseudo hash" bug
Matt Sergeant
2005-07-18 12:50:35 +0000
a69b2e1526[merge from trunk] Missed hook to data_post to add headers
John Peacock
2005-07-18 11:13:17 +0000
f096f293c1Missed hook to data_post to add headers
John Peacock
2005-07-18 11:10:11 +0000
5f3c2dfa22Missed hook to data_post to add headers
John Peacock
2005-07-18 11:07:18 +0000
43aef48532Correctly handle the case where smtpgreeting exists (append ESMTP) as well as the case where it doesn't (display original Qpsmtpd greeting).
John Peacock
2005-07-18 00:36:49 +0000
e8a9828e4eNotice /var/qmail/control dir (Joe Schaefer)
Matt Sergeant
2005-07-15 21:15:44 +0000
162cf7d132Notice /var/qmail/control dir (Joe Schaefer)
Matt Sergeant
2005-07-15 21:13:49 +0000
3096164159Support smtpgreeting file from qmail/control
John Peacock
2005-07-15 10:35:23 +0000
bcbe2ac25fDon't do exists() on a method call
Matt Sergeant
2005-07-14 13:25:48 +0000
3707751b42This fixes the redefined warnings. All plugins don't have register() any more, but they all have plugin_name().
John Peacock
2005-07-14 11:05:11 +0000
bfd72e8adeFix test failures due to hook renames
John Peacock
2005-07-14 10:38:11 +0000
35f45f208bThese changes to trunk were missed when 0.31 was branched.
John Peacock
2005-07-14 02:31:01 +0000
51f1f32928Fix for forkserver breakage
Matt Sergeant
2005-07-13 17:10:38 +0000
11da7e2778Work around race condition (not fixed, but mostly fixed)
Matt Sergeant
2005-07-11 16:00:03 +0000
8c018d75acPass args to unrecognized_command
Matt Sergeant
2005-07-11 12:24:26 +0000
20154f7094If the PID file already exists at startup, truncate to zero-length before attempting to re-use it. Otherwise if the new PID is shorter than the previous one the file will be corrupted by the rewrite (harmlessly the way it is being read by this code, but problematically for anything that expects to be able to run something similar to /bin/kill cat /path/to/pid.file)
Devin Carraway
2005-07-10 11:46:15 +0000
58cce1ab30Clean up PID file on exit, if enabled
Devin Carraway
2005-07-10 11:38:40 +0000
1f7ece38f2r589@jpeacock: jpeacock | 2005-07-10 06:54:32 -0400 Track hooks as array and hash. Re-revert changes to logging plugins to use new-style hooking. logging/adaptive assumed that register() has been called before hook_logging.
John Peacock
2005-07-10 10:56:55 +0000
00c53652c9r547@jpeacock: jpeacock | 2005-07-02 07:20:17 -0400 Replace pithy comment with something more neutral. Thanks Gordon Rowell <gordonr@gormand.com.au> r548@jpeacock: jpeacock | 2005-07-02 07:24:21 -0400 Example patterns for badrcptto plugin - Gordon Rowell <gordonr@gormand.com.au> r586@jpeacock: jpeacock | 2005-07-09 06:54:47 -0400 Don't use varlog() directly unless you are passing all parameters. Don't try to log() anything during loading of logging plugins. r587@jpeacock: jpeacock | 2005-07-09 06:59:57 -0400 Cannot use new-style hooking with logging plugins (yet).
John Peacock
2005-07-09 11:03:53 +0000
8a3c3c40b0tls support
Matt Sergeant
2005-07-08 16:50:24 +0000
fac8cd7a30TLS plugin
Matt Sergeant
2005-07-08 16:43:37 +0000
812771ad16Don't use exists() on a method call.
Matt Sergeant
2005-07-08 13:06:15 +0000
c78dad0a3bRevert to proper versions
Matt Sergeant
2005-07-07 20:10:03 +0000
a1324b5ddbVersion 0.31 branch
Matt Sergeant
2005-07-07 19:48:19 +0000
90daeb3786r483@dog: rspier | 2005-07-06 21:17:00 -0700 The great plugin renaming in the name of inheritance and standardization commit.
Robert Spier
2005-07-07 04:17:39 +0000
254b4fd2b2return 500 rather than 521 for DENY in the unrecognized_command hook
Ask Bjørn Hansen
2005-07-06 22:22:29 +0000
7711e5a024Fix docs for unrecognized_command
Matt Sergeant
2005-07-06 22:18:35 +0000
c3562e256dAllow DENY to be returned from unrecognised_command again
Matt Sergeant
2005-07-06 22:16:08 +0000
4f0c4d94a1The unrecognized_command hook now understands the DENY_DISCONNECT return and the DENY return is deprecated.
Ask Bjørn Hansen
2005-07-06 21:52:45 +0000
d48cd2e37eNo idea what that was doing in there...
Matt Sergeant
2005-07-06 20:36:02 +0000
71f6fc1dffFix plugin docs to reflect reality Re-order plugin docs to appear in the order things generally get called Fix SMTP.pm to reflect what's documented in README.plugins :-)
Matt Sergeant
2005-07-06 20:30:14 +0000
6e01a45b0fUpdate PREREQ_PM
Matt Sergeant
2005-07-06 19:09:07 +0000
1988c490e2Remove some changes cruft (it's in Changes after all) Add reference to qpsmtpd-forkserver Update required modules
Matt Sergeant
2005-07-06 19:06:01 +0000
96f8575bb5lowercase distribution name
Ask Bjørn Hansen
2005-07-06 14:31:37 +0000
3fc6a4f318Make sure we process all servers after select()
Matt Sergeant
2005-07-06 12:13:53 +0000
1e68345cf2Clean up whitespace (mainloop had a swath of 4-space indentation, while everything else used 2-space; also removed some tabs towards the beginning.)
Devin Carraway
2005-07-06 07:53:41 +0000
1fbfe5156bImplement listening on multiple local addresses simultaneously, if specified by more than one --listen-address commandline argument.
Devin Carraway
2005-07-06 07:50:00 +0000
314625d05aAnother small cleanup
Matt Sergeant
2005-07-05 15:25:54 +0000
4b72a40100Minor cleanup
Matt Sergeant
2005-07-05 15:20:40 +0000
698fc01595Make pid-file optional Use known-safe fork code for forking No more SIGCHLD for managing zombies (Peter Holzer) Don't block on accept() so we can call REAPER every second
Matt Sergeant
2005-07-05 15:16:36 +0000
03f8c0d2f8+ qpsmtpd-forkserver: add an option for writing a PID file (pjh) + + qpsmtpd-forkserver: set auxiliary groups (this is needed for the + postfix backend, which expects to have write permission to a fifo + which usually belongs to group postdrop). (pjh)
Ask Bjørn Hansen
2005-07-04 14:44:51 +0000
df5a2e9d95bump version to 0.31-dev
Ask Bjørn Hansen
2005-07-04 14:39:29 +0000
3b7bfe9bceupdate the MANIFEST
Ask Bjørn Hansen
2005-07-02 02:08:37 +0000
2847144641Fix typo in forkserver commandline help
Devin Carraway
2005-06-29 09:37:10 +0000
532ce30f64Replace $ENV{RELAYCLIENT} with $connection->relay_client in last plugin.
John Peacock
2005-06-28 13:35:29 +0000
1c22628118Automatically ramp up the number of connections we accept when under heavy load
Matt Sergeant
2005-06-24 16:07:48 +0000
1f98f22376Fix for when pipelining occurs we need to shift the pre-read data back onto the socket and let the socket loop come back to this socket's data later.
Matt Sergeant
2005-06-23 21:11:54 +0000
a268ec079aMake _respond methods work when only one value is returned
Matt Sergeant
2005-06-23 21:05:44 +0000
a4a62af847Port to CONTINUATIONS style
Matt Sergeant
2005-06-23 12:27:38 +0000
5b9f01b5e4New AV plugin. Uses SOPHOS Antivirus via Sophie resident daemon.
John Peacock
2005-06-22 20:06:54 +0000
6047477c11Get rid of horrible ticker() stuff and replace with AddTimer calls
Matt Sergeant
2005-06-22 19:40:57 +0000
be6b0e203cFix a number of duh's in new code
Matt Sergeant
2005-06-22 18:56:58 +0000
bc3f52a380Push enable/disable read call into lib/Qpsmtpd.pm
Matt Sergeant
2005-06-22 18:25:16 +0000
5853c3a011Cleanup Timer code
Matt Sergeant
2005-06-22 18:24:34 +0000
51b035ad62Switch sense of adaptive logging. Immediately echo log lines <= max level and save log lines <= min level. IIF a message is accepted for delivery, then echo out the saved log lines (typically just FROM and TO) with the prefix for multilog filtering into independent log files.
John Peacock
2005-06-22 14:42:09 +0000
9664eb9469Change remaining plugins to use LOGXXXX constants instead of bare numbers. Change plugins/dnsbl to permit AUTH'd or other relay clients even if IP is on a blacklist.
John Peacock
2005-06-22 14:08:57 +0000
cb047d9aa9Timer support added to Danga::Socket check_earlytalker updated to use timers Few other code cleanups to make sure check-earlytalker is fully working
Matt Sergeant
2005-06-21 20:02:14 +0000
b54c8ec46cUse flatten code instead of the over complex bucket manipulation
Matt Sergeant
2005-06-20 21:03:41 +0000
b906f67123Ported to support Apache::Qpsmtpd
Matt Sergeant
2005-06-20 18:46:38 +0000
9ba9d68f72check_loop plugin by Keith Ivey
Matt Sergeant
2005-06-20 14:56:36 +0000
014efa87c4Don't delete the buckets
Matt Sergeant
2005-06-18 18:58:30 +0000
a4517bdfa4Continuation support
Matt Sergeant
2005-06-18 18:22:16 +0000
6ed494275bSupport a flag for how many connections to accept in the accept loop
Matt Sergeant
2005-06-18 18:20:49 +0000
8b85efcfe8There's a hole in my bucket, dear Liza, dear Liza. There's a hole in my bucket, dear Liza, a hole.
Matt Sergeant
2005-06-17 13:33:57 +0000
b323b33f60More cleanup
Matt Sergeant
2005-06-15 20:34:34 +0000
4360370e7eA new auth plugin by Gordon Rowell <gordonr@gormand.com.au> Interfaces with Bruce Guenther's Credential Validation Module (CVM)
John Peacock
2005-06-10 12:11:26 +0000
8b50b6dd46Two new plugins from Gordon Rowell <gordonr@gormand.com.au>
John Peacock
2005-06-09 16:36:43 +0000
9fbf25a708More of the same.
Matt Sergeant
2005-06-08 22:25:28 +0000
1f036fee90Move the stats code purely into the plugin so that this can be extended easier.
Matt Sergeant
2005-06-08 22:24:00 +0000
662003437d* qpsmtpd-forkserver Create a single Qpsmtpd::TcpServer object in the parent process and then rely on fork to let each child have it's own copy
John Peacock
2005-05-25 20:07:58 +0000
25f2b302d7Enforce stricture
Matt Sergeant
2005-05-25 16:36:14 +0000
42e49d493aDon't set an alarm if in connect mode. Make fault() not return anything otherwise we get a "1" output in the stream
Matt Sergeant
2005-05-23 14:17:43 +0000
56451a722fFirst, since EventLoop goes off and does other things, any PostLoopCallback can signal "our" EventLoop to return. To ensure we wait the full time, we must loop around until the end condition is truly satisfied.
Matt Sergeant
2005-05-23 13:06:08 +0000
3b9c5b69fdMove PLC managment into close() and call close() in DESTROY
Matt Sergeant
2005-05-23 12:59:57 +0000
26c40f989bFix for in-memory code writing headers twice
Matt Sergeant
2005-05-20 12:39:29 +0000
ec9ddc09d2Fix for in-memory code copying headers twice
Matt Sergeant
2005-05-20 12:39:05 +0000
9432e1bac1Use SOMAXCONN which makes connections MUCH happier on high load servers
Matt Sergeant
2005-05-19 15:39:53 +0000
62aebd2a3eMake number of accepts we perform lower if MAXCONNIP is used Make connection hook get called after we do all the accept()s
Matt Sergeant
2005-05-17 11:48:02 +0000
e3a5d6c3c6Make post loop callbacks a local var so we don't have to iterate through as much
Matt Sergeant
2005-05-12 23:04:53 +0000
37c96a1773Cache the hooks
Matt Sergeant
2005-05-12 22:08:37 +0000
e743c5903cCache the peer_ip
Matt Sergeant
2005-05-12 22:08:20 +0000
c0c5078f82Fix warning
Matt Sergeant
2005-05-12 12:58:13 +0000