Matt Simerson
0c7ee4941b
added logging and tests to check_badmailfrom
...
refactored several checks out of hook_mail and added LOGDEBUG
added tests for is_immune method
2012-05-06 16:08:28 -07:00
Matt Simerson
1910fabf0e
badmailfromto: added strictures, tests, and
...
rearranged portionsn of logic for ease of reading
2012-05-06 16:02:43 -07:00
Ask Bjørn Hansen
275d3f18ab
Fix tests for check_badmailfrom plugin
2012-04-29 02:46:03 -07:00
Matt Simerson
368ce9401b
merged check_badmailfrom_patterns into check_badmailfrom
2012-04-29 00:40:02 -07:00
Matt Simerson
38c74352d1
prepend auth_flat plugin name to $note
...
Makes it much easier to figure out where that log entry came from.
2012-04-28 20:19:30 -07:00
Matt Simerson
ed8eca0a63
fixed failing auths to auth/vpopmaild, added tests
...
Apparently the format of vpopmaild responses has been expanded and the responses
are conditional.
* Replaced the 'sometimes works' eq comparison with a regexp that always works.
* added tests for all 3 vpopmail plugins
* added cram-md5 auth support to auth_vpopmaild.
2012-04-07 17:52:44 -04:00
Matt Simerson
fa91764f88
renamed test from foo to rcpt_ok
2010-07-25 23:04:58 -07:00
Matt Simerson
0c4a76ffe7
add test name to test output
2010-07-25 22:52:36 -07:00
Matt Simerson
d11b87e050
give badrcptto a reasonable name
...
renamed check_badrcptto test from foo to test_check_badrcptto_ok
2010-07-25 22:52:32 -07:00
Matt Simerson
b81d464c87
added p0f support to greylist plugin
...
- these changes are in the previous TCPLOCAL patch. Documented here.
added p0f config option
added POD docs to explain usage
modified $dbdir selection logic. The previous logic failed when QPHOME was
not selected (as is the case when tests are being run).
Added '.' as the dir of last resort for $dbdir selection (others $EMPTY/dir
dumped greylisting database in / )
- These changes are included in this patch -
Added t/plugin_tests/greylisting, with greylist logic testing (tests are
disabled by default, as greylisting is disabled in config.sample/plugins)
Added example entry in config.sample/plugins
Signed-off-by: Robert <rspier@pobox.com>
2010-05-11 21:19:52 -07:00
Matt Simerson
8b892c33ad
fix copy/paste error in auth_flat_file
...
correct copy/paste error, where auth_flat_file methods were named authsql in auth_flat plugin
Signed-off-by: Robert <rspier@pobox.com>
2010-05-11 21:08:50 -07:00
Matt Sergeant
ef7d885929
Allow plugin tests to be in subdir (as with plugins).
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@737 958fd67b-6ff1-0310-b445-bb7760255be9
2007-05-17 22:02:32 +00:00
Matt Sergeant
60b74decd9
More tests
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@736 958fd67b-6ff1-0310-b445-bb7760255be9
2007-05-17 22:00:55 +00:00
Ask Bjørn Hansen
313f285847
Added tests for the rcpt_ok plugin (Guy Hulbert, issue #4 )
...
http://code.google.com/p/smtpd/issues/detail?id=4
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@725 958fd67b-6ff1-0310-b445-bb7760255be9
2007-03-15 06:55:24 +00:00
Matt Sergeant
2ca6e9d192
MERGE 503:505 FROM https://svn.perl.org/qpsmtpd/branches/0.31
...
Fix test failures due to hook renames
Fix redefined warnings due to hook renames
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@507 958fd67b-6ff1-0310-b445-bb7760255be9
2005-07-14 13:31:07 +00:00
John Peacock
d790bd519d
rcpt_handler requires a Qpsmtpd::Address object not just the bare address
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@368 958fd67b-6ff1-0310-b445-bb7760255be9
2005-02-22 00:38:06 +00:00
Matt Sergeant
86b15d8e0a
Moved to attic
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@325 958fd67b-6ff1-0310-b445-bb7760255be9
2004-09-21 18:16:05 +00:00
Matt Sergeant
c341ff0d0f
Initial stab at an outbound bounce_verp system.
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@321 958fd67b-6ff1-0310-b445-bb7760255be9
2004-09-20 08:09:02 +00:00
Matt Sergeant
069c5a6835
Apparently diag() doesn't do what I thought it did!
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@315 958fd67b-6ff1-0310-b445-bb7760255be9
2004-09-08 21:53:29 +00:00
Matt Sergeant
d811d6dbdd
A real test (and a flaw in the harness fixed)
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@314 958fd67b-6ff1-0310-b445-bb7760255be9
2004-09-08 21:48:27 +00:00
Matt Sergeant
9224e436bb
Plugin testing framework.
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@313 958fd67b-6ff1-0310-b445-bb7760255be9
2004-09-08 16:26:33 +00:00