Commit Graph

182 Commits

Author SHA1 Message Date
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
Matt Simerson
df715db16b allow messages with no body: Robin's patch
This is Robin's patch from here: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/mail-mta/qpsmtpd/files/qpsmtpd-0.83-accept-empty-email.patch?view=markup
2012-11-14 17:27:55 -05:00
Matt Simerson
376bd492cd earlytalker: lower karma for earlytalkers 2012-11-14 17:27:55 -05:00
Matt Simerson
335a71e62d resolvable_fromhost: additional logging 2012-11-14 17:27:55 -05:00
Matt Simerson
9ffdd14231 log/show_message: fixed QP dir detection 2012-11-14 17:27:55 -05:00
Matt Simerson
17abbfe1b0 log/summarize: narrower column when no geoip city data present 2012-11-14 17:27:54 -05:00
Matt Simerson
3145a3713b config/plugins: better defaults, additional entries 2012-11-14 17:27:54 -05:00
Matt Simerson
ba6a04ee4d log/summarize: added auth formats 2012-11-14 17:27:54 -05:00
Matt Simerson
7eedea8754 added missing semicolon 2012-11-14 17:27:54 -05:00
Matt Simerson
809390b12e registry: renamed clamd abb3 from cad to clm 2012-11-14 17:27:54 -05:00
Matt Simerson
aa4e102606 karma: added error keyword to error log messages 2012-11-14 17:27:54 -05:00
Matt Simerson
710a838be7 config: replace domainkeys with dkim
dkim is the heir apparent
the Mail::DomainKeys perl module is deprecated (per it's author)
2012-11-14 17:27:54 -05:00
Matt Simerson
be828a8035 added log/show_message, dropped .pl suffix
to be consistent with other QP scripts
2012-11-14 17:27:54 -05:00
Matt Simerson
477c5a6bdf karma: added adjust_karma method
makes it easier to set karma in plugins
2012-11-14 17:27:54 -05:00
Matt Simerson
ad558d5893 helo: added is_plain_ip to lenient checks
there's no excuse for a client to ever send a raw IP, and I have yet to see a valid client do it
2012-11-14 17:27:54 -05:00
Matt Simerson
77c892d8a5 logs: improve ability to find logs 2012-11-14 17:27:54 -05:00
Matt Simerson
6e731e86ca run: define PORT variable 2012-11-14 17:27:54 -05:00
Matt Simerson
96f49c98ff clamdscan: default is scan always, even authenticated 2012-11-14 17:27:54 -05:00
Matt Simerson
e46c6e39ad summarize: recognize tcpserver log entries 2012-11-14 17:27:54 -05:00
Matt Simerson
1cfd7df50e registry: added auth_ prefixes, relay aliases 2012-11-14 17:27:54 -05:00
Matt Simerson
4928792f87 spamassassin: further log message refinement 2012-11-14 17:27:54 -05:00