Commit Graph

936 Commits

Author SHA1 Message Date
Charlie Brady
f4eb90cba3 Fix spamassassin plugin log noise if spam score is 0.0 2009-07-20 13:02:38 +02:00
Charlie Brady
a138bcf5a4 Disconnect hosts in rhsbl 2009-07-20 12:59:32 +02:00
Tomas Lee
7efee7b1af Update README (check_relay/rcpt_ok) 2009-06-21 16:51:38 -07:00
Tomas Lee
9c58f3a641 Fix spool_dir configuration documentation 2009-06-21 16:49:56 -07:00
Filippo Carletti
0c69862953 check_spamhelo disconnects after denying a 'helo' 2009-06-18 22:43:48 -07:00
Steve Kemp
dec3ec4920 More POD fixups in docs/
The patch below fixes many errors of the form:

  *** WARNING: line containing nothing but whitespace in paragraph at line 37 in file writing.pod
  *** WARNING: line containing nothing but whitespace in paragraph at line 40 in file writing.pod

  There are also a couple of minor typo-fixes.
2009-06-03 01:11:11 -07:00
Ask Bjørn Hansen
90535ef883 Release 0.82 2009-06-02 16:02:58 -07:00
Robert
b2c3fd5625 Add back the use lib 'lib' to qpsmtpd-prefork.
(I messed up the git foo in 19a0f5ded1 when I initially tried to keep this.)
2009-06-02 15:41:39 -07:00
Charlie Brady
75decb184b Always call setsid, even when we're not daemonizing.
>> However, I'm back to seeing the connection processes being left behind,
>> despite an explicit quit from the remote host.
> It looks to me as though qpsmtpd should have started a new process
> group with the parent process, but hasn't. Or the developer assumed
> that qpsmtpd would be set up as leader of a process group, but it
> isn't in this circumstance.

Signed-off-by: Robert <rspier@pobox.com>
2009-06-02 15:39:41 -07:00
Devin Carraway
8527f784c0 prefork: Fix startup when no interface addresses are specified
Signed-off-by: Ask Bjørn Hansen <ask@develooper.com>
2009-06-02 15:37:31 -07:00
Devin Carraway
b8958d333b forkserver: accurately report default run-as user 2009-06-02 15:36:41 -07:00
Norman Maurer
5ac4fc0524 Fix minor errors in hooks.pod
While writing a plugin for our new spamfilter implementation I noticed
some minor error in the documentation. From the documentation it
sounds like the hook_ok and hook_deny hooks get the previous hook as
parameter.. The truth is: it is the previous plugin.
2009-04-27 07:55:01 -07:00
Ask Bjørn Hansen
5472e92c3b Update Changes 2009-04-27 07:41:23 -07:00
Devin Carraway
6c4dc31827 [PATCH] Update clamdscan plugin to use ClamAV::Client
Signed-off-by: Robert <rspier@pobox.com>
2009-04-27 07:38:28 -07:00
Devin Carraway
19a0f5ded1 [PATCH] prefork: add multi-address support
Allows qpsmtpd-prefork to listen on multiple address/port combinations
simultaneously, based on the corresponding implementation in forkserver.

Signed-off-by: Robert <rspier@pobox.com>
2009-04-27 07:38:14 -07:00
Devin Carraway
6b81c68666 Sanitize the shell environment before loading modules 2009-04-15 01:44:34 -07:00
Devin Carraway
e8ee72a352 prefork: support --listen-address for consistency with forkserver
forkserver uses --listen-address to specify the listening socket address, while
prefork uses --interface.  Add the former as an alias for the latter, for
consistency & ease of integration.  The two still aren't commandline-compatible,
but they're fairly close.

Signed-off-by: Ask Bjørn Hansen <ask@develooper.com>
2009-04-11 14:45:10 -07:00
Ask Bjørn Hansen
ff0c6134a9 Update URL 2009-04-02 23:35:05 -07:00
Ask Bjørn Hansen
1ea8e79850 Add a few more tests and a 'testcover' make target 2009-04-02 23:30:20 -07:00
Ask Bjørn Hansen
45a5265837 Prepare 0.81 2009-04-02 22:39:23 -07:00
jaredj
89e391e9d2 Close spamd socket when we're finished with it
QP's connection to spamd unnecessarily persists beyond the run of the
spamassassin plugin itself.  This closes the socket as soon as we're
finished using it.

Signed-off-by: Ask Bjørn Hansen <ask@develooper.com>
2009-04-02 22:35:42 -07:00
Robert
687fce7caa p0f plugin updates
from Tom Callahan <anomaly@abducted.us>
(reformatted by Robert)

Signed-off-by: Robert <rspier@pobox.com>
Signed-off-by: Ask Bjørn Hansen <ask@develooper.com>
2009-04-01 22:24:37 -07:00
Hanno Hecker
f52d165364 new docs/config.pod: How to configure qpsmtpd
qpsmtpd core config settings and some settings from commonly used plugins
2009-03-14 17:19:14 -07:00
Robert
6365e3a66e Updates to the random_error sample plugin from David Nicol
Signed-off-by: Robert <rspier@pobox.com>
2009-03-14 17:18:28 -07:00
Pedro Melo
8e5bd5aa69 The bare postmaster address is case-insensitive
Per rfc2821, sec 4.5.1 and rfc5321, sec 4.5.1.

Signed-off-by: Pedro Melo <melo@simplicidade.org>
2009-03-14 17:18:13 +00:00
Ask Bjørn Hansen
6b6581fbf5 Add git describe to VERSION when running from a git clone 2009-03-02 13:00:09 -08:00
jaredj
d4edf3acc6 Whitespace cleanups
Remove some trailing spaces and replace some tabs with spaces
2009-03-02 12:53:56 -08:00
jaredj
22a0da47d8 Change transaction->add_recipient to prevent adding undef/empty recipients
Improve Qpsmtpd::Transaction::add_recipient syntax

Update Qpsmtpd::Transaction::add_recipient to use slightly clearer
language, and add 'if $rcpt' to prevent undef recipients from
being added -- in this case, the '@_ and' syntax allowing this set
method to set undef is undesirable, since you shouldn't be adding undef as
a recipient.

Signed-off-by: Ask Bjørn Hansen <ask@develooper.com>
2009-03-02 12:52:10 -08:00
Hanno Hecker
fe4f40b560 "new" plugin logging/apache from SVN's contrib/
Imported logging/apache from SVN's contrib. Changes:
* perltidy run

* Minor tidy-ups by Ask

Signed-off-by: Ask Bjørn Hansen <ask@develooper.com>
2009-03-02 12:42:08 -08:00
Hanno Hecker
a3e41d4a3a "new" plugin connection_time from SVN's contrib/
import plugins/connection_time from SVN's contrib. Changes:
* perltidy run
* add one optional parameter: log level of the message, defaults
  to LOGNOTICE (same as in SVN)
2009-03-02 12:40:05 -08:00
Hanno Hecker
e718d2a2ef add .gitignore file
Ignore config/ and all files generated by 'perl Makefile.PL; make; ...'
2009-03-02 12:39:12 -08:00
Robert
38c02f60d4 Remove trailing whitespace from Changes 2009-03-01 20:07:13 -08:00
Robert
6e5338b757 Remove lines containing only spaces from Changes 2009-03-01 20:06:28 -08:00
Ask Bjørn Hansen
0f2bc23aec Increase softlimit and set LANG=C in ./run file 2009-02-27 19:14:17 -08:00
Ask Bjørn Hansen
9e90ace981 Encourage submitting patches via the mailing list 2009-02-27 01:04:11 -08:00
Hanno Hecker
aa199bee3b "new" plugin rcpt_regexp from SVNs contrib/
* updated docs
* use magic hooking with hook_rcpt
* add note about regexes being eval()ed => trusted users only

Signed-off-by: Ask Bjørn Hansen <ask@develooper.com>
2009-02-27 00:55:03 -08:00
Jared Johnson
82d25b17b0 Consistent Connection and Transaction notes() POD
Qpsmtpd::Connection::notes() and Qpsmtpd::Transaction::notes() have
identicaly functionality; however, the POD documentation for Connection
notes is fairly brief while the documentation for Transaction notes is
longer and more helpful.  This updates the Connection notes documention
to be consistent with its Transaction counterpart.
2009-02-20 07:36:36 -06:00
Jared Johnson
d9cf61175a Add Qpsmtpd::Address::notes() method
Qpsmtpd Connection and Transaction objects support notes() methods which
are conventionally used to pass data between plugins.  This adds the
same functionality to Address objects.  This should make it easier for
plugins to begin supporting message handling based on per-user
configuration directives.

Signed-off-by: Ask Bjørn Hansen <ask@develooper.com>
2009-02-20 07:45:03 -06:00
jaredj
da0110837b Call add_recipient correctly in kavscanner plugin
plugins/virus/kavscanner calls $transaction->add_recipient($_->address)
on a list of Mail::Address objects, but add_recipient() clearly
documents that it takes Qpsmtpd::Address (or compatible) objects, not
strings.  This is a bit of a drive-by fix inspired by a grep through the
codebase for calls to add_recipient().
2009-02-27 00:49:01 -08:00
jaredj
2e552d2297 Add Qpsmtpd::Transaction::remove_recipient()
Add remove_recipient() to Qpsmtpd::Transaction, a counterpart to
add_recipient().

Signed-off-by: Ask Bjørn Hansen <ask@develooper.com>
2009-02-27 00:47:52 -08:00
Jared Johnson
c5af5caa00 Correct 'git clone' command syntax
The 'git clone' command in development.pod doesn't actually work.  This
corrects the syntax.

Signed-off-by: Ask Bjørn Hansen <ask@develooper.com>
2009-02-20 17:14:26 -06:00
Ask Bjørn Hansen
cc77fd4673 Add new files to the MANIFEST 2009-02-27 00:19:03 -08:00
Ask Bjørn Hansen
45eb975fba Update MANIFEST with files that have been moved; ignore .git dir 2009-02-27 00:18:23 -08:00
Ask Bjørn Hansen
9f7ce234b0 prepare v0.80 2009-02-27 00:17:41 -08:00
Ask Bjørn Hansen
b1cbe6a9be Remove outdated virus/check_for_hi_virus plugin 2009-02-27 00:16:24 -08:00
Ask Bjørn Hansen
afa7efb98d Make the README file less insanely outdated 2009-02-13 00:12:55 -08:00
Ask Bjørn Hansen
6bb227cdeb Update year 2009-02-13 00:05:24 -08:00
Robert
01e2190a63 Revert "Add notes to Qpsmtpd::Address class"
This reverts commit ea86b9fdb2.

Jared said...
I originally considered these functionally identical, but they are
not. The new code, called with, say, $txn->notes('discard',undef),
would result in evaluation as if it were a 'get' method rather than
setting the 'discard' note to undef.  That seems quite dangerous.  I
suggest either reverting the language back to the '@_ and' model, or
else doing something like:
2009-02-12 21:00:16 -08:00
Ask Bjørn Hansen
bab7e29009 More git workflow documentation 2009-02-12 01:21:20 -08:00
Ask Bjørn Hansen
bb47d93eb4 Merge commit 'rspier/master'
Conflicts:
	docs/plugins.pod
2009-02-12 00:53:19 -08:00