CHANGELOG st patch q-s-1.23st-20040819 I forgot to add the check for '$smaildir' when I added it to the distro... Fixed. (thanks to Nerijus Baliunas) ----------------------------- q-s-1.23st-20040817 Add some checks to avoid that sa-report (sa_hdr_report) could be enabled when sa-alt or sa-debug are disabled. In this (unnormal) situation the header of the message was corrupted, but the message was still delivered correctly. Thanks to Joseph Murdock. Add a check to avoid an empty $sa_report. Fixed a bug, when scanners_per_domain was enabled and there were multiple recipients the X-Spam-Status was lost for some recipients. ----------------------------- q-s-1.23st-20040815 Updated to version qmail-scanner-1.23, see http://qmail-scanner.sourceforge.net/CHANGES for details. Fixed a bug in the configure script, the script returned an error when sa-forward was empty. Add $smaildir to qmail-scanner-queue.pl to quarantine spam in an alternative mailfolder. You have to edit the file and change it, this is not a configuration option. Suggested by Nerijus Baliunas. sa-report [yes|no] (default: no) If sa-alt and sa-debug are enabled you can add the X-Spam-Report header to the messages enabling this option. Improved the regex to extract the sa-report. Replaced the spamc-nasty.eml to speed the configure script. Tested sa_alt with SpamAssassin 3.0.0-pre4 ----------------------------- q-s-1.22st-20040806 Add the choice 'none' to the routine scanners_per_domian, now is possible to set to 'none' the scanners of an user or set to 'none' the @scanners_default array. No headers will be add to the messages regardin the scanners when the scanner_array is 'none'. Now the routine scanners_per_domian runs only once each scanner and stores the results in a hash when trere are multiple recipents. sa-forward(default: empty) User to redirect spam mails 'being quarantined' for admin purposes... (i.e. --sa-forward antispam@mydomain.com) Some cosmetics changes in the routine of spamassassin. Updated the routine check_and_grab_uuencoding to 1.22 (oops) Add some documentation to scanners_per_domian. Add some documentation to sa_alt, spamassassin config and sa_socket. ----------------------------- q-s-1.22st-20040606 Fix a bug where the qmail-scanner-queue-version.txt file was not generated properly, because @scanners_array was empty, thanks to Peter M. Nielsen. The match against the return-path and the domain-return-path it is only done if the variable RELAYCLIENT is defined, thanks to Patrik Nilsson. ----------------------------- q-s-1.22st-20040602 scanners_per_domain, this options allows to define a per user/domain scanners_array, see the file scanners_per_domain.txt for details. The match is done for the return-path first and for "each" recipient. I will write some documentation as soon as possible... Removed the run-first-ps option Removed an extra unuseful code that I added to the spamassassin routine... Changed the regex that extracts SA_REPORT, and clean some invalid char in the reports of SA v.2.5x Added the patch for version F-Secure 4.52 by Jyri ----------------------------- q-s-1.22st-20040502 Updated to version qmail-scanner-1.22, see http://qmail-scanner.sourceforge.net/CHANGES for details. SA_REPORT added to the admin notify and to the quarantined file (if sa_alt=1 and sa_debug=1). Fix a bug in the process number (pid) in the email headers and in the log. ----------------------------- q-s-1.21st-20040324 Fix a bug in the subroutine cleanup, the check for the directory where mails must be archived was wrong, this bug is also in the official version. Fix a cosmetic bug in the subroutine spamassassin. ----------------------------- q-s-1.21st-20040319 Updated to version qmail-scanner-1.21, that adds a lot of new features see http://qmail-scanner.sourceforge.net/CHANGES for details. Add support for spamd running with unix-socket (--sa-socket) Ed. H. BIG CHANGE: Now sa-quarantine and sa-delete are relative values to spamassassin required_hits, this will allow a "pseudo per user" configuration (never tested). See FAQ n.17 in http://qmail-scanner.sourceforge.net/FAQ.php Fix a little bug in the original spamassassin routine, which some 'rcpt to' with inside '-c', '-r', ... in the mailaddress, spamc interpret that string as a command line option. Pointed out by Jonas Thomsen. Changed the way spam-mails are deleted, so now somethig will arrive to the syslog if log-details is enabled. virus_to_delete is now a configuration option and now somethig will arrive to the syslog if log-details is enabled. ----------------------------- q-s-1.20st-20040204 virus_to_delete, a control to delete some virus without notifying anyone, actually it is not a configuration option, you must edit qmail-scanner-queue to add new virus to the list. Do not reject mails from 127.0.0.1 (note for Fetchmail users in the documentation), suggested by Nerijus Baliunas Changed the name of SA_WHITELIST to SA_ONLYDELETE_HOST, suggested by Paul Theodoropoulos. SA_WHITELIST still valid for compatibility. Added minidebug for mails with "no sender and no recipient" Routine close_log (only cosmetic) ----------------------------- q-s-1.20st-20040105 sa-subject An alternative way to set spamc_subject during configuration sa-alt Alternative subroutine for spamassassin sa-debug Used with sa-alt logs the tests and the scores of spamassassin to qmail-queue.log. There are samples of the logs in the documentation. SA_SKIP_MD SA skip MAILER-DAEMON messages, this is not a configuration option, just a switch in the code, see READMEpatched for details ----------------------------- q-s-1.20st-20031222 Documentation updated, added more examples Added some entries to quarantine-attachments.txt sa-delta Tag the subject of spam messages with LOW, MEDIUM and HIGH. SA_WHITELIST Do not reject spam messages from some servers, just delete them (enviroment variable). BMC_WHITELIST Disabled BAD_MIME_CHECKS based in the IP the come from (enviroment variable). ----------------------------- q-s-1.20st-20031208 Options added to qmail-scanner-1.20 qs-group Group of the user that Qmail-Scanner runs as. admin-fromname From line information used when sending reports. dscr-hdrs-text Descriptive headers text. minidebug Logs only important information to qmail-queue.log. run-first-p-s Run first perl-scanner as it was in the precedents versions of qmail-scanner. sa-quarantine Quarantine spam messages over this threshold. sa-delete Delete spam messages over this threshold. sa-reject Reject spam messages instead of delete them.