Ask Bjørn Hansen
9c38313d06
add thhe Utils.pm module
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@79 958fd67b-6ff1-0310-b445-bb7760255be9
2002-09-24 18:53:45 +00:00
Ask Bjørn Hansen
806fcf25e8
Reorganize most of Qpsmtpd.pm into Qpsmtpd/SMTP.pm.
...
Add spool_dir option (thanks to Ross Mueller <ross@visual.com>)
Add plugin name to the "hooks" data structure, so we can log plugin
module had an error when we run a hook.
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@78 958fd67b-6ff1-0310-b445-bb7760255be9
2002-09-24 10:56:35 +00:00
Ask Bjørn Hansen
499d1e6a4c
fix "use of uninitialized variable" warnings
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@76 958fd67b-6ff1-0310-b445-bb7760255be9
2002-09-20 18:55:41 +00:00
Ask Bjørn Hansen
8aa2bac088
work with perl 5.5.3
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@75 958fd67b-6ff1-0310-b445-bb7760255be9
2002-09-20 18:55:20 +00:00
Ask Bjørn Hansen
eed27e5fb1
Fixed "could not print ..." log warning.
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@74 958fd67b-6ff1-0310-b445-bb7760255be9
2002-09-12 07:31:56 +00:00
Ask Bjørn Hansen
a2f455320e
fix bug that made us get stuck if we got RCPT before MAIL.
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@70 958fd67b-6ff1-0310-b445-bb7760255be9
2002-09-10 16:24:23 +00:00
Ask Bjørn Hansen
d02760090a
only log config stuff if trace level is 8 or 10 ... (or higher)
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@69 958fd67b-6ff1-0310-b445-bb7760255be9
2002-09-10 13:45:25 +00:00
Ask Bjørn Hansen
1cea2f9449
add notes method to the Connection object. (used in the dnsbl plugin)
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@68 958fd67b-6ff1-0310-b445-bb7760255be9
2002-09-10 13:42:44 +00:00
Ask Bjørn Hansen
f2bcad4da8
Better RFC conformance. (Reset transactions after the DATA command and
...
when the MAIL command is being done).
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@62 958fd67b-6ff1-0310-b445-bb7760255be9
2002-09-10 09:49:35 +00:00
Ask Bjørn Hansen
c8698cad53
increase the trace level for the config reading stuff
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@58 958fd67b-6ff1-0310-b445-bb7760255be9
2002-09-08 14:12:36 +00:00
Ask Bjørn Hansen
06ee5b636e
prepare for version 0.10
...
git-svn-id: https://svn.perl.org/qpsmtpd/branches/v010@56 958fd67b-6ff1-0310-b445-bb7760255be9
2002-09-08 13:45:37 +00:00
Ask Bjørn Hansen
a1d52491bf
blocked() is no longer supported in Qpsmtpd.pm; we can put it back
...
when qpsmtpd supports plugins accessing the message line by line as we
receive the data.
git-svn-id: https://svn.perl.org/qpsmtpd/branches/v010@51 958fd67b-6ff1-0310-b445-bb7760255be9
2002-09-08 10:05:36 +00:00
Ask Bjørn Hansen
931c3dbdfa
use new plugin_name function when the plugins log()
...
git-svn-id: https://svn.perl.org/qpsmtpd/branches/v010@49 958fd67b-6ff1-0310-b445-bb7760255be9
2002-09-08 10:00:02 +00:00
Ask Bjørn Hansen
4ee8b164f9
support more data_post hook return codes
...
eval { } the hooks so we can handle them failing more gracefully (not
sure if this really adds anything... hmn).
git-svn-id: https://svn.perl.org/qpsmtpd/branches/v010@48 958fd67b-6ff1-0310-b445-bb7760255be9
2002-09-08 09:58:47 +00:00
Ask Bjørn Hansen
0e638f4537
header bugfixes
...
git-svn-id: https://svn.perl.org/qpsmtpd/branches/v010@45 958fd67b-6ff1-0310-b445-bb7760255be9
2002-08-06 13:39:44 +00:00
Ask Bjørn Hansen
be25aa03e6
delete the spool file when we are done with it
...
git-svn-id: https://svn.perl.org/qpsmtpd/branches/v010@44 958fd67b-6ff1-0310-b445-bb7760255be9
2002-08-06 13:04:51 +00:00
Ask Bjørn Hansen
6cf778d598
remove debug warnings
...
git-svn-id: https://svn.perl.org/qpsmtpd/branches/v010@43 958fd67b-6ff1-0310-b445-bb7760255be9
2002-08-06 12:58:58 +00:00
Ask Bjørn Hansen
2ee95fc3fc
only send messages smaller than 500000 bytes to spamd
...
git-svn-id: https://svn.perl.org/qpsmtpd/branches/v010@42 958fd67b-6ff1-0310-b445-bb7760255be9
2002-08-06 12:57:59 +00:00
Ask Bjørn Hansen
245bdd1acf
make the alarm{timeout} thing slightly more efficient...
...
git-svn-id: https://svn.perl.org/qpsmtpd/branches/v010@41 958fd67b-6ff1-0310-b445-bb7760255be9
2002-08-06 12:57:02 +00:00
Ask Bjørn Hansen
75e0f9e568
check that we are being started under tcpserver
...
git-svn-id: https://svn.perl.org/qpsmtpd/branches/v010@40 958fd67b-6ff1-0310-b445-bb7760255be9
2002-08-06 12:34:03 +00:00
Ask Bjørn Hansen
8ce8427bf9
data_post hook
...
spamassassin plugin
git-svn-id: https://svn.perl.org/qpsmtpd/branches/v010@38 958fd67b-6ff1-0310-b445-bb7760255be9
2002-08-06 12:01:22 +00:00
Ask Bjørn Hansen
5f2ceb03bd
dnsbl plugin
...
a few new hooks
fix config/IP to be a good default again
git-svn-id: https://svn.perl.org/qpsmtpd/branches/v010@36 958fd67b-6ff1-0310-b445-bb7760255be9
2002-07-15 12:16:10 +00:00
Ask Bjørn Hansen
d9d509019d
add "disconnect" hook
...
git-svn-id: https://svn.perl.org/qpsmtpd/branches/v010@35 958fd67b-6ff1-0310-b445-bb7760255be9
2002-07-15 11:49:49 +00:00
Ask Bjørn Hansen
2fe35f1b8d
yay, plugin support works! :-D
...
git-svn-id: https://svn.perl.org/qpsmtpd/branches/v010@34 958fd67b-6ff1-0310-b445-bb7760255be9
2002-07-08 02:30:11 +00:00
Ask Bjørn Hansen
ae8adc41a2
plugin base class
...
git-svn-id: https://svn.perl.org/qpsmtpd/branches/v010@32 958fd67b-6ff1-0310-b445-bb7760255be9
2002-07-06 07:18:48 +00:00
Ask Bjørn Hansen
e0d93d10ef
semi working plugin stuff
...
git-svn-id: https://svn.perl.org/qpsmtpd/branches/v010@30 958fd67b-6ff1-0310-b445-bb7760255be9
2002-07-06 07:16:23 +00:00
Ask Bjørn Hansen
3e5de3a0b3
separate queue method called from data.
...
store the header in a Mail::Header object for easier processing by the plugins
git-svn-id: https://svn.perl.org/qpsmtpd/branches/v010@29 958fd67b-6ff1-0310-b445-bb7760255be9
2002-07-06 02:09:01 +00:00
Ask Bjørn Hansen
bcd0d6d534
data method; we can now receive mails with this...
...
git-svn-id: https://svn.perl.org/qpsmtpd/branches/v010@28 958fd67b-6ff1-0310-b445-bb7760255be9
2002-07-04 01:45:19 +00:00
Ask Bjørn Hansen
c0b2ccd590
make noop, rset and vrfy work
...
git-svn-id: https://svn.perl.org/qpsmtpd/branches/v010@24 958fd67b-6ff1-0310-b445-bb7760255be9
2002-07-03 13:27:04 +00:00
Ask Bjørn Hansen
6df92cd56e
half baked version of the new object mail engine
...
(note the branch, v010)
git-svn-id: https://svn.perl.org/qpsmtpd/branches/v010@23 958fd67b-6ff1-0310-b445-bb7760255be9
2002-07-03 13:10:44 +00:00