Commit Graph

2080 Commits

Author SHA1 Message Date
Markus Ullmann
f198157e92 Sanitize spamd_sock path for perl taint mode 2013-03-20 01:16:09 +01:00
Matt Simerson
a1086298f5 helo: added comments 2013-03-15 22:16:06 -07:00
Matt Simerson
537af7c095 dspam: added use lib, removed some parens 2013-03-15 22:12:50 -07:00
Matt Simerson
57a2f68564 karma: general improvements
skip earlytalker checks for positive senders

limit negative karma senders to 1 concurrent connection (hosts_allow)
  added karma::hook_pre_connection, to make hosts_allow change possible

added karma score to log entries
2013-03-13 03:19:48 -04:00
Matt Simerson
548415ea24 headers: added section # to RFC citation 2013-03-13 02:26:25 -04:00
Matt Simerson
a0212347bf whitelist: added pass prefix to log entries 2013-03-13 02:02:41 -04:00
Matt Simerson
30b7662a63 qmail_deliverable: remove fail prefix from SMTP er
prefix should only be logged, not emitted during SMTP
2013-03-11 00:25:28 -04:00
Matt Simerson
b37a0462ae karma_tool: release didn't. fixed.
also, preserve karma history when using karma_tool to capture/release
2013-03-11 00:24:11 -04:00
Matt Simerson
0a6f23d06d p0f: added path to socket in error message
if p0f cannot connect, provide a more descriptive error message. Particularly useful for a p0f plugin developer that runs both p0f v2 and v3 at the same time.
2013-03-11 00:14:38 -04:00
Matt Simerson
c31074bef6 plugins/bogus_bounce: add Return-Path check
make sure return path is empty, per RFC 3834
2013-03-10 23:38:03 -04:00
Matt Simerson
08357b3ba0 Merge branch 'master' of github.com:qpsmtpd-dev/qpsmtpd-dev
merge in Net::DNS patch
2013-03-10 23:27:59 -04:00
Matt Simerson
22d16037a2 plugins/helo: added RFC 5321 notes 2013-03-10 23:22:44 -04:00
Matt Simerson
1a9c074f84 Merge pull request #1 from jokey2k/patch-1
Fix for Net::DNS break
2013-03-10 20:13:00 -07:00
Markus Ullmann
2661e083a3 Update qpsmtpd-forkserver
Drop block as it breaks with Net::DNS and should be safe according to http://www.nntp.perl.org/group/perl.qpsmtpd/2012/12/msg9980.html
2013-03-11 03:33:42 +01:00
Matt Simerson
11874aa5dc Merge branch 'master' of github.com:msimerson/qpsmtpd-dev 2012-12-12 14:08:24 -05:00
Matt Simerson
d06eac3dc1 uribl plugin: added 'pass' prefix to log message 2012-12-12 14:07:19 -05:00
Matt Simerson
5758412c53 v0.91 bump for release 2012-11-20 03:33:08 -05:00
Matt Simerson
aaaf69de5c log/summarize: improve formatting so vertical
columns are consistent, regardless of when the connection is ended.
2012-11-20 03:31:25 -05:00
Matt Simerson
4a745d6baf updated more split '' syntax to split // 2012-11-20 01:40:57 -05:00
Matt Simerson
77182ec6e2 helo: avoid undef warning when rDNS is invalid
specifically, when rDNS returns an invalid FQDN like 'null.', which doesn't have
a domain part.
2012-11-19 13:12:48 -05:00
Matt Simerson
df577ff3fe replace all instances of split '' with split //
newer versions of perl don't accept split '' syntax any longer
2012-11-19 12:32:21 -05:00
Matt Simerson
37cb63c6f7 dspam: improve logging and config error reporting 2012-11-19 00:43:12 -05:00
Matt Simerson
e9b582e63c relay: better error handling and logging
detect failures in calls to Net::IP for relayclient entries that don't parse.
2012-11-19 00:40:29 -05:00
Matt Simerson
bf7c663662 clamdscan: replace immunity check with naught test
immunity check was disabled by default, as it wasn't a good policy. OTOH, a naughty check is a sensible default, as we can skip processing on messages we already decided to reject.
2012-11-19 00:30:36 -05:00
Matt Simerson
1081461d36 qmail_deliverable: reject null sender to ezmlm lis 2012-11-19 00:29:33 -05:00
Matt Simerson
588126737d MANIFEST: packaging update 2012-11-19 00:14:46 -05:00
Matt Simerson
3355d5c000 run: added commented example for port 587 2012-11-19 00:09:08 -05:00
Matt Simerson
f56c200e91 several adjustments for tests 2012-11-16 20:03:10 -05:00
Matt Simerson
b89272c480 dspam: change reject 'agree' to .95 score 2012-11-16 19:01:34 -05:00
Matt Simerson
d0e47a9dc7 arrange sample plugins by SMTP phase
and add comments to that effect, provides the uninitiated with clues
about which data each plugin actions upon
2012-11-16 18:02:13 -05:00
Matt Simerson
81aa6a6990 dkim: added some missing POD text 2012-11-16 14:35:19 -05:00
Matt Simerson
60d0c8b853 headers: simplify required headers logic 2012-11-15 01:35:15 -05:00
Matt Simerson
d75ce70678 SPF: removed test for removed is_in_relayclients() 2012-11-14 23:27:49 -05:00
Matt Simerson
c77e304cc7 fixed test for commit 78cab52582 2012-11-14 23:25:44 -05:00
Matt Simerson
78cab52582 SPF: use $conn->relay_client instead of duplicated
is_in_relayclients method. Expects relay plugin to have set relay_client, a reasonable assumption.
2012-11-14 23:21:20 -05:00
Matt Simerson
eb154f2069 dnsbl test: don't cry about test failures that
depend on working network & DNS.
2012-11-14 19:31:18 -05:00
Matt Simerson
01b623dc83 dnsbl: fixed plugin test failure 2012-11-14 18:21:21 -05:00
Matt Simerson
427e92ee7b SA: suppress undefined variable warnings 2012-11-14 18:00:30 -05:00
Matt Simerson
f0c01a0412 fix relayclient test after commit b8baa4b91b
which added example IPv6 IPs to the config file
2012-11-14 17:57:56 -05:00
Matt Simerson
938f72dbbd Merge branch 'master' of github.com:msimerson/qpsmtpd-dev
Conflicts:
	lib/Qpsmtpd/SMTP.pm
2012-11-14 17:39:07 -05:00
Matt Simerson
4f181c5153 SMTP.pm: fixed invalid operator
which produced this warning:
   Useless use of string eq in void context at lib/Qpsmtpd/SMTP.pm line 639.
2012-11-14 17:37:38 -05:00
Matt Simerson
61f7ea00e0 TcpServer, improve IPv6 support, by Michael Holzt 2012-11-14 17:29:46 -05:00
Matt Simerson
b8baa4b91b spf: improved support for IPv6 clients 2012-11-14 17:29:46 -05:00
Matt Simerson
51f5c887db whitelist: added debug log message & std plugin
entries.
2012-11-14 17:29:46 -05:00
Matt Simerson
c1694b2e81 spamassassin: added 'headers none' option
enables suppression of SA header insertion
2012-11-14 17:29:46 -05:00
Matt Simerson
ab1b211446 added vpopmail_ext to qmail_deliverable plugin 2012-11-14 17:29:46 -05:00
Matt Simerson
000db0ab14 removed duplicate naughty from config 2012-11-14 17:29:46 -05:00
Matt Simerson
deca40a6fb update plugin/headers config entry
use future/past instead of days:

-headers days 5 reject_type temp require From,Date
+headers reject 1 reject_type temp require From,Date future 2 past 15
2012-11-14 17:29:46 -05:00
Matt Simerson
2b02f6b781 dnsbl rejections handled by naughty plugin 2012-11-14 17:29:45 -05:00
Matt Simerson
a5eda100b2 change loglevel from 9 to 6
more appropriate loglevel for users
2012-11-14 17:27:55 -05:00