Commit Graph

2386 Commits

Author SHA1 Message Date
Matt Simerson
d460dc86e3 spamassassin: add explicit default reject_type
consolidate the two data_post methods into one (more linear, simpler)
more informative log message
add new headers to top of headers (not bottom (consistent MTA behavior))
2013-08-05 15:01:48 -07:00
Matt Simerson
eba0a10132 badmailfrom: removed tests for rcpt_handler
and shorten test response messages in badmailfromto
2013-08-05 15:01:48 -07:00
Matt Simerson
3b9479a497 Transaction.pm: added debugging messages for DESTROY 2013-08-05 15:01:47 -07:00
Matt Simerson
d5ccedd37e Plugin.pm: more descriptive variable names
append optional log_mess to log entry (more description)
subsequent attempts to set naughty don't overwrite the first
set the naughty rejection type to be the reject type of the plugin that marked the connection naughty
get_reject_type can be passed an explicit default
2013-08-05 15:01:47 -07:00
Matt Simerson
c1df6c2e1f Qpsmtpd.pm: less default logging at LOGINFO 2013-08-05 15:01:47 -07:00
Matt Simerson
5b2a0add66 added commented out uribl to config.sample/plugins 2013-08-05 15:01:47 -07:00
Matt Simerson
0da95f9ca3 MANIFEST.SKIP, add a few more entries 2013-08-05 15:01:47 -07:00
Matt Simerson
5b7f89f543 update Changes with badmailfrom_pattern deprecation
and check_badrcptto_pattern
2013-08-05 15:01:47 -07:00
Matt Simerson
db3d27ba4e removed check_badrcptto_patterns: merged into check_badrcptto 2013-08-05 15:01:47 -07:00
Matt Simerson
8f1c9d6eb2 removed github template file README.md 2013-08-05 15:01:47 -07:00
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