Commit Graph

135 Commits

Author SHA1 Message Date
Matt Simerson
9715e00187 a collection of DKIM enhancements
* disable Mail::DKIM::TextWrap (causes mangled messages for some clients)
* pod improvements
* don't log the entire DKIM signature when signing
* add dkim_pass_domains connection note with DKIM signer domains that pass
* enable dkim tests
2013-04-20 16:08:19 -04:00
Matt Simerson
a49a45fd10 SPF: POD formatting fix 2013-04-14 21:42:42 -04:00
Matt Simerson
2f72f419c3 dkim: improve POD, add dkim_key_gen.sh 2013-04-14 21:42:21 -04:00
Matt Simerson
b8df80d398 dkim: added message signing feature 2013-03-28 17:47:18 -04:00
Matt Simerson
eed4d5e791 domainkeys: added deprecation comment 2013-03-28 17:47:02 -04:00
Matt Simerson
cd48146c28 karma,relay: karma plugin awards karma later
by detecting during DATA if relay_client is set
2013-03-28 17:30:25 -04:00
Matt Simerson
00a6d61c43 dkim: corrected log entry, added comment 2013-03-27 20:09:42 -04:00
Matt Simerson
9fdf741a20 dspam: raise loglevel on debug log message 2013-03-27 19:50:10 -04:00
Matt Simerson
b9501855ff dspam: catch error where QP user lacks x on dspam
x = execute privileges
2013-03-27 19:37:40 -04:00
Matt Simerson
eae10519ee bogus_bounce: suppress undefined var error 2013-03-27 19:26:21 -04:00
Matt Simerson
21db884d8e spf: add comment re: Authentication-Results header 2013-03-27 19:07:23 -04:00
Matt Simerson
d8ef305664 resolvable_fromhost: documented reject naughty 2013-03-27 19:06:52 -04:00
Matt Simerson
08c2f080ef random_error: fixed typo, added std pragmas 2013-03-27 19:06:06 -04:00
Matt Simerson
133cd29acc dspam/spamassassin: adjust karma awards
dspam: be more conservative when learning from karma
sa: added an SA autolearn bonus
2013-03-27 19:04:38 -04:00
Matt Simerson
23332dc71b moved triplicated init_resolver into Plugin.pm 2013-03-27 19:03:13 -04:00
Matt Simerson
b146e0cd7e dkim: added karma for dkim results (allow/reject) 2013-03-26 22:15:13 -04:00
Matt Simerson
3ba8e12155 helo: stop processing after first match 2013-03-26 22:14:26 -04:00
Matt Simerson
278107f7fc resolvable_fromhost: added karma smites 2013-03-26 17:52:41 -04:00
Matt Simerson
37f4c95175 spamassassin: karma scoring is dependent on
the sessage learn status, not SA (global) autolearn setting. So, karma learning follows SA learning rules.
2013-03-25 01:53:16 -04:00
Matt Simerson
b0ebb75be4 added karma awards for SPF pass/fail 2013-03-25 01:48:40 -04:00
Matt Simerson
31609e3643 badmailfrom: fix reject message typo 2013-03-25 01:46:34 -04:00
Matt Simerson
12f1de22be fcrdns: new plugin for Forward Confirmed rDNS 2013-03-23 02:22:20 -04:00
Matt Simerson
a5856d2e4a qm_deliverable: added reject option, karma smite
award senders -1 karma to senders to invalid addresses
2013-03-23 02:17:45 -04:00
Matt Simerson
4e3b33870a naughty: improve POD 2013-03-23 02:16:49 -04:00
Matt Simerson
a5b3cc33ae karma: be a bit more conservative
require at least -2 karma before smiting
also, add +1 karma to senders with karma_history > 10
2013-03-23 02:15:24 -04:00
Matt Simerson
a639fc794a whitelist: add +5 karma to whitelisted IPs 2013-03-23 02:12:06 -04:00
Matt Simerson
309fdbe4b4 relay: give +2 karma boost to relay IPs 2013-03-23 02:06:57 -04:00
Matt Simerson
aaa2241cb8 p0f: added smite_os, assign -karma by OS 2013-03-23 01:56:49 -04:00
Matt Simerson
1dfa55c230 hosts_allow: allow +karma senders +3 concurrents
this is really useful if you set max-per-ip to <= 3.
2013-03-23 01:47:34 -04:00
Matt Simerson
6a41d1ea0d helo: smite senders that fail the selected tests
and made log entries more terse
2013-03-23 01:43:32 -04:00
Matt Simerson
e01843f6f9 headers: smite poorly behaved senders with -karma 2013-03-23 01:42:10 -04:00
Matt Simerson
279a43f26a earlytalker: if we skip for +karma, log it
and remove IP from log (not IPv6 optimal)
2013-03-23 01:38:47 -04:00
Matt Simerson
c4fc2ecea3 spamassassin: assign karma for autolearn message
also removed 'use lib', to be consistent with most other plugins
and improved grammar
2013-03-23 01:24:02 -04:00
Matt Simerson
08da0fe5c5 Merge branch 'master' of github.com:qpsmtpd-dev/qpsmtpd-dev 2013-03-23 01:20:36 -04:00
Matt Simerson
1a7f2c26a5 Merge branch 'master' of github.com:msimerson/qpsmtpd-dev 2013-03-23 01:13:34 -04:00
Matt Simerson
d37f875992 dspam: be more conservative with karma awards
previous settings were reasonable for a well trained dspam. After starting with a fresh dspam, the settings were not optimal for the amount of naive that a default dspam is.
2013-03-23 01:07:01 -04:00
Matt Simerson
d427f43f54 dnsbl: smite blacklisted IPs with -1 karma 2013-03-23 01:05:15 -04:00
Matt Simerson
3b71f06682 badrcptto: smite matches with -2 karma
useful for (reject=>naughty) + spam filter training
2013-03-23 01:04:03 -04:00
Matt Simerson
79a5c3d7ae geoip: added too_far option 2013-03-23 01:03:28 -04:00
Matt Simerson
7b804c70c9 karma_tool: optimized for speedy IP search, IPv6
fixed one IPv6 issue
2013-03-23 01:01:13 -04:00
Markus Ullmann
f198157e92 Sanitize spamd_sock path for perl taint mode 2013-03-20 01:16:09 +01: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
22d16037a2 plugins/helo: added RFC 5321 notes 2013-03-10 23:22:44 -04:00