Matt Sergeant
20fde2ef98
Don't require Danga::Socket in tls plugin
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@889 958fd67b-6ff1-0310-b445-bb7760255be9
2008-05-06 21:43:07 +00:00
Radu Greab
aa016d356e
Kill circular reference.
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@888 958fd67b-6ff1-0310-b445-bb7760255be9
2008-05-06 11:20:52 +00:00
Matt Sergeant
e600baeedf
Fix a weird thing I spotted in the last check in.
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@887 958fd67b-6ff1-0310-b445-bb7760255be9
2008-05-05 17:13:56 +00:00
Ask Bjørn Hansen
3ee6b632dc
remove old .cvsignore file (Steve Kemp)
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@886 958fd67b-6ff1-0310-b445-bb7760255be9
2008-05-05 17:06:22 +00:00
Ask Bjørn Hansen
569ea2a512
s/txn/transaction/ and perltidy cleanup (Steve Kemp)
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@885 958fd67b-6ff1-0310-b445-bb7760255be9
2008-05-05 17:05:38 +00:00
Matt Sergeant
f315e1c193
Make tls work on async
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@884 958fd67b-6ff1-0310-b445-bb7760255be9
2008-05-05 12:22:18 +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
Matt Sergeant
bb724645a7
Don't continually check ->isa() for continue/pause_read - use OO properly
...
Support case where no connect hook is defined (thus continue_read() never gets called)
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@882 958fd67b-6ff1-0310-b445-bb7760255be9
2008-05-02 17:50:29 +00:00
Radu Greab
b2532e8daa
$msg is an arrayref, dereference it before passing to $self->respond.
...
Before this, the SMTP responses contained the reference stringification
instead of the real message, when a plugin denied the mail at the DATA
stage:
554 ARRAY(0x9362f10)
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@881 958fd67b-6ff1-0310-b445-bb7760255be9
2008-05-01 06:20:45 +00:00
Radu Greab
149c9c4790
Follow the logic of the non-async version and other MTAs: make first
...
the MX lookups and, only if they return nothing, make the A lookups.
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@880 958fd67b-6ff1-0310-b445-bb7760255be9
2008-05-01 06:18:46 +00:00
Radu Greab
79aa27f444
This async plugin doesn't need the disconnect hook.
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@879 958fd67b-6ff1-0310-b445-bb7760255be9
2008-05-01 06:17:16 +00:00
Radu Greab
8dda36cf02
New fix for the problem of End-of-data splitted across packets.
...
Previous fix does not work for other cases, for example: packet ends
with CRLFdot, next packet starts with CRLF.
Danga::Client will send now full text lines to the callback.
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@878 958fd67b-6ff1-0310-b445-bb7760255be9
2008-05-01 06:15:32 +00:00
Radu Greab
90e60d3d4f
Allow plugins to use the post-fork hook.
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@877 958fd67b-6ff1-0310-b445-bb7760255be9
2008-05-01 06:11:22 +00:00
Matt Sergeant
ea3f2cd7b7
Make sure we check for \r\n before we fixup the CRs
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@876 958fd67b-6ff1-0310-b445-bb7760255be9
2008-04-15 12:09:54 +00:00
Matt Sergeant
e93284caaa
Fix for when a regular DATA packet starts with "." but isn't End-of-data
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@875 958fd67b-6ff1-0310-b445-bb7760255be9
2008-04-14 12:24:18 +00:00
Matt Sergeant
d0d7412f22
Fix auth and tls in light of globalised hooks
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@874 958fd67b-6ff1-0310-b445-bb7760255be9
2008-04-08 10:34:25 +00:00
Hanno Hecker
ddc1b91964
make hook_*_parse() work again
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@872 958fd67b-6ff1-0310-b445-bb7760255be9
2008-03-20 06:27:42 +00:00
Matt Sergeant
c076c10eae
fix die() message
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@870 958fd67b-6ff1-0310-b445-bb7760255be9
2008-03-18 20:30:16 +00:00
Matt Sergeant
2665f1f304
Doc fix
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@869 958fd67b-6ff1-0310-b445-bb7760255be9
2008-03-18 20:25:06 +00:00
Matt Sergeant
f475fd19e3
Remove remnants
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@868 958fd67b-6ff1-0310-b445-bb7760255be9
2008-03-18 19:43:31 +00:00
Matt Sergeant
f2e786d34f
More updates to bring into line with current qpsmtpd, esp with regard to config and plugin locations.
...
Docs updated
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@867 958fd67b-6ff1-0310-b445-bb7760255be9
2008-03-18 19:36:25 +00:00
Matt Sergeant
6c42523a92
Removed obsolete plugin_dir method (now use config/plugin_dirs)
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@866 958fd67b-6ff1-0310-b445-bb7760255be9
2008-03-18 19:21:00 +00:00
Matt Sergeant
b6acd5577e
Added queue/async/smtp-forward
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@865 958fd67b-6ff1-0310-b445-bb7760255be9
2008-03-18 15:35:09 +00:00
Matt Sergeant
d078cd1fcc
Async smtp-forward plugin
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@864 958fd67b-6ff1-0310-b445-bb7760255be9
2008-03-18 15:20:45 +00:00
Matt Sergeant
9415a518df
Fix nasty bug where body wouldn't be recorded if it came in a separate packet from the header.
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@863 958fd67b-6ff1-0310-b445-bb7760255be9
2008-03-18 15:20:13 +00:00
Matt Sergeant
8e3c0cf33a
fix config caching again - defaults weren't applied prior to this patch
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@862 958fd67b-6ff1-0310-b445-bb7760255be9
2008-03-18 15:19:20 +00:00
Matt Sergeant
b7f39a9713
Config port should be =i (integer).
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@861 958fd67b-6ff1-0310-b445-bb7760255be9
2008-03-18 15:18:51 +00:00
Matt Sergeant
6f1a048cf3
Add shebang line so syntax highlighters kick in :-)
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@860 958fd67b-6ff1-0310-b445-bb7760255be9
2008-03-18 15:18:19 +00:00
Matt Sergeant
31a498cfd7
Restore timers on reset
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@859 958fd67b-6ff1-0310-b445-bb7760255be9
2008-03-13 21:20:56 +00:00
Matt Sergeant
640eadea50
Don't reject mail from the null sender
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@858 958fd67b-6ff1-0310-b445-bb7760255be9
2008-03-13 20:00:33 +00:00
Matt Sergeant
694b9fd148
Fix to prevent denying mail from some otherwise valid hosts
...
Fix to prevent run_continuation being incorrectly called
(both Radu Greab)
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@857 958fd67b-6ff1-0310-b445-bb7760255be9
2008-03-13 19:59:15 +00:00
Matt Sergeant
ddb7cd19d8
Drop privileges properly (Radu Greab)
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@856 958fd67b-6ff1-0310-b445-bb7760255be9
2008-03-13 19:56:25 +00:00
Matt Sergeant
ce5b41df9f
Don't pass --fqdn to hostname if it fails
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@855 958fd67b-6ff1-0310-b445-bb7760255be9
2008-03-13 19:51:00 +00:00
Matt Sergeant
2f349d7cba
add qpsmtpd-async to EXE files
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@854 958fd67b-6ff1-0310-b445-bb7760255be9
2008-03-13 19:50:16 +00:00
Matt Sergeant
83d7cb9119
Reset Danga::Socket in the child (Radu Greab)
...
Add commented out profiling code
Add --config-port to help text
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@853 958fd67b-6ff1-0310-b445-bb7760255be9
2008-03-13 19:50:01 +00:00
Matt Sergeant
f84ba8eb92
Fairness patch - prevent bad pipelining clients from hogging the event loop
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@852 958fd67b-6ff1-0310-b445-bb7760255be9
2008-03-13 19:48:45 +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
a31c897ef5
set explicit ABSTRACT (thanks to Francisco Valladolid)
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@850 958fd67b-6ff1-0310-b445-bb7760255be9
2008-03-03 08:38:22 +00:00
Ask Bjørn Hansen
43924427fc
we don't call the regular logging infrastructure from the Test module,
...
so trace level doesn't get set to the default anywhere. Set it to a value
here to avoid the uninitialized warnings.
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@849 958fd67b-6ff1-0310-b445-bb7760255be9
2008-02-14 18:57:27 +00:00
Ask Bjørn Hansen
6a027f4839
add simple test of config("me")
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@848 958fd67b-6ff1-0310-b445-bb7760255be9
2008-02-14 18:56:33 +00:00
Ask Bjørn Hansen
16e577c798
explain why the CDB config entries are not cached
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@847 958fd67b-6ff1-0310-b445-bb7760255be9
2008-02-14 18:42:54 +00:00
Ask Bjørn Hansen
4d27319233
fix "Use of uninitialized value in pattern match" warning (Gavin Carr
...
and Jim Murray)
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@846 958fd67b-6ff1-0310-b445-bb7760255be9
2008-02-13 08:34:18 +00:00
Matt Sergeant
214e7e0ec0
More crazy performance stuff
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@845 958fd67b-6ff1-0310-b445-bb7760255be9
2008-02-08 21:26:25 +00:00
Matt Sergeant
367c9a31a9
(much) Less stat calls by caching load_logging
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@844 958fd67b-6ff1-0310-b445-bb7760255be9
2008-02-01 20:59:18 +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
Matt Sergeant
3553eee269
More small performance optimisations
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@841 958fd67b-6ff1-0310-b445-bb7760255be9
2008-02-01 19:06:35 +00:00
Matt Sergeant
5f6d3dba0d
Resolve conflict between debug and detach flags
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@840 958fd67b-6ff1-0310-b445-bb7760255be9
2008-01-30 18:41:24 +00:00
Matt Sergeant
238eb79841
Small performance improvement for logging and config hooks which don't need full continuation support
...
DashProfiler support (commented out)
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@839 958fd67b-6ff1-0310-b445-bb7760255be9
2008-01-30 18:35:32 +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
2f3a326e11
Pluggable hook "noop" with example plugin (noop_counter) and doc update.
...
... now check_earlytalker can be expanded to VRFY and NOOP (see RFC 1854, #2.1)
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@836 958fd67b-6ff1-0310-b445-bb7760255be9
2008-01-24 18:43:34 +00:00