Commit Graph

1335 Commits

Author SHA1 Message Date
Matt Simerson
e67f4ff98c helo: avoid undef warning when rDNS is invalid
specifically, when rDNS returns an invalid FQDN like 'null.', which doesn't have
a domain part.
2013-08-05 15:05:10 -07:00
Matt Simerson
d80b117bff replace all instances of split '' with split //
newer versions of perl don't accept split '' syntax any longer
2013-08-05 15:05:10 -07:00
Matt Simerson
2e0909ad27 dspam: improve logging and config error reporting 2013-08-05 15:05:10 -07:00
Matt Simerson
838594642b relay: better error handling and logging
detect failures in calls to Net::IP for relayclient entries that don't parse.
2013-08-05 15:05:10 -07:00
Matt Simerson
f0c7c212c0 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.
2013-08-05 15:05:10 -07:00
Matt Simerson
14e87fabdf qmail_deliverable: reject null sender to ezmlm lis 2013-08-05 15:05:10 -07:00
Matt Simerson
ee68d9881e MANIFEST: packaging update 2013-08-05 15:05:10 -07:00
Matt Simerson
c2639a6e43 run: added commented example for port 587 2013-08-05 15:05:10 -07:00
Matt Simerson
a2bba68af6 several adjustments for tests 2013-08-05 15:05:10 -07:00
Matt Simerson
10bbbd4215 dspam: change reject 'agree' to .95 score 2013-08-05 15:05:09 -07:00
Matt Simerson
4ab71c4403 arrange sample plugins by SMTP phase
and add comments to that effect, provides the uninitiated with clues
about which data each plugin actions upon
2013-08-05 15:05:09 -07:00
Matt Simerson
5b742cbf7d dkim: added some missing POD text 2013-08-05 15:05:09 -07:00
Matt Simerson
4465b7af43 headers: simplify required headers logic 2013-08-05 15:05:09 -07:00
Matt Simerson
85cead39f8 SPF: removed test for removed is_in_relayclients() 2013-08-05 15:05:09 -07:00
Matt Simerson
b70f29c008 fixed test for commit 78cab52582 2013-08-05 15:05:09 -07:00
Matt Simerson
af55a8d6dd SPF: use $conn->relay_client instead of duplicated
is_in_relayclients method. Expects relay plugin to have set relay_client, a reasonable assumption.
2013-08-05 15:05:09 -07:00
Matt Simerson
1a7615ca7e dnsbl test: don't cry about test failures that
depend on working network & DNS.
2013-08-05 15:05:09 -07:00
Matt Simerson
8d52a3f548 dnsbl: fixed plugin test failure 2013-08-05 15:05:09 -07:00
Matt Simerson
e959e408b1 SA: suppress undefined variable warnings 2013-08-05 15:05:09 -07:00
Matt Simerson
21ce00cc90 fix relayclient test after commit b8baa4b91b
which added example IPv6 IPs to the config file
2013-08-05 15:05:09 -07:00
Matt Simerson
24ad1184ca SMTP.pm: fixed invalid operator
which produced this warning:
   Useless use of string eq in void context at lib/Qpsmtpd/SMTP.pm line 639.
2013-08-05 15:05:09 -07:00
Matt Simerson
55119616d4 whitelist: added debug log message & std plugin
entries.
2013-08-05 15:05:09 -07:00
Matt Simerson
a257ec8414 added vpopmail_ext to qmail_deliverable plugin 2013-08-05 15:05:09 -07:00
Matt Simerson
82316dabaf removed duplicate naughty from config 2013-08-05 15:05:08 -07:00
Matt Simerson
8321150dd1 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
2013-08-05 15:05:08 -07:00
Matt Simerson
0c0a7e9bf3 dnsbl rejections handled by naughty plugin 2013-08-05 15:05:08 -07:00
Matt Simerson
008bf9585c log/show_message: fixed QP dir detection 2013-08-05 15:05:08 -07:00
Matt Simerson
293e7abc62 config/plugins: better defaults, additional entries 2013-08-05 15:05:08 -07:00
Matt Simerson
9a8bc0286c added missing semicolon 2013-08-05 15:04:51 -07:00
Matt Simerson
d9ac412aee config: replace domainkeys with dkim
dkim is the heir apparent
the Mail::DomainKeys perl module is deprecated (per it's author)
2013-08-05 15:04:51 -07:00
Matt Simerson
4ded6b97d4 added log/show_message, dropped .pl suffix
to be consistent with other QP scripts
2013-08-05 15:04:36 -07:00
Matt Simerson
01d7c7e228 karma: added adjust_karma method
makes it easier to set karma in plugins
2013-08-05 15:04:12 -07:00
Matt Simerson
672a034fb0 logs: improve ability to find logs 2013-08-05 15:03:13 -07:00
Matt Simerson
368b2c0206 spamassassin: further log message refinement 2013-08-05 15:03:12 -07:00
Matt Simerson
8ef798bbac summarize: check more locations to discover QP dir 2013-08-05 15:02:52 -07:00
Matt Simerson
1bfebd0bfd TcpServer, improve IPv6 support, by Michael Holzt 2013-08-05 15:02:17 -07:00
Matt Simerson
016d2b06bc spf: improved support for IPv6 clients 2013-08-05 15:02:17 -07:00
Matt Simerson
7b420252f0 whitelist: added debug log message & std plugin
entries.
2013-08-05 15:02:17 -07:00
Matt Simerson
cd4eda80e1 spamassassin: added 'headers none' option
enables suppression of SA header insertion
2013-08-05 15:02:17 -07:00
Matt Simerson
34957d0604 added vpopmail_ext to qmail_deliverable plugin 2013-08-05 15:02:16 -07:00
Matt Simerson
ba3c72d21e removed duplicate naughty from config 2013-08-05 15:02:16 -07:00
Matt Simerson
f2d3b9f9ed 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
2013-08-05 15:02:16 -07:00
Matt Simerson
a3db7e2b8e dnsbl rejections handled by naughty plugin 2013-08-05 15:02:16 -07:00
Matt Simerson
929ef3c4af change loglevel from 9 to 6
more appropriate loglevel for users
2013-08-05 15:01:53 -07:00
Matt Simerson
ce18cf78ae 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
2013-08-05 15:01:53 -07:00
Matt Simerson
ef985d0df4 earlytalker: lower karma for earlytalkers 2013-08-05 15:01:53 -07:00
Matt Simerson
69e30117fa resolvable_fromhost: additional logging 2013-08-05 15:01:53 -07:00
Matt Simerson
1ff8581219 log/show_message: fixed QP dir detection 2013-08-05 15:01:53 -07:00
Matt Simerson
3159d32e60 log/summarize: narrower column when no geoip city data present 2013-08-05 15:01:53 -07:00
Matt Simerson
c493409b52 config/plugins: better defaults, additional entries 2013-08-05 15:01:53 -07:00