Commit Graph

  • 00e06cc612 Remove PID file on exit, if we were told to create one with --pid-file Devin Carraway 2005-07-29 07:22:36 +0000
  • a2064bc22e Add --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
  • a3ff03fec9 Merge r493 from trunk to truncate PID file before re-use Devin Carraway 2005-07-29 06:21:02 +0000
  • ea28e88fa6 Extend 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
  • 37fb26af81 my 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
  • 006f129c21 Merge 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
  • 96ff5e1082 r521@bear: rspier | 2005-07-19T03:24:18.553459Z MANIFEST update from steve peters Robert Spier 2005-07-19 03:24:42 +0000
  • 820a3bcb2b return DECLINED for bad_ssl Matt Sergeant 2005-07-18 12:51:57 +0000
  • 7edb1fd93a Fix "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
  • f096f293c1 Missed hook to data_post to add headers John Peacock 2005-07-18 11:10:11 +0000
  • 5f3c2dfa22 Missed hook to data_post to add headers John Peacock 2005-07-18 11:07:18 +0000
  • 43aef48532 Correctly 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
  • e8a9828e4e Notice /var/qmail/control dir (Joe Schaefer) Matt Sergeant 2005-07-15 21:15:44 +0000
  • 162cf7d132 Notice /var/qmail/control dir (Joe Schaefer) Matt Sergeant 2005-07-15 21:13:49 +0000
  • 3096164159 Support smtpgreeting file from qmail/control John Peacock 2005-07-15 10:35:23 +0000
  • 2ca6e9d192 MERGE 503:505 FROM https://svn.perl.org/qpsmtpd/branches/0.31 Matt Sergeant 2005-07-14 13:31:07 +0000
  • bcbe2ac25f Don't do exists() on a method call Matt Sergeant 2005-07-14 13:25:48 +0000
  • 3707751b42 This 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
  • bfd72e8ade Fix test failures due to hook renames John Peacock 2005-07-14 10:38:11 +0000
  • 35f45f208b These changes to trunk were missed when 0.31 was branched. John Peacock 2005-07-14 02:31:01 +0000
  • 51f1f32928 Fix for forkserver breakage Matt Sergeant 2005-07-13 17:10:38 +0000
  • f0b31cbb9b MERGE 498:499 FROM https://svn.perl.org/qpsmtpd/trunk Matt Sergeant 2005-07-12 22:14:48 +0000
  • e100e3d67a Better fix for previous bug Matt Sergeant 2005-07-12 21:59:30 +0000
  • 54cff7af40 When setting OtherFds, always make it an addition to what's already set Matt Sergeant 2005-07-12 20:40:32 +0000
  • e407e8b470 MERGE r386:r480 FROM https://svn.perl.org/qpsmtpd/branches/high_perf High perf branch merge and fixes Matt Sergeant 2005-07-11 19:11:11 +0000
  • 9683016276 MERGE r386:r480 FROM https://svn.perl.org/qpsmtpd/branches/high_perf High perf branch merge and fixes Matt Sergeant 2005-07-11 19:10:49 +0000
  • 11da7e2778 Work around race condition (not fixed, but mostly fixed) Matt Sergeant 2005-07-11 16:00:03 +0000
  • 8c018d75ac Pass args to unrecognized_command Matt Sergeant 2005-07-11 12:24:26 +0000
  • 20154f7094 If 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
  • 58cce1ab30 Clean up PID file on exit, if enabled Devin Carraway 2005-07-10 11:38:40 +0000
  • 1f7ece38f2 r589@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
  • 00c53652c9 r547@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
  • 8a3c3c40b0 tls support Matt Sergeant 2005-07-08 16:50:24 +0000
  • fac8cd7a30 TLS plugin Matt Sergeant 2005-07-08 16:43:37 +0000
  • 812771ad16 Don't use exists() on a method call. Matt Sergeant 2005-07-08 13:06:15 +0000
  • ae99e6e3f2 r491@dog: rspier | 2005-07-07 20:32:53 -0700 fix isa_plugins typo Robert Spier 2005-07-08 03:37:09 +0000
  • ae83f011ac rename 0.31 branch Ask Bjørn Hansen 2005-07-07 20:41:37 +0000
  • c78dad0a3b Revert to proper versions Matt Sergeant 2005-07-07 20:10:03 +0000
  • a1324b5ddb Version 0.31 branch Matt Sergeant 2005-07-07 19:48:19 +0000
  • 90daeb3786 r483@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
  • 254b4fd2b2 return 500 rather than 521 for DENY in the unrecognized_command hook Ask Bjørn Hansen 2005-07-06 22:22:29 +0000
  • 7711e5a024 Fix docs for unrecognized_command Matt Sergeant 2005-07-06 22:18:35 +0000
  • c3562e256d Allow DENY to be returned from unrecognised_command again Matt Sergeant 2005-07-06 22:16:08 +0000
  • 4f0c4d94a1 The 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
  • d48cd2e37e No idea what that was doing in there... Matt Sergeant 2005-07-06 20:36:02 +0000
  • 71f6fc1dff Fix 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
  • 6e01a45b0f Update PREREQ_PM Matt Sergeant 2005-07-06 19:09:07 +0000
  • 1988c490e2 Remove 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
  • 96f8575bb5 lowercase distribution name Ask Bjørn Hansen 2005-07-06 14:31:37 +0000
  • 3fc6a4f318 Make sure we process all servers after select() Matt Sergeant 2005-07-06 12:13:53 +0000
  • 1e68345cf2 Clean 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
  • 1fbfe5156b Implement 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
  • 314625d05a Another small cleanup Matt Sergeant 2005-07-05 15:25:54 +0000
  • 4b72a40100 Minor cleanup Matt Sergeant 2005-07-05 15:20:40 +0000
  • 698fc01595 Make 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
  • df5a2e9d95 bump version to 0.31-dev Ask Bjørn Hansen 2005-07-04 14:39:29 +0000
  • 3b7bfe9bce update the MANIFEST Ask Bjørn Hansen 2005-07-02 02:08:37 +0000
  • 9eda52cd2c update changes file for 0.30. Ask Bjørn Hansen 2005-07-02 00:20:21 +0000
  • 2847144641 Fix typo in forkserver commandline help Devin Carraway 2005-06-29 09:37:10 +0000
  • 532ce30f64 Replace $ENV{RELAYCLIENT} with $connection->relay_client in last plugin. John Peacock 2005-06-28 13:35:29 +0000
  • 1c22628118 Automatically ramp up the number of connections we accept when under heavy load Matt Sergeant 2005-06-24 16:07:48 +0000
  • 1f98f22376 Fix 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
  • a268ec079a Make _respond methods work when only one value is returned Matt Sergeant 2005-06-23 21:05:44 +0000
  • a4a62af847 Port to CONTINUATIONS style Matt Sergeant 2005-06-23 12:27:38 +0000
  • 5b9f01b5e4 New AV plugin. Uses SOPHOS Antivirus via Sophie resident daemon. John Peacock 2005-06-22 20:06:54 +0000
  • 6047477c11 Get rid of horrible ticker() stuff and replace with AddTimer calls Matt Sergeant 2005-06-22 19:40:57 +0000
  • be6b0e203c Fix a number of duh's in new code Matt Sergeant 2005-06-22 18:56:58 +0000
  • bc3f52a380 Push enable/disable read call into lib/Qpsmtpd.pm Matt Sergeant 2005-06-22 18:25:16 +0000
  • 5853c3a011 Cleanup Timer code Matt Sergeant 2005-06-22 18:24:34 +0000
  • 51b035ad62 Switch 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
  • 9664eb9469 Change 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
  • cb047d9aa9 Timer 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
  • b54c8ec46c Use flatten code instead of the over complex bucket manipulation Matt Sergeant 2005-06-20 21:03:41 +0000
  • b906f67123 Ported to support Apache::Qpsmtpd Matt Sergeant 2005-06-20 18:46:38 +0000
  • 9ba9d68f72 check_loop plugin by Keith Ivey Matt Sergeant 2005-06-20 14:56:36 +0000
  • 014efa87c4 Don't delete the buckets Matt Sergeant 2005-06-18 18:58:30 +0000
  • a4517bdfa4 Continuation support Matt Sergeant 2005-06-18 18:22:16 +0000
  • 6ed494275b Support a flag for how many connections to accept in the accept loop Matt Sergeant 2005-06-18 18:20:49 +0000
  • 8b85efcfe8 There'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
  • b323b33f60 More cleanup Matt Sergeant 2005-06-15 20:34:34 +0000
  • 4360370e7e A 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
  • 8b50b6dd46 Two new plugins from Gordon Rowell <gordonr@gormand.com.au> John Peacock 2005-06-09 16:36:43 +0000
  • 9fbf25a708 More of the same. Matt Sergeant 2005-06-08 22:25:28 +0000
  • 1f036fee90 Move 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
  • 25f2b302d7 Enforce stricture Matt Sergeant 2005-05-25 16:36:14 +0000
  • 42e49d493a Don'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
  • 56451a722f First, 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
  • 3b9c5b69fd Move PLC managment into close() and call close() in DESTROY Matt Sergeant 2005-05-23 12:59:57 +0000
  • 26c40f989b Fix for in-memory code writing headers twice Matt Sergeant 2005-05-20 12:39:29 +0000
  • ec9ddc09d2 Fix for in-memory code copying headers twice Matt Sergeant 2005-05-20 12:39:05 +0000
  • 9432e1bac1 Use SOMAXCONN which makes connections MUCH happier on high load servers Matt Sergeant 2005-05-19 15:39:53 +0000
  • 62aebd2a3e Make 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
  • e3a5d6c3c6 Make 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
  • 37c96a1773 Cache the hooks Matt Sergeant 2005-05-12 22:08:37 +0000
  • e743c5903c Cache the peer_ip Matt Sergeant 2005-05-12 22:08:20 +0000
  • c0c5078f82 Fix warning Matt Sergeant 2005-05-12 12:58:13 +0000