Commit Graph

2276 Commits

Author SHA1 Message Date
Matt Simerson
7ff2d050f3 initial import - based on my qpsmtpd fork
which will merge into the main branch fairly easily
2013-08-05 15:01:47 -07:00
Matt Simerson
58c1bc601a Initial commit 2013-08-05 14:29:42 -07:00
Matt Simerson
7d19bc6d5e restore validate_password test
not sure how/why that got removed, but it wasn't intentional
2013-08-05 12:38:39 -07:00
Matt Simerson
b7cb9eaf3d auth: adding tests (should have attached with a previous commit) 2013-08-05 12:38:38 -07:00
Matt Simerson
4e2ae484a2 Merge pull request #15 from msimerson/early
consolidated chunks of code duplicated 4x into log_and_deny and log_and_...
2013-08-05 12:33:42 -07:00
Matt Simerson
fd646b0d27 Merge pull request #29 from msimerson/helo
Helo
2013-08-05 12:30:59 -07:00
Matt Simerson
15eca9cc51 Merge pull request #34 from msimerson/master
apply pending commits from my fork
2013-08-05 12:29:32 -07:00
Matt Simerson
e32154e8ef define positioning of Authentication-Results header 2013-05-02 03:53:21 -04:00
Matt Simerson
a6b563a40c tested and working Authentication-Results
changed the method of saving results. Instead of appending to/from a header, plugins save results to a connection note.

Qpsmtpd::SMTP.pm has a new method that inserts the Authentication-Results header
The smtp-auth information has been removed from the Received header

Authentication-Results providing plugins have been updated to store results in connection note
2013-05-02 03:30:48 -04:00
Matt Simerson
3973f9ae80 added Authentication-Results header, with provider
dkim, dmarc, fcrdns (iprev), spf, and smtp-auth
2013-05-01 00:35:49 -07:00
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