Hinrik Örn Sigurðsson
a5ecd41e72
Allow hyphens in the 1st argument to queue/maildir
...
This is to allow some perfectly reasonable path names like
/var/spool/qpsmtpd-maildir, etc.
2009-09-15 17:24:34 +00:00
Shad L. Lords
52a1ba8deb
Temporary deny if clamd is not running
2009-07-20 13:13:51 +02:00
Jonathan Martens
b3c5195b64
Modify plugins/virus/clamav option for ClamAV 0.95 (no-summary)
2009-07-20 13:07:45 +02:00
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
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
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
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
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
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
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
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
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
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
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
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
Henry Baragar
4bbdd551b4
Ignore leading/trailing whitespace in config files
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@966 958fd67b-6ff1-0310-b445-bb7760255be9
2009-01-02 20:41:00 +00:00
Jared Johnson
9e7a4c8e3b
Allow configuration of spool_dir permissions
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@964 958fd67b-6ff1-0310-b445-bb7760255be9
2008-12-31 21:44:59 +00:00
Jared Johnson
a248ed56ad
Allow local sites to override the definition of an email address.
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@963 958fd67b-6ff1-0310-b445-bb7760255be9
2008-12-31 21:35:21 +00:00
Hanno Hecker
39f7e9163c
update to latest commit (connection->local_*)
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@961 958fd67b-6ff1-0310-b445-bb7760255be9
2008-12-22 07:42:37 +00:00
Hanno Hecker
639c03357d
prepare for 0.90, part 2 - hopefully [:-)] all important changes from "svn log"
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@953 958fd67b-6ff1-0310-b445-bb7760255be9
2008-10-21 19:38:37 +00:00
Diego d'Ambra
03c2bf7608
prefork: improve shutdown of parent (and children) on very busy systems
...
To improve the shutdown of parent and children, send the exiting signal
to the process group (maybe %children is not up to date on very busy
systems).
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@943 958fd67b-6ff1-0310-b445-bb7760255be9
2008-09-04 11:43:52 +00:00
Radu Greab
ab6dd83b6c
Clean up exit codes.
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@942 958fd67b-6ff1-0310-b445-bb7760255be9
2008-09-04 11:43:08 +00:00
Diego d'Ambra
409372ce58
Detect and reset locked shared memory.
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@941 958fd67b-6ff1-0310-b445-bb7760255be9
2008-09-04 11:42:35 +00:00
Radu Greab
aa802e6844
Untaint the value of the --interface option.
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@940 958fd67b-6ff1-0310-b445-bb7760255be9
2008-09-04 11:41:48 +00:00
Radu Greab
e4f0cb0f8c
Inside the main loop skip the sleep when children have exited. Instead, proceed directly to the pool adjustment. While at it, simplify processing by moving the update of shared memory from the SIGCHLD handler to the main loop.
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@939 958fd67b-6ff1-0310-b445-bb7760255be9
2008-09-04 11:41:13 +00:00
Diego d'Ambra
18d1b9f1da
Detach and daemonize only after reading the configuration and loading the plugins, to give the init scripts a chance to detect failed startups due to broken configuration or plugins.
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@938 958fd67b-6ff1-0310-b445-bb7760255be9
2008-09-04 11:38:54 +00:00
Radu Greab
0d96de470d
Close the SSL socket created by duplicating the connection file descriptor. This allows the server to close the connection file descriptor without getting errors like:
...
Can't call method "close" on an undefined value at
/usr/share/perl5/IO/Socket/SSL.pm line 780.
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@937 958fd67b-6ff1-0310-b445-bb7760255be9
2008-09-04 11:37:38 +00:00
Radu Greab
6ad7e24315
Set the Return-Path header when queuing into maildir mailboxes.
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@936 958fd67b-6ff1-0310-b445-bb7760255be9
2008-08-05 09:06:07 +00:00
Hanno Hecker
f88c8abbd6
update Changes: SIGHUP reload for prefork/forkserver
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@928 958fd67b-6ff1-0310-b445-bb7760255be9
2008-06-15 09:30:59 +00:00
Radu Greab
6fc25099b0
Revert #923 , there are objections against it because it is good to know why the reverse DNS lookup failed.
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@924 958fd67b-6ff1-0310-b445-bb7760255be9
2008-06-03 07:35:59 +00:00
Radu Greab
6db489e4f9
Set connection remote_host only when the reverse DNS lookup is successful.
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@923 958fd67b-6ff1-0310-b445-bb7760255be9
2008-06-02 16:48:57 +00:00
Radu Greab
4c93c85f55
Create async version of dns_whitelist_soft, rhsbl and uribl plugins.
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@921 958fd67b-6ff1-0310-b445-bb7760255be9
2008-06-02 15:51:04 +00:00
Hanno Hecker
4159df88de
update Changes: async: pre/post conn hooks, all: conn->reset
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@898 958fd67b-6ff1-0310-b445-bb7760255be9
2008-05-10 06:01:52 +00:00
Radu Greab
b17347179c
Update with my changes
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@883 958fd67b-6ff1-0310-b445-bb7760255be9
2008-05-02 22:13:43 +00:00
Ask Bjørn Hansen
41d00e8b91
Add qpsmtpd-prefork to the install targets (Robin Bowes)
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@851 958fd67b-6ff1-0310-b445-bb7760255be9
2008-03-12 16:13:41 +00:00
Ask Bjørn Hansen
bc5fd11804
bump version to 0.43rc1; update Changes
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@842 958fd67b-6ff1-0310-b445-bb7760255be9
2008-02-01 19:39:11 +00:00
Hanno Hecker
67ffd9fb98
Update Changes file: add hook_noop()
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@837 958fd67b-6ff1-0310-b445-bb7760255be9
2008-01-24 18:45:15 +00:00
Hanno Hecker
ce9e0cb740
Changes file: add hook_help, add config caching for qpsmtpd-async
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@828 958fd67b-6ff1-0310-b445-bb7760255be9
2007-12-07 13:34:57 +00:00
Devin Carraway
85f0d91037
Merge uribl plugin
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@811 958fd67b-6ff1-0310-b445-bb7760255be9
2007-10-23 08:47:38 +00:00