Debian Codegraph @

Changes

raw
1
2 0.94 Sep 05, 2014
3
4 Added null char in username check to auth_cvm plugin
5
6 Build updates for CentOS 6 (Robert Siddall)
7
8 SpamAssassin plugin fixes (Priyadi Nurcahyo)
9
10 Added plugins/stunnel (luzluna)
11
12 Fixed a config error in Apache/Qpsmtpd.pm (luzluna)
13
14 loadcheck: imported (Robert Siddall)
15
16 return a useful error message when temp rejecting connections (Priyadi)
17
18 smtp_forward: added Postfix XCLIENT support (Chase Venters)
19
20 smtp_forward: add the remote message id in log entry (tpoindessous)
21
22 clamdscan: added support for remote (TCP/IP) clamd (M Simerson)
23
24 Updated DMARC plugin to use Mail::DMARC
25
26 Updated SPF & DKIM plugins to store data for DMARC processing
27
28 karma plugin: added spammy TLD penalty
29
30 a few more log prefixes (corralling stragglers)
31
32
33 0.93 Dec 17, 2013
34
35 Added Authentication-Results header
36 moves Authentication-Results to Original-Authentication-Results on inbound.
37 no longer puts auth info in Received header
38
39 TcpServer: ignore DNS search path and explicitely request PTR lookups (speedup)
40
41 store envelope TO/FROM in connection notes
42
43 raised max msg size in clamdscan
44
45 SPF enabled by default (if Mail::SPF available)
46
47 auth_vpopmaild: added taint checking to responses
48
49 added run files for most common deployment methods (easier install)
50
51 untaint config data passed to plugins
52
53 Qpsmtpd.pm: split config args on /\s+/, was / /
54 (compatibility with newer versions of perl)
55
56 dmarc: added subdomain policy handling
57
58
59 0.92 Apr 20, 2013
60
61 new plugins: dmarc, fcrdns
62
63 new feature: DKIM message signing. See 'perldoc plugins/dkim' for details.
64 includes script for generating DKIM selectors, keys, and DNS records.
65 RAM bumped up to 300MB, to avoid memory exhaustion errors.
66
67 Qpsmtpd.pm: untaint config options before passing them to plugins.
68
69 auth_vpopmaild: untaint responses obtained from network. Combined with the taint fix for config options, enables auth_vpopmaild to work when setting the host config and port
70
71 tls: added ability to store SSL keys in config/ssl
72
73 log2sql: added UPDATE query support
74
75 removed FAQ to: https://github.com/qpsmtpd-dev/qpsmtpd-dev/wiki/faq
76
77 helo: cease processing DNS records after first positive match
78
79 karma: sprinkled karma awards throughout other plugins
80 - limit poor karma hosts to 1 concurrent connection
81 - allow +3 conncurrent connections to hosts with good karma
82 - limit recipients to 1 for senders with negative karma
83
84 Sanitize spamd_sock path for perl taint mode - Markus Ullmann
85
86 geo_ip: added too_far option (deduct karma from distant senders)
87
88 bogus_bounce: add Return-Path check, per RFC 3834
89
90 Fix for Net::DNS break - Markus Ullmann
91
92 SPF: arrange logic to so improve reliability of spf pass reporting (helpful to DMARC plugin)
93
94 is_naughty removed from is_immune feature. Allows more granular handling by plugins.
95
96 0.91 Nov 20, 2012
97
98 a handful of minor changes to log messages, similar to v0.90
99
100 replace all instances of split '' with split // (required for 5.1?+)
101
102 clamdscan: skip processing of naughty messages
103
104 TcpServer: improved IPv6 support (Michael Holzt)
105
106 SPF: improved support for IPv6, removed is_in_relayclient in favor
107 of checking if relayclient() note is set.
108
109 spamassassin: added 'headers none' option
110
111 qmail_deliverable: added vpopmail extension support, reject null
112 senders to ezmlm mailing lists.
113
114 dnsbl rejections handled by naughty plugin
115
116 changed default loglevel from 9 to 6
117
118 allow messages with no body: (Robin's patch)
119
120 ordered config.sample/plugins roughly in SMTP phase order
121
122 added Plugins::adjust_karma, reduces code requirements in other plugins
123
124 added whitelist plugin
125
126 helo: added is_plain_ip to lenient checks
127
128 dspam improvements
129
130 added log2sql, log/watch.pl, log/summarize.pl, and plugins/registry.txt
131
132 new dkim plugin added (deprecates domainkeys plugin).
133
134 0.90 Jun 27, 2012
135
136 Many logging adjustments for plugins, to achieve the goal of emitting
137 a single message per plugin that provides a summary of that plugins
138 action(s) and/or outcome(s).
139
140 qmail_deliverable plugin added (depends on Qmail::Deliverable).
141
142 karma plugin added.
143
144 naughty plugin added.
145
146 count_unrecognized_commands: corrected variable assignment error
147
148 connection_time: added tcpserver deployment compatibility
149
150 loop: max_hops was sometimes unset
151
152 dnsbl,rhsbl: process DNS queries syncronously to improve overall efficiency
153
154 insert headers at top of message (consistent SMTP behavior) in uribl
155 domainkeys, spamassassin plugins.
156
157 spamassassin: consolidated two data_post methods (more linear, simpler)
158
159 rewrote check_basicheaders -> headers
160
161 renamed check_loop -> loop
162 renamed check_badrcptto -> badrcptto
163 renamed check_badmailfromto -> badmailfromto
164 renamed check_badmailfrom -> badmailfrom
165
166 check_badmailfrom_patterns, merged functionality into check_badmailfrom
167
168 check_badrcptto_patterns, merged functionality into check_badrcptto
169
170 check_basicheaders. New arguments available: past, future, reject, reject_type
171
172 sender_permitted_from. see UPGRADING (Matt Simerson)
173
174 dspam plugin added (Matt Simerson)
175
176 p0f version 3 supported and new default. see UPGRADING (Matt Simerson)
177
178 resolvable_fromhost ignores DNS search path (i.e. it expects fully resolved domains) (Robert Spier, Charlie Brady)
179
180 new plugin auth_vpopmaild (Robin Bowes)
181
182 new plugin auth_checkpassword (Matt Simerson)
183
184 auth_vpopmail_sql: more flexible db config (Matt Simerson)
185
186 new plugin check_bogus_bounce (Steve Kemp)
187
188 clamav: added ClamAV version to the X-Virus-Checked header,
189 as well as noting "no virus found". (Matt Simerson)
190
191 assorted documentation cleanups (Steve Kemp, Robert Spier)
192
193 Revert "Spool body when $transaction->body_fh() is called"
194
195 0.84 April 7, 2010
196
197 uribl: fix scan-headers option (Jost Krieger, Robert Spier)
198
199 exim: Use BSMTP response codes, various cleanups (Devin Carraway)
200
201 config: cache returned values from config plugins (Peter J. Holzer)
202
203 AUTH PLAIN bug with Alpine (Rick Richard)
204
205 resolvable_fromhost: Moved DENYSOFT for temp_resolver_failed
206 to the RCPT TO hook. (Larry Nedry)
207
208 Note Net::IP dependency (Larry Nedry)
209
210 Various minor spelling cleanups and such (Steve Kemp, Devin Carraway)
211
212 rpm: create .rpm files from the packaging/rpm directory (Peter J. Holzer,
213 Robin Bowes, Filippo Carletti, Richard Siddell)
214
215 spamassasin: Custom spam tag subject munging (Jonathan Martens, Robert Spier)
216
217 clamav: Fix typo in name of default configuration file (Filippo Carletti)
218
219
220 0.83 September 15, 2009
221
222 plugins/queue/maildir: Allow hyphens in the maildir path (Hinrik Örn Sigurðsson)
223
224 Modify plugins/virus/clamav no-summary option for ClamAV 0.95 (Jonathan Martens)
225
226 Temporary deny if clamd is not running (Shad L. Lords)
227
228 Fix spamassassin plugin log noise if spam score is 0.0
229
230 Fix spool_dir configuration documentation and README update (Tomas Lee)
231
232 Disconnect host in rhsbl (Charlie Brady)
233
234 POD cleanups (Steve Kemp)
235
236 check_badmailfrom: Fix parsing of reason messages etc (Robert Spier, Tomas Lee)
237
238 check_spamhelo disconnects after denying a 'helo' (Filippo Carletti)
239
240 Log even when aren't in a transaction (Jared Johnson)
241
242 prefork: More robust child spawning (Peter Samuelson)
243
244 Add dup_body_fh method to return a dup'd body FH (Jared Johnson)
245
246
247 0.82 - June 2, 2009
248
249 prefork: Fix problem with processes sometimes being "left behind" (Charlie Brady)
250
251 prefork: Fix startup when no interface addresses are specified (Devin Carraway)
252
253 prefork: add multi-address support
254
255 The clamdscan virus-scanning plugin now requires the ClamAV::Client
256 perl module instead of the older, deprecated Clamd module (Devin Carraway)
257
258 prefork: support --listen-address for consistency with forkserver
259
260 prefork: Sanitize the shell environment before loading modules
261
262
263 0.81 - April 2, 2009
264
265 Close spamd socket after reading the result back (Jared Johnson)
266
267 p0f plugin updates (Tom Callahan)
268
269 Change transaction->add_recipient to skip adding "null" rcpt if passed
270
271 Add logging/apache plugin for logging to the apache error log
272
273 Add connection_time plugin
274
275 Add git information to version number when running from a git clone
276
277 Add rcpt_regexp plugin (Hanno Hecker)
278
279 Add notes method to Qpsmtpd::Address objects (Jared Johnson)
280
281 Add remove_recipient method to the transaction object (Jared Johnson)
282
283 0.80 - February 27, 2009
284
285 moved development to git repository!
286
287 reorganized plugin author documentation
288
289 added End of headers hook: data_headers_end
290
291 added "random error plugin"
292
293 improve logging of plugins generating fatal errors (Steve Kemp)
294
295 async: added $connection->local_ip, $connection->local_port
296
297 async: Fix bug where the body_file/body_filename wouldn't have headers
298
299 lower log level of rcpt/from addresses
300
301 prefork: improve shutdown of parent (and children) on very busy
302 systems (Diego d'Ambra)
303
304 prefork: exit codes cleanup (based on patch by Diego d'Ambra)
305
306 prefork: detect and reset locked shared memory (based on patch by
307 Diego d'Ambra)
308
309 prefork: untaint the value of the --interface option (reported by
310 Diego d'Ambra)
311
312 prefork: the children pool size was sometimes not adjusted immediately
313 after the exit of children (reported by Diego d'Ambra)
314
315 async, prefork: detach and daemonize only after reading the configuration
316 and loading the plugins, to give the init scripts a chance to detect
317 failed startups due to broken configuration or plugins (Diego d'Ambra)
318
319 plugins/tls: close the file descriptor for the SSL socket
320
321 plugins/queue/maildir: multi user / multi domain support added
322 set the Return-Path header when queuing into maildir mailboxes
323
324 plugins/resolvable_fromhost: check all MX hosts, not just the first
325
326 remove outdated virus/check_for_hi_virus plugin
327
328 prefork, forkserver: restart on SIGHUP (reload all modules, with register()
329 or init() phase).
330
331 prefork: add --detach option to daemonize like forkserver
332 use user/group switching from forkserver to support secondary groups
333 (needed with plugins/queue/postfix-queue)
334 --pid-file now works
335
336 apache: add post-connection hook, connection->reset
337
338 Create async version of dns_whitelist_soft, rhsbl and uribl plugins.
339
340 async: added pre- and post-connection hooks
341
342 improve handling of inetd/xinetd connections (Hanno Hecker)
343
344 Qpsmtpd::Connection->notes are now reset on end of connection (currently
345 not in Apache). The workaround plugins/tls for -prefork is no longer
346 needed now.
347
348 keep the square brackets around the IP as "remote_host" if the reverse lookup failed (Hanno Hecker)
349
350 async: Dereference the DATA deny message before sending it to the client
351
352 Change async/resolvable_fromhost to match the logic of
353 the non-async version and other MTAs
354
355 async: Handle End-of-data marker split across packets
356
357 Allow plugins to use the post-fork hook
358
359 Add qpsmtpd-prefork to the install targets (Robin Bowes)
360
361 Address definitions are now package vars and can be overriden for
362 sites that wish to change the definition of an email address. (Jared Johnson)
363 http://groups.google.com/group/perl.qpsmtpd/browse_thread/thread/35e3a187d8e75cbe
364
365 New config option "spool_perms" to set permissions of spool_dir
366 (Jared Johnson)
367
368 leading/trailing whitespace in config files is ignored (Henry Baragar)
369
370 0.43 - February 5, 2008 - Never offically released; oops.
371
372 (This release was mostly done by Matt Sergeant and Hanno Hecker)
373
374 Allow qpsmtpd-async to detatch (Chris Lewis).
375
376 plugins/tls: work-around for failed connections in -prefork after
377 STARTTLS connection (Stefan Priebe, Hanno Hecker)
378
379 Make the cleanup socket location parameter in the postfix plugin work
380 ([email protected])
381
382 Implement config caching properly (for async).
383
384 Hook/plugin caching
385
386 Remove the connection / transaction id feature (never released)
387
388 Option to clamdscan to scan all messages, even if there are no attachments
389
390 add new clamd_user parameter that sets the user we pass to clamd
391
392 async: Support for HUPing the server to clear the cache. Wake-one child support.
393
394 async: Don't listen for readiness in the parent any more - breaks
395 under high load.
396
397 Made user() and host() setters as well as getters in
398 Qpsmtpd::Address. Suggested by [email protected].
399
400 Pluggable "help", based on patch by Jose Luis Martinez.
401
402 Updated plugin documentation.
403
404
405 0.42 - October 1, 2007 - Never released
406
407 Pluggable hook "noop"
408
409 Pluggable hook "help" (based on patch by Jose Luis Martinez)
410
411 async: better config caching (of flat files, not results from hook_config
412 or .cdb files), send SIGHUP to clear cache
413
414 New docs/plugins.pod documentation!
415
416 Add X-Spam-Level header in spamassassin plugin (idea from Werner Fleck)
417
418 prefork: support two or more parallel running instances (on different
419 ports; the first 4 digits of the port number must be different for each
420 instance - see IPC::Sharable).
421
422 prefork: Fix sporadic bug showing itself after millions of
423 connections (S. Priebe)
424
425 Remove the auth/authnull sample plugin (there are plenty proper examples now
426 so we don't have to include this insecure plugin)
427
428 POD syntax cleanup (Steve Kemp)
429
430 Fix Qpsmtpd::Plugins::isa_plugin() with multiple plugin dirs (Gavin Carr)
431
432 Fix false positives in check_for_hi_virus plugin (Jerry D. Hedden)
433
434 Make connection->local_ip available from the Apache transport (Peter Eisch)
435
436 Support checking for early talkers at DATA
437
438 Make the documented DENY{,SOFT}_DISCONNECT work in the data-post hook
439
440 Allow buffered writes in Postfix plugin (from Joe Schaefer)
441
442 Cleanup spamassassin plugin code a little
443
444 Fix bug which breaks queue plugins that implement continuations
445
446 Fix false positives in check_for_hi_virus plugin (Jerry D. Hedden)
447
448 Unrecognized command fix (issue #16)
449
450 Updated documentation (Apache 2.2, more)
451
452 Add uribl plugin (Devin Carraway)
453
454 0.40 - June 11, 2007
455
456 Add async server - uses epoll/kqueue/poll where available. (Matt Sergeant)
457
458 Add preforking qpsmtp server (Lars Roland)
459
460 Support SMTPS (John Peacock)
461
462 Support "module" plugins ("My::Plugin" in the config/plugins file)
463
464 Added IPv6 support. (Mike Williams)
465
466 Added tests for the rcpt_ok plugin (Guy Hulbert, issue #4)
467
468 Fix logging when dropping a mail due to size (m. allan noah /
469 kitno455, issue #13)
470
471 Don't drop privileges in forkserver if we don't have to.
472
473 greylisting: fix db_dir configuration option so it actually works
474 (kitno455, issue #6)
475
476 Correct header parsing of "space only" lines (Joerg Meyer, issue #11)
477
478 Update the sample configuration to use zen.spamhaus.org
479
480 Make the badmailfrom plugin support (optional) rejection messages after the
481 rejection pattern (Robin Hugh Johnson)
482
483 The ill-named $transaction->body_size() is depreceated now, use
484 $transaction->data_size() instead. Check your logs for LOGWARN messages
485 about "body_size" and fix your plugins. (Hanno Hecker)
486
487 Support pluggable Received headers (Matt Sergeant)
488
489 RFC3848 support for ESMTP. (Nick Leverton)
490
491 Updated the list of DNSBLs in the default config
492
493 Instead of failing with cryptic message, ignore lines in config/plugins
494 for uninstalled plugins. (John Peacock)
495
496 Clean up some of the logging (hjp)
497
498 Patch to prefork code to make it run (Leonardo Helman). Add --pretty
499 option to qpsmtpd-prefork to change $0 for child processes (John Peacock).
500
501 Add support for multiple plugin directories, whose paths are given by the
502 'plugin_dirs' configuration. (Devin Carraway, Nick Leverton)
503
504 Greylisting DBs may now be stored in a configured location, and are
505 looked for by default in /var/lib/qpsmtpd/greylisting in addition to the
506 previous locations relative to the qpsmtpd binary. (Devin Carraway)
507
508 New Qpsmtpd::Postfix::Constants to encapsulate all of the current return
509 codes from Postfix, plus script to generate it. (Hanno Hecker)
510
511 Add ability to specific socket for syslog (Peter Eisch)
512
513 Do the right thing for unimplemented AUTH mechanisms (Brian Szymanski)
514
515 relay_only plugin for smart relay host. (John Peacock)
516
517 Enhance the spamassassin plugin to support connecting to a remote
518 spamd process (Kjetil Kjernsmo).
519
520 Add domainkeys plugin (John Peacock)
521
522 Add SSL encryption method to header to mirror other qmail/SSL patches.
523 Add tls_before_auth to suppress AUTH unless TLS has already been
524 established (Robin Johnson).
525
526 Fix "help" command when there's no "smtpgreeting" configured (the default)
527 (Thanks to Thomas Ogrisegg)
528
529 Move the Qpsmtpd::Auth POD to a top-level README to be more obvious.
530
531 Add Qpsmtpd::Command to gather all parsing logic in one place (Hanno
532 Hecker)
533
534 Support multiline responses from plugins (Charlie Brady)
535
536 Added queue_pre and queue_post hooks (John Peacock)
537
538 Implement multiple host/port listening for qpsmtpd-forkserver (Devin
539 Carraway)
540
541 Fix a spurious newline at the start of messages queued via exim (Devin
542 Carraway)
543
544 Make the clamdscan plugin temporarily deny mail if if can't talk to clamd
545 (Filippo Carletti)
546
547 Improve Qpsmtpd::Transaction documentation (Fred Moyer)
548
549
550 0.32 - 2006/02/26
551
552 Add logging/file plugin for simple logging to a file (Devin Carraway and
553 Peter J. Holzer).
554
555 Add logging/syslog plugin for logging via the syslog facility (Devin
556 Carrway)
557
558 Add Qpsmtpd::DSN to return extended SMTP status codes from RFC-1893 and
559 patch existing plugins to use it when appropriate (Hanno Hecker).
560
561 Add plugins/tls_cert to generate appropriately shaped self-signed certs for
562 TLS support. Add explicit use of CA used to sign cert. Abstract clone()ing
563 of connection information when switching to TLS. Fix the AUTH code to work
564 correctly with TLS.
565
566 Add hosts_allow plugin to support pre- and post-connection hooks as well
567 as move --max-from-ip tests out of core (Hanno Hecker).
568
569 Improve postfix-queue plugin to support the known processing flags (Hanno
570 Hecker).
571
572 Drop root privileges before loading plugins, rather than after.
573
574 A few fixes to the clamdscan plugin (Dave Rolsky)
575
576 Various minor fixes and improvements
577
578
579 0.31.1 - 2005/11/18
580
581 Add missing files to the distribution, oops... (Thanks Budi Ang!)
582 (exim plugin, tls plugin, various sample configuration files)
583
584
585 0.31 - 2005/11/16
586
587 STARTTLS support (see plugins/tls)
588
589 Added queue/exim-bsmtp plugin to spool accepted mail into an Exim
590 backend via BSMTP. (Devin Carraway)
591
592 New plugin inheritance system, see the bottom of README.plugins for
593 more information
594
595 qpsmtpd-forkserver: --listen-address may now be given more than once, to
596 request listening on multiple local addresses (Devin Carraway)
597 (also: no more signal problems making qpsmtpd-forkserver crash/loop
598 when forking).
599
600 qpsmtpd-forkserver: add an option for writing a PID file (pjh)
601
602 qpsmtpd-forkserver: set auxiliary groups (this is needed for the
603 postfix backend, which expects to have write permission to a fifo
604 which usually belongs to group postdrop). (pjh)
605
606 qpsmtpd-forkserver: if -d or --detach is given on the commandline,
607 forkserver will detach from the controlling terminal and daemonize
608 itself (Devin Carraway)
609
610 replace some fun smtp comments with boring ones.
611
612 example patterns for badrcptto plugin - Gordon Rowell
613
614 Extend resolvable_fromhost to include a configurable list of
615 "impossible" addresses to combat spammer forging. (Hanno Hecker)
616
617 Use qmail/control/smtpdgreeting if it exists, otherwise
618 show the original qpsmtpd greeting (with version information).
619
620 Apply slight variation on patch from Peter Holzer to allow specification of
621 an explicit $QPSMTPD_CONFIG variable to specify where the config lives,
622 overriding $QMAIL/control and /var/qmail/control if set. The usual
623 "last location with the file wins" rule still applies.
624
625 Refactor Qpsmtpd::Address
626
627 when disconncting with a temporary failure, return 421 rather than
628 450 or 451. (Peter J. Holzer)
629
630 The unrecognized_command hook now uses DENY_DISCONNECT return
631 for disconnecting the user.
632
633 If the environment variable $QPSMTPD_CONFIG is set, qpsmtpd will look
634 for its config files in the directory given therein, in addition to (and
635 in preference to) other locations. (Peter J. Holzer)
636
637 Updated documentation
638
639 Various minor cleanups
640
641
642 0.30 - 2005/07/05
643
644 Add plugable logging support include sample plugin which replicates
645 the existing core code. Add OK hook.
646
647 Add new logging plugin, logging/adaptive, which logs at different
648 levels depending on whether the message was accepted/rejected.
649
650 (See README.logging for information about the new logging system by
651 John Peacock)
652
653 plugins/auth/auth_ldap_bind - New plugin to authenticate against an
654 LDAP database. Thanks to Elliot Foster <[email protected]>
655
656 new plugin: plugins/auth/auth_flat_file - flat file auth plugin
657
658 new plugin: plugins/auth/auth_cvm_unix_local - Only DENY if the
659 credentials were accepted but incorrect (bad password?). Interfaces
660 with Bruce Guenther's Credential Validation Module (CVM)
661
662 Revamp Qpsmtpd::Constants so it is possible to retrieve the text
663 representation from the numeric (for logging purposes).
664
665 new plugin: plugins/check_badrcptto_patterns - Match bad RCPTO
666 address with regex (Gordon Rowell)
667
668 new plugin: plugins/check_norelay - Carve out holes from larger
669 relay blocks (Also Gordon Rowell)
670
671 new plugin: plugins/virus/sophie - Uses SOPHOS Antivirus via Sophie
672 resident daemon.
673
674 Store mail in memory up to a certain threshold (default 10k).
675
676 Remove needless restriction on temp_file() to allow the spool
677 directory path to include dots (as in ../)
678
679 Fix off-by-one line numbers in warnings from plugins (thanks to
680 Brian Grossman).
681
682 Don't check the HELO host for rfc-ignorant compliance
683
684 body_write patches from Brian Grossman
685
686 Fix for corruption problem under Apache
687
688 Update Apache::Qpsmtpd to work with the latest Apache/mod_perl 2.0
689 API. Fix various bucket issues.
690
691 Replace $ENV{RELAYCLIENT} with $connection->relay_client in last plugin.
692
693 Fix typo in qpsmtpd-forkserver commandline help
694
695
696 0.29 - 2005/03/03
697
698 Store entire incoming message in spool file (so that scanners can read
699 the complete message) and ignore old headers before adding lines and
700 queuing for delivery.
701
702 New anti-virus scanners: hbedv (Hanno Hecker), bitdefender, and clamdscan
703 (John Peacock). Update clamav plugin to directly scan the spool file.
704
705 New temp_file() and temp_dir() methods; when used by plugins, they create
706 a filename or directory which will last only as long as the current
707 transaction. Also created a spool_dir() method which checks/creates the
708 spool_dir when the application starts up. All three methods are also
709 available in the base class where the temp_* objects are not automatically
710 limited to the transaction's lifetime. (John Peacock)
711
712 Added Gavin Carr's greylisting plugin
713
714 Renamed config/ to config.sample/
715
716 Qpsmtpd::Auth - document $mechanism option, improve fallback to generic
717 hooks, document that auth-login works now, stash auth user and method for
718 later use by Qpsmtpd::SMTP to generate authentication header.
719 (Michael Toren)
720
721 Qpsmtpd::SMTP - "MAIL FROM: <#@[]>" now works like qmail (null sender),
722 add LOGIN to default auth mechanisms, display auth user and method in
723 Received: line instead of X-Qpsmtpd-Auth header.
724 (Michael Toren)
725
726 check_badmailfromto - NEW PLUGIN - like check_badmailfrom except matches
727 both FROM: and TO:, and effectively makes it seem like the recipient
728 no longer exists for that sender (great for harassment cases).
729 (John Peacock)
730
731 earlytalker and resolvable_fromhost - short circuit test if
732 whitelistclient is set. (Michael Toren)
733
734 check_badmailfrom - Do not say why a given message is denied.
735 (Michael Toren)
736
737 dns_whitelist_soft - NEW PLUGIN - dns-based whitelist override for
738 other qpsmtpd plugins. Add suuport for whitelisthost to dnsbl.
739 (John Peacock)
740
741 auth/auth_vpopmail_sql - Support CRAM-MD5 (requires clear_passwd)
742 (John Peacock)
743
744 plugins/queue/qmail-queue - Added a timestamp and the qmail-queue qp
745 identifier to the "Queued!" message, for compatibility with qmail-smtpd
746 (Michael Toren)
747
748 Support qmail-smtpd's timeoutsmtpd config file
749
750 Many improvements to the forking server (qpsmtpd-forkserver)
751
752 Plugin testing framework (Matt)
753
754 Added Apache::Qpsmtpd (Apache/mod_perl 2.0 connection handler)
755
756 Allow for multiple instances of a single plugin by using plugin:0
757 notation (Robert)
758
759 Fix CDB support so the server can work without it
760
761 VRFY plugin support (Robert Spier)
762
763 Added Makefile.PL etc to make it easier to build a package (Matt).
764
765 Added Apache::Qpsmtpd to the distro.
766
767 Make the distro follow the CPAN module style (Makefile.PL, MANIFEST, etc)
768
769 Make the rhsbl plugin do DNS lookups in the background. (Mark Powell)
770
771 Fix warning in count_unrecognized_commands plugin (thanks to spaze
772 and Roger Walker)
773
774 Improve error messages from the Postfix module (Erik I. Bolsø,
775 <knan at mo.himolde.no>)
776
777 make the maildir plugin record who the message was to (with a bit of improvements
778 this could make a decent local delivery plugin)
779
780 Pass extra "stuff" to HELO/EHLO callbacks (to make it easier to
781 support SMTP extensions)
782
783 Renamed the *HARD return codes to DENY_DISCONNECT and
784 DENYSOFT_DISCONNECT (DENYSOFT_DISCONNECT is new)
785
786 Mail::Address does RFC822 addresses, we need SMTP addresses.
787 Replace Mail::Address with Peter J. Holzer's Qpsmtpd::Address module.
788
789 Don't keep adding ip addresses to the process status line ($0) when
790 running under PPerl.
791
792 Include the date and time the session started in the process status line.
793
794 Add "plugin/virus/uvscan" - McAfee commandline virus scanner
795
796 Inbound connections logged as soon as the remote host address is known
797 when running under tcpserver.
798
799 Add Qpsmtpd::Auth (authentication handlers! See plugins/auth/) (John Peacock)
800
801 Add a plugin hook for the DATA command
802
803 earlytalker -
804 + optionally react to an earlytalker by denying all MAIL-FROM commands
805 rather than issuing a 4xx/5xx greeting and disconnecting. (Mark
806 Powell)
807 + initial "awkward silence" period now configurable (Mark Powell)
808 + DENY/DENYSOFT now configurable
809
810 Move relay flag to connection object (John Peacock):
811 + add relay_client() method to Connection.pm
812 + Remove $transaction->relaying() completely (due to popular demand)
813
814 Split check_relay plugin into two plugins (John Peacock):
815 + check_relay now fires on connect and sets relay_client() flag
816 + rcpt_ok runs last of rcpt plugins and performs final OK/DENY
817 + change default config/plugins to reflect new order
818
819 0.28 - 2004/06/05
820
821 Don't keep adding ip addresses to the process status line ($0) when running under PPerl.
822
823 Include the date and time the session started in the process status line.
824
825 Added a "queue/maildir" plugin for writing incoming mails to a maildir.
826
827 Create temp files with permissions 0600 (thanks to Robert James Kaes again)
828
829 Fix warning in check_badrcptto plugin (Thanks to Robert James Kaes)
830
831 Proper "Log levels" with a configuration option
832
833 $Include feature in config/plugins
834
835
836 0.27.1 - 2004/03/11
837
838 SpamAssassin plugin Outlook compatibility fix (Thanks to Gergely Risko)
839
840
841 0.27 - 2004/03/10
842
843 Support for unix sockets in the spamassassin plugin (requires SA
844 2.60 or higher). Thanks to John Peacock!
845
846 Modified the dnsbl plugin to better support both A and TXT records and
847 support all of the RBLSMTPD functionality. (Thanks to Mark Powell)
848
849 reject bare carriage-returns in addition to the bare line-feeds
850 (based on a patch from Robert James Kaes, thanks!)
851
852 Bugfix to the count_unrecognized_commands plugin so it works
853 under PPerl (it wasn't resetting the count properly).
854
855 reset_transaction is called after disconnect plugins are called so
856 the Transaction objects DESTROY method is called. (Thanks to Robert
857 James Kaes <[email protected]>)
858
859 Made the SpamAssassin plugin work with SA 2.6+ (thanks to numerous
860 contributors, thanks everyone!). Note that for now it's not
861 including the Spam: headers with the score explained. For that use
862 the spamassassin_spamc plugin from http://projects.bluefeet.net/
863 (for now).
864
865 Added Postfix queue plugin thanks to Peter J Holzer!
866
867 Took out the last "exit" call from the SMTP object; the "transport"
868 module ("TcpServer", "SelectServer") needs to do the right thing in
869 it's disconnect method.
870
871 Update the SPF plugin (Philip Gladstone, [email protected]):
872 * Integrated with Mail::SPF::Query 1.991
873 * Don't do SPF processing when you are acting as a relay system
874 * Remove the MX changes as they are now inside Mail::SPF::Query
875
876 Take out Data::Dumper to save a few bytes of memory
877
878 Say Received: ... via ESMTP instead of via SMTP when the client
879 speaks ESMTP. (Hoping this can be a useful SpamAssassin rule).
880
881 Take out the X-SMTPD header.
882
883 Add pod documentation and sanity checking of the config to
884 check_badmailfrom
885
886 Use $ENV{QMAIL} to override /var/qmail for where to find the
887 control/ directory.
888
889 Enable "earlytalker" in the default plugins config
890
891 Added a milter plugin to allow use of sendmail milters
892
893 Don't store the Qpsmtpd object in the Plugin object any more (this
894 caused a circular reference)
895
896 Added a new qpsmtpd-server - a select() based server for qpsmtpd
897
898 Allow a config/relayclients and config/morerelayclients files to
899 define who can relay (useful with the select() server)
900
901 Fixed qpsmtpd unfolding all header lines
902
903 Speed up persistent qpsmtpd's by checking for plugin functions after
904 munging the name (the main breakage was with queue/qmail-queue)
905
906 Use dup2() instead of perl open("<&") style. POSIX seems to work better.
907
908 Added SPF, sender permitted from, plugin
909
910 More minor changes and probably a few big ones that we missed adding here :-)
911
912
913 0.26 - 2003/06/11
914
915 Add queue/smtp-forward plugin (Matt Sergeant)
916
917 Add documentation to Qpsmtpd::Transaction (Matt Sergeant)
918
919 Fix bug in dnsbl that made it sometimes ignore "hits" (thanks to
920 James H. Thompson <[email protected]>)
921
922 Fix bug hiding the error message when an existing configuration file
923 isn't readable.
924
925 If a plugin running the ehlo hook add something to the ARRAY
926 reference $self->transaction->notes('capabilities') then it will be
927 added to the EHLO response.
928
929 Add command_counter method to the SMTP object. Plugins can use this
930 to catch (or not) consecutive commands. In particular useful with
931 the unrecognized_command hook.
932
933 Filter out all uncommon characters from the remote_host
934 setting. (thanks to Frank Denis / Jedi/Sector One for the hint).
935
936 Added a check for the spool_dir having mode 0700.
937
938 Don't break under taint mode on OpenBSD. (thanks to Frank Denis /
939 Jedi/Sector One)
940
941 Have the qmail-queue plugin add the message-id to the "Queued!"
942 message we send back to the client (to help those odd sendmail using
943 people debug their logs)
944
945 Set the process name to "qpsmtpd [1.2.3.4 : host.name.tld]"
946
947 Fixed timeout bug when the client sent DATA and then stopped before
948 sending the next line. (Gergely Risko <[email protected]>)
949
950 unrecognized_command hook and a count_unrecognized_commands
951 plugin. (Rasjid Wilcox)
952
953 earlytalker plugin. Deny the connection if the client talks
954 before we show our SMTP banner. (From Devin Carraway)
955
956 Patch Qpsmtpd::SMTP to allow connect plugins to give DENY and
957 DENYSOFT return codes. Based on patch from Devin Carraway.
958
959 Support morercpthosts.cdb
960
961 config now takes an extra "type" parameter. If it's "map" then a
962 reference to a tied hash will be returned.
963
964
965 0.25 - 2003/03/18
966
967 Use the proper RFC2822 date format in the Received headers. (Somehow
968 I had convinced myself that ISO8601 dates were okay). Thanks to
969 Kee Hinckley <[email protected]>.
970
971 Print the date in the local timezone instead of in -0000. (Not
972 entirely convinced this is a good idea)
973
974 Lots of changes from Rasjid Wilcox <[email protected]>:
975
976 Fix error handling in queue/qmail-queue. (Rasjid)
977
978 Add option to queue/qmail-queue to specify an alternate qmail-queue
979 location. (Rasjid)
980
981 Add support for the QMAILQUEUE environment variable. (Rasjid)
982
983 PPerl compatibility (yay!) (Rasjid)
984
985 Allow mail to <abuse> and <postmaster> to go through. (Rasjid)
986
987 Add "deny" hook that gets called when another hook returns DENY or
988 DENYSOFT. (Rasjid)
989
990 Add list of required modules to the README. Thanks to Skaag Argonius
991 <[email protected]>.
992
993 Fix dnsbl plugin to give us all the results. (Patch from Matt
994 Sergeant <[email protected]>)
995
996 Disable identd lookups by passing -R to tcpserver. (Thanks to Matt)
997
998 add plugin hooks for HELO and EHLO (Devin Carraway
999 <[email protected]>)
1000
1001 check_spamhelo plugin to deny mail from claimed senders from the
1002 list specified in F<badhelo>. (For example aol.com or yahoo.com)
1003 (Devin Carraway)
1004
1005
1006 0.20 - 2002/12/09
1007
1008 Fix the "too many dots in the beginning of the line" bug.
1009
1010 Add munge_subject_threshold and reject_threshold options to the
1011 spamassassin plugin. Add documentation to the spamassassin plugin.
1012
1013 Add -p to mkdir in log/run (Rasjid Wilcox <[email protected]>)
1014
1015 clamav plugin, thanks to Matt Sergeant, [email protected].
1016 Enabling this might require you to increase your "softlimit" in
1017 the run file. http://www.clamav.org/
1018
1019 Make the spamassassin plugin not stop the next content plugins from
1020 running.
1021
1022 Store hooks runtime config globally so they will work within the
1023 transaction objects too.
1024
1025 content_log plugin - log the content of all mails for
1026 debugging. Robert Spier <[email protected]>.
1027
1028 http_config plugin - get configuration via http
1029
1030 plugins can take arguments via their line in the "plugins" file
1031
1032 make the quit_fortune plugin check that the fortune program exists
1033
1034
1035 0.12 - 2002/10/17
1036
1037 Better error messages when a plugin fails
1038
1039 Remove some debug messages in the log
1040
1041 Fix NOOP command with perl 5.6.
1042
1043 Better installation instructions and error message when no plugin
1044 allowed or denied relaying (thanks to Lars Rander
1045 <[email protected]>).
1046
1047 Use /usr/bin/perl instead of the non-standard /home/perl/bin/perl
1048
1049
1050 0.11 - 2002/10/09
1051
1052 Make a "queue" plugin hook and move the qmail-queue functionality
1053 to plugins/queue/qmail-queue. This allows you to make qpsmtpd
1054 delivery mail via smtp or lmtp or into a database or whatever you want.
1055
1056 Reorganize most of Qpsmtpd.pm into Qpsmtpd/SMTP.pm.
1057
1058 Add spool_dir option (thanks to Ross Mueller <[email protected]>)
1059
1060 Add plugin name to the "hooks" data structure, so we can log plugin
1061 module had an error when we run a hook.
1062
1063 Make klez filter run for mails bigger than 220KB; they are sometimes
1064 bigger than that.
1065
1066 Avoid "use of uninitialized variable" warning when the "MAIL" or the
1067 "RCPT" command is executed without a parameter.
1068
1069 Compatibility with perl 5.5.3.
1070
1071 Fix "Could not print" error message in the TcpServer object. (Thanks
1072 to Ross Mueller <[email protected]>)
1073
1074 dnsbl plugin queues lookups in the background upon connect but
1075 doesn't block for the results until they are needed, greatly
1076 speeding up connection times. Also fix a typo in the dnsbl plugin
1077 so it'll actually work(!).
1078
1079 check_badmailfrom and check_badrcptto plugins (Jim Winstead
1080 <[email protected]>)
1081
1082 Better RFC conformance. (Reset transactions after the DATA command and
1083 when the MAIL command is being done)
1084
1085
1086 0.10 - 2002/09/08
1087
1088 New object oriented internals
1089
1090 Very flexible plugin
1091
1092 All functionality not core to SMTP moved to plugins
1093
1094 Can accept mails as large as your file system will allow (instead of
1095 up to as much memory you would allow qpsmtpd to eat).
1096
1097 2002/09/08
1098 Add klez_filter plugin
1099
1100 Support more return codes for data_post
1101
1102 Document data_post
1103
1104 Add plugin name to the log entries when plugins use log()
1105
1106 Add plugin_name method to the default plugin object.
1107
1108 Improve error handling in the spamassassin plugin
1109
1110
1111 2002/08/06
1112 Spool message bodies to a tmp file so we can support HUGE messages
1113
1114 API to read the message body (undocumented, subject to change)
1115
1116 data_post hook (undocumented)
1117
1118 SpamAssassin plugin (connects to spamd on localhost), see
1119 plugins/spamassassin
1120
1121
1122 2002/07/15
1123 DNS RBL and RHSBL support via plugins.
1124
1125 More hooks.
1126
1127 2002/07/03
1128 First (non functional) version of the new object oriented mail engine (0.10).
1129
1130
1131 Changes on the old v0.0x branch:
1132
1133 2002/05/09
1134 Klez filter (thanks to Robert Spier)
1135
1136 2002/04/20
1137 Bumped version number to 0.07
1138
1139 Support comments in configuration files (prefix the line with #)
1140
1141 Support RELAYCLIENT like qmail-smtpd (thanks to Marius Kjeldahl
1142 <[email protected]> and Zukka Zitting <[email protected]>)
1143
1144 If the connection fails while in DATA we would just accept the
1145 message. Ouch! Thanks to Devin Carraway <[email protected]> for the
1146 patch.
1147
1148
1149 2002/01/26
1150 Allow [1.2.3.4] for the hostname when checking if the dns resolves
1151
1152
1153 2002/01/21
1154 assorted fixes; getting dnsbl's to actually work
1155
1156 fixing the maximum message size (databytes) stuff (thanks for the
1157 spot to Andrew Pam <[email protected]>)
1158
1159 support and enable taint checking (thanks to Devin Carraway
1160 <[email protected]>)
1161
1162 Make the MAIL FROM host dns check configurable. (thanks to Devin
1163 Carraway).
1164
1165 Add more documentation to the README file.
1166
1167