Commit Graph

2393 Commits

Author SHA1 Message Date
Matt Simerson
725a8d1960 dspam: remove hard coded default in train_ methods 2013-12-17 23:59:57 -05:00
Matt Simerson
7a855d4d6b added dmarc (run SPF & DKIM) first comment 2013-12-17 23:56:02 -05:00
Matt Simerson
c202d3ef69 dmarc integrated with Mail::DMARC
reimplemented dmarc module to use Mail::DMARC
updated SPF plugin to save SPF results in dmarc_spf note
update dkim to store DKIM results in dkim_result & dkim_verifier notes
2013-12-17 23:53:00 -05:00
Matt Simerson
012a7a4918 log/summarize: set undefined strings as empty str
avoids undef warnings
2013-12-17 23:44:35 -05:00
Matt Simerson
2416d1e940 Plugin.pm: made is_naughty is now a getter too 2013-12-17 23:43:26 -05:00
Matt Simerson
6ea12f0896 Merge branch 'master' of github.com:msimerson/qpsmtpd 2013-12-17 18:17:52 -05:00
Matt Simerson
f78da4b13d Changes: updated with 0.93 changes 2013-12-17 15:12:20 -08:00
Matt Simerson
04634feffe STATUS: removed -dev comments 2013-12-17 15:12:20 -08:00
Matt Simerson
19115cd2e4 move Auth-Results header to Original-Auth-Results
this was in a sub, commented out as a TODO to delete them. Instead of deleting, move the Authentication-Results header on incoming messages to the Original-A-R.
2013-12-17 15:12:20 -08:00
Matt Simerson
ddb613f173 TcpServer: optimize DNS lookups for PTR
a. don't use search path (/etc/resolv.conf)
b. explicitely specify PTR in query request
2013-12-17 15:12:20 -08:00
Matt Simerson
6b4b714c2a removed a diff block from docs/config.pod 2013-12-17 15:12:20 -08:00
Matt Simerson
14d5bad9ff remove plaintext UPGRADING (.pod added by Ask) 2013-12-17 15:12:20 -08:00
Matt Simerson
2a12acce6e Changes: updated with 0.93 changes 2013-12-17 15:08:29 -08:00
Matt Simerson
7a9ae2c705 STATUS: removed -dev comments 2013-12-17 15:06:58 -08:00
Matt Simerson
a26d46ed87 move Auth-Results header to Original-Auth-Results
this was in a sub, commented out as a TODO to delete them. Instead of deleting, move the Authentication-Results header on incoming messages to the Original-A-R.
2013-12-17 14:16:34 -08:00
Matt Simerson
1cc7563852 Merge branch 'master' of github.com:msimerson/qpsmtpd
Conflicts:
	lib/Qpsmtpd/TcpServer.pm
	packaging/rpm/qpsmtpd.spec.in
2013-12-17 16:48:52 -05:00
Matt Simerson
90ba0ffe7c domainkeys: fixed doc typo 2013-12-16 00:38:35 -08:00
Matt Simerson
b085388cda TcpServer: optimize DNS lookups for PTR
a. don't use search path (/etc/resolv.conf)
b. explicitely specify PTR in query request
2013-12-01 03:45:12 -05:00
Matt Simerson
5b3f616571 removed a diff block from docs/config.pod 2013-12-01 03:42:55 -05:00
Matt Simerson
c3305179d2 remove plaintext UPGRADING (.pod added by Ask) 2013-08-05 15:32:31 -07:00
Matt Simerson
423c35aab3 Merge pull request #35 from msimerson/master
Merging in changes from qpsmtpd-dev fork
2013-08-05 15:08:56 -07:00
Matt Simerson
4a61ef1ad9 define positioning of Authentication-Results header 2013-08-05 15:05:38 -07:00
Matt Simerson
4d489ea6ef 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-08-05 15:05:38 -07:00
Matt Simerson
4ae16219bd added Authentication-Results header, with provider
dkim, dmarc, fcrdns (iprev), spf, and smtp-auth
2013-08-05 15:05:38 -07:00
Matt Simerson
b1afbabf4c Makefile.PL: added commented Math::Complex 2013-08-05 15:05:38 -07:00
Matt Simerson
4aa888dc6c headers: assign zeroes to avoid undef errors 2013-08-05 15:05:38 -07:00
Matt Simerson
b126c3c7f8 store envelope from and to in connection notes 2013-08-05 15:05:38 -07:00
Matt Simerson
247c5a2bea is_naughty is a setter now too 2013-08-05 15:05:38 -07:00
Matt Simerson
4c0632e043 summarize: fix syntax error 2013-08-05 15:05:38 -07:00
Matt Simerson
fbdee49965 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-08-05 15:05:38 -07:00
Matt Simerson
1fa7d8361f spf enabled in config/plugins by default
the plugin will detect if Mail::SPF is missing and not register it's hooks
2013-08-05 15:05:38 -07:00
Matt Simerson
7b21e90ff7 added daemontools, ucspi-tcp to install list 2013-08-05 15:05:38 -07:00
Matt Simerson
76d70bb941 MANIFEST: updated with run.* files 2013-08-05 15:05:38 -07:00
Matt Simerson
3a0900f0ae 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-08-05 15:05:38 -07:00
Matt Simerson
b4b53ee273 updated Changes 2013-08-05 15:05:38 -07:00
Matt Simerson
2cf7207553 summarize: move parts of main while loop to subs
and added POD
2013-08-05 15:05:38 -07:00
Matt Simerson
98b147fed2 Makefile.PL, added comments, stating where the
disabled plugins are used
2013-08-05 15:05:38 -07:00
Matt Simerson
3e7efb8883 summarize: strip out unprintable chars 2013-08-05 15:05:38 -07:00
Matt Simerson
2a11be4f8b Makefile.PL: added more disabled dependencies
DBI: commented out, but included for documentation's sake
2013-08-05 15:05:37 -07:00
Matt Simerson
1e3136a0d0 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-08-05 15:05:37 -07:00
Matt Simerson
791237841b 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-08-05 15:05:37 -07:00
Matt Simerson
f7b00fa677 auth_vpopmaild: added taint checking to responses 2013-08-05 15:05:37 -07:00
Matt Simerson
82effb409a 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-08-05 15:05:37 -07:00
Matt Simerson
4c6f5aedfd Qpsmtpd.pm: split config args on /\s+/, was / / 2013-08-05 15:05:37 -07:00
Matt Simerson
2b1b75145a install_deps: handle comments in Makefile.PL 2013-08-05 15:05:37 -07:00
Matt Simerson
b8229fbdbf dmarc: added subdomain policy handling 2013-08-05 15:05:37 -07:00
Matt Simerson
76071ca559 Makefile.PL: added clean { *.bak } 2013-08-05 15:05:37 -07:00
Matt Simerson
09b7d977db Makefile.PL: reenable Time::TAI64 2013-08-05 15:05:37 -07:00
Matt Simerson
52002eecf6 Makefile.PL: comment out Mail::Spamassassin 2013-08-05 15:05:37 -07:00
Matt Simerson
40235542e3 Makefile.PL: disable Geo::IP module 2013-08-05 15:05:37 -07:00