Commit Graph

2116 Commits

Author SHA1 Message Date
Matt Simerson
c80bcf8e47 Makefile.PL: added commented Math::Complex 2013-04-30 00:28:08 -04:00
Matt Simerson
2a61746211 headers: assign zeroes to avoid undef errors 2013-04-29 23:51:35 -04:00
Matt Simerson
55388248e4 store envelope from and to in connection notes 2013-04-29 23:50:18 -04:00
Matt Simerson
9c095ab278 is_naughty is a setter now too 2013-04-29 23:49:22 -04:00
Matt Simerson
cf5f1bb9af summarize: fix syntax error 2013-04-29 22:40:07 -04:00
Matt Simerson
cc6ab49474 raised default max msg size in clamdscan from 128k
added max_size on config, so it's likely to get noticed, since even 1M is probably too low for most sites. This should likely default to the same as databytes?
2013-04-29 22:06:47 -04:00
Matt Simerson
1731542647 Merge branch 'master' of github.com:msimerson/qpsmtpd-dev 2013-04-29 22:03:50 -04:00
Matt Simerson
e7b72775f9 spf enabled in config/plugins by default
the plugin will detect if Mail::SPF is missing and not register it's hooks
2013-04-29 19:01:00 -07:00
Matt Simerson
ebe72f6c5b added daemontools, ucspi-tcp to install list 2013-04-29 18:58:57 -07:00
Matt Simerson
9d74793b24 MANIFEST: updated with run.* files 2013-04-26 03:36:34 -04:00
Matt Simerson
5eab739359 SMTP.pm: reduce auth details from Received header.
based on patch from Devin Carraway

  http://www.nntp.perl.org/group/perl.qpsmtpd/2012/08/msg9954.html
2013-04-26 03:35:02 -04:00
Matt Simerson
51645b8564 updated Changes 2013-04-26 01:53:37 -04:00
Matt Simerson
341865d941 summarize: move parts of main while loop to subs
and added POD
2013-04-26 01:03:00 -04:00
Matt Simerson
e8effdd6cd Makefile.PL, added comments, stating where the
disabled plugins are used
2013-04-26 01:01:17 -04:00
Matt Simerson
cebf995f9d summarize: strip out unprintable chars 2013-04-25 21:40:09 -04:00
Matt Simerson
80bb4c93dd Makefile.PL: added more disabled dependencies
DBI: commented out, but included for documentation's sake
2013-04-25 21:39:31 -04:00
Matt Simerson
dfe8c1cd83 revert movement of qp bins to bin/
plugin dir, config dir, spool dir, all have different logic about where/how to find their config. The logic needs some untangling and unification before attempting this again.
2013-04-25 21:31:07 -04:00
Matt Simerson
0b8e4f5ca3 replace run with separate run for the 2 common
deployment methods. Rather than having to edit the run file, it's much easier to rename the run file.
Moved qpsmtpd* into bin/
2013-04-25 19:55:35 -04:00
Matt Simerson
887e3caadb auth_vpopmaild: added taint checking to responses 2013-04-25 18:51:34 -04:00
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