Commit Graph

2047 Commits

Author SHA1 Message Date
Matt Simerson
8e9e2926c4 Qpsmtpd: untaint config data passed to plugins
if QP passes in tainted data, such as a hostname that subsequently gets used to open a connection using IO::Socket, the plugin die because the information is tainted. Fix it once here, instead of in each plugin.
2013-04-25 18:44:21 -04:00
Matt Simerson
c3c5643296 Qpsmtpd.pm: split config args on /\s+/, was / / 2013-04-25 17:53:55 -04:00
Matt Simerson
fc832262cf Merge branch 'master' of github.com:msimerson/qpsmtpd-dev 2013-04-25 14:27:12 -04:00
Matt Simerson
5ca971d0fb install_deps: handle comments in Makefile.PL 2013-04-25 11:24:08 -07:00
Matt Simerson
f854736142 dmarc: added subdomain policy handling 2013-04-25 02:25:21 -04:00
Matt Simerson
9e204aaf7e Makefile.PL: added clean { *.bak } 2013-04-25 02:19:48 -04:00
Matt Simerson
2a192c4108 Makefile.PL: reenable Time::TAI64 2013-04-24 22:25:51 -04:00
Matt Simerson
af3d795225 Makefile.PL: comment out Mail::Spamassassin 2013-04-24 22:22:29 -04:00
Matt Simerson
ad08e7b2e5 Makefile.PL: disable Geo::IP module 2013-04-24 22:15:45 -04:00
Matt Simerson
d02fbd2f22 try disabling Time::TAI64, update MANIFEST 2013-04-24 22:12:31 -04:00
Matt Simerson
b7a00a3741 .travis.yml: added perl 5.16 2013-04-24 20:51:11 -04:00
Matt Simerson
96c27d410b see if removing Mail::SPF makes Travis happy 2013-04-24 20:50:36 -04:00
Matt Simerson
632b42ecee Merge branch 'master' of github.com:msimerson/qpsmtpd-dev
Conflicts:
	Makefile.PL
2013-04-24 13:37:49 -07:00
Matt Simerson
5f27a1e043 Merge branch 'master' of github.com:msimerson/qpsmtpd-dev 2013-04-24 16:36:25 -04:00
Matt Simerson
8823de5075 dmarc test: comments in the public list was
allowing certain org domain searches to fail (plus.google.com, b/c a google.com email address was in the public list). Now I anchor the searches to the start of the line. This test also catches edge cases like co.uk, which isn't listed, but a wildcard *.uk is.
2013-04-24 16:33:57 -04:00
Matt Simerson
3d6f23fcfd run: increase RAM from 200 to 300MB (dkim)
still seeing (infrequent) "too large" errors validating DKIM signatures
2013-04-24 16:32:08 -04:00
Matt Simerson
e3d8a7030e rcpt_ok: do immunity checks earlier, so that
disposition logs don't indicate failure for authenticated senders
2013-04-24 16:31:00 -04:00
Matt Simerson
b3ca4e3ccc karma: limit rcpts to 1 for senders with neg karma 2013-04-24 16:30:28 -04:00
Matt Simerson
736e3b6eb3 distinguish rejecting versus tolerated failures 2013-04-24 16:25:31 -04:00
Matt Simerson
f7a59707de docs/logging: added description of log prefixes 2013-04-24 16:21:18 -04:00
Matt Simerson
6947c4fa77 docs/logging: added description of log prefixes 2013-04-24 16:20:07 -04:00
Matt Simerson
981bdf5f85 SPF: added more precise disposition logs, so that
postprocess can determine if a SPF failure caused a rejection
2013-04-24 16:18:22 -04:00
Matt Simerson
b4ee9620e5 dmarc: added support for DMARC policy pct=NNN 2013-04-24 16:16:00 -04:00
Matt Simerson
5aafca314f SPF: arrage flow so if a pass result is possible,
we will get it and set the note for DMARC plugin
2013-04-24 03:09:02 -04:00
Matt Simerson
88e6ce6adb dmarc: improving and updating POD 2013-04-24 00:29:33 -04:00
Matt Simerson
f41df6e96d summarize shows a narrower screen by default.
passing in -l for when your term windows is more than 200 chars wide will show more detail
2013-04-24 00:27:07 -04:00
Matt Simerson
3d7d43e0af split is_immune into itself + is_naughty
is_immune tests designates to plugins they should always skip processing.

That's typical for naughty connections, but this change provides the ability to handly naughty connections differently than (whitelisted/relayclients/known good) senders.
2013-04-24 00:23:24 -04:00
Matt Simerson
78e7a0c644 bump RAM from 150 to 200MB
DKIM message signing needs more RAM
2013-04-24 00:21:36 -04:00
Matt Simerson
eab1d5e4cf added modules required by several of the plugins
and imported bin/install_deps.pl, preparing for a future where QP is almost easy to install
2013-04-23 21:11:33 -07:00
Matt Simerson
050aa4b0bf docs/logging: corrected example register() syntax 2013-04-22 16:30:26 -07:00
Matt Simerson
f63c029bbb qmail_deliverable: smite null sender to email list 2013-04-22 02:29:29 -04:00
Matt Simerson
78ac01df76 log2sql: populate plugins table from registry.txt
much easier for local customizations.
moved SQL connection settings to config/log2sql
2013-04-22 02:12:53 -04:00
Matt Simerson
8b95e9053d Makefile.PL: gzip -9, and clean up test db
and a perltidy
2013-04-21 20:33:46 -04:00
Matt Simerson
f1aa848166 dkim: reduce INFO logging to once per connect 2013-04-21 19:54:06 -04:00
Matt Simerson
71997439c1 tls: added pass|fail prefix to a couple log msgs 2013-04-21 17:03:24 -04:00
Matt Simerson
7d88c51e0a auth_chkpw: added pass|fail prefix to log msgs 2013-04-21 17:02:34 -04:00
Matt Simerson
b7ce45a502 moved tls plugin to the top of the config
it must be listed before other connection plugins for port 465
place it up there just in case
2013-04-21 16:06:37 -04:00
Matt Simerson
8f834d5df2 dmarc: weed out SPF records from initial search
use a variable instead of array to count list (not using RR address after all)
2013-04-21 12:17:49 -04:00
Matt Simerson
278399f1ad dkim: when signing, use signing domain when we
finding the signing key in a different directory than the sending (eg: example.com instead of www.example.com.)
2013-04-21 12:15:14 -04:00
Matt Simerson
8122fcfb27 Plugin: override dns_timeout by passing in a value 2013-04-21 12:14:27 -04:00
Matt Simerson
b59000cece dmarc: added relaxed alignment tests 2013-04-21 02:49:39 -04:00
Matt Simerson
cd23266105 perltidy -b watch summarize show_message log2sql 2013-04-21 00:54:43 -04:00
Matt Simerson
58aab2ad20 find . -name '*.t' -exec perltidy -b {} \; 2013-04-21 00:52:07 -04:00
Matt Simerson
f988f0337c find plugins -type f -exec perltidy -b {} \; 2013-04-21 00:50:39 -04:00
Matt Simerson
5a0662b64a perltidy -b qpsmtpd* 2013-04-21 00:34:07 -04:00
Matt Simerson
73c988ac05 find . -name '*.pm' -exec perltidy -b {} \; 2013-04-21 00:08:43 -04:00
Matt Simerson
8536a99379 resolvable_fromhost: adjust log message prefix 2013-04-20 23:54:17 -04:00
Matt Simerson
5881f2a662 karma: add recipient limits for bad senders 2013-04-20 23:53:27 -04:00
Matt Simerson
1cd1486d37 hosts_allow: more succinct log message 2013-04-20 23:48:24 -04:00
Matt Simerson
7152a8c4d4 STATUS: explain qpdev motivation and direction 2013-04-20 23:47:53 -04:00