Matt Sergeant
5b5ab7796d
Removed old comment
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@180 958fd67b-6ff1-0310-b445-bb7760255be9
2003-11-02 11:13:29 +00:00
Matt Sergeant
03b8cda2b5
Don't keep the _qp around - just pass it in to each hook.
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@179 958fd67b-6ff1-0310-b445-bb7760255be9
2003-11-02 11:13:08 +00:00
Matt Sergeant
b442d002f1
Don't unfold header lines.
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@178 958fd67b-6ff1-0310-b445-bb7760255be9
2003-11-01 10:05:23 +00:00
Matt Sergeant
29bbbece90
Check for register() function after fixing plugin name (major speedup for
...
persistent environments as previously queue/qmail-queue would be recompiled
for every mail)
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@177 958fd67b-6ff1-0310-b445-bb7760255be9
2003-10-23 08:48:56 +00:00
Matt Sergeant
38317f082e
Use POSIX::dup2() instead of open() with <& since I found the latter failed
...
regularly for me - POSIX::dup2() was just plain more reliable. Odd, I know.
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@176 958fd67b-6ff1-0310-b445-bb7760255be9
2003-10-09 17:21:49 +00:00
Matt Sergeant
1f92301f6a
Allow location of clamscan to be set.
...
Reset body before writing temp file.
(Both patches from Nick Leverton - nick@leverton.org )
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@175 958fd67b-6ff1-0310-b445-bb7760255be9
2003-10-08 07:15:51 +00:00
Matt Sergeant
a1cf0ae556
Milter plugin
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@174 958fd67b-6ff1-0310-b445-bb7760255be9
2003-10-01 20:57:11 +00:00
Matt Sergeant
d70a5d31f0
Added a note about running under PPerl
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@173 958fd67b-6ff1-0310-b445-bb7760255be9
2003-10-01 20:56:19 +00:00
Ask Bjørn Hansen
2a76892570
don't use Data::Dumper
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@172 958fd67b-6ff1-0310-b445-bb7760255be9
2003-09-15 10:50:27 +00:00
Ask Bjørn Hansen
891778b175
Say Received: ... via ESMTP instead of via SMTP when the client
...
speaks ESMTP. (Hoping this can be a useful SpamAssassin rule).
Take out the X-SMTPD header.
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@171 958fd67b-6ff1-0310-b445-bb7760255be9
2003-09-05 05:10:40 +00:00
Ask Bjørn Hansen
cb49a9079e
add pod documentation and sanity checking of the config
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@170 958fd67b-6ff1-0310-b445-bb7760255be9
2003-08-31 08:24:06 +00:00
Ask Bjørn Hansen
e006f74d23
Use $ENV{QMAIL} to override /var/qmail for where to find the
...
control/ directory.
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@169 958fd67b-6ff1-0310-b445-bb7760255be9
2003-08-30 15:14:56 +00:00
Ask Bjørn Hansen
53efac2e14
Use $ENV{QMAIL} to override /var/qmail for where to find the
...
control/ directory.
Enable "check_earlytalker" in the default plugins config
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@168 958fd67b-6ff1-0310-b445-bb7760255be9
2003-08-30 15:14:39 +00:00
Matt Sergeant
1414144068
Allow dots in the address
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@167 958fd67b-6ff1-0310-b445-bb7760255be9
2003-07-24 12:44:19 +00:00
Matt Sergeant
bae4a84b99
Fixed defaults bug (freeside)
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@166 958fd67b-6ff1-0310-b445-bb7760255be9
2003-07-24 12:43:46 +00:00
Matt Sergeant
f7790c75fd
Removed DISCARD
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@165 958fd67b-6ff1-0310-b445-bb7760255be9
2003-07-24 12:43:02 +00:00
Ask Bjørn Hansen
199c2164a4
default the header to "unknown"
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@164 958fd67b-6ff1-0310-b445-bb7760255be9
2003-07-08 03:12:04 +00:00
Ask Bjørn Hansen
9f857f845e
0.27-dev
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@163 958fd67b-6ff1-0310-b445-bb7760255be9
2003-07-08 03:10:48 +00:00
Matt Sergeant
5a7b0c937b
Patch from freeside to do things slightly more correctly
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@162 958fd67b-6ff1-0310-b445-bb7760255be9
2003-06-27 23:00:52 +00:00
Matt Sergeant
4548b77eca
Right names are "fail" and "softfail" (bad docs, bad)
...
Add headers by default instead of issuing DENY
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@161 958fd67b-6ff1-0310-b445-bb7760255be9
2003-06-27 17:27:35 +00:00
Matt Sergeant
04f2e4ee73
Initial hack at an SPF filter
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@160 958fd67b-6ff1-0310-b445-bb7760255be9
2003-06-27 12:25:52 +00:00
Ask Bjørn Hansen
d71ddbbd04
minor doc patch
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@159 958fd67b-6ff1-0310-b445-bb7760255be9
2003-06-24 16:04:55 +00:00
Matt Sergeant
1e86299bf8
Added DISCARD option to DATA (body) checks
...
Added documentation to Constants.pm
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@158 958fd67b-6ff1-0310-b445-bb7760255be9
2003-06-24 07:42:38 +00:00
Matt Sergeant
0c99d11f8b
Don't reload plugins if already loaded (stops warnings under pperl)
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@157 958fd67b-6ff1-0310-b445-bb7760255be9
2003-06-23 08:14:25 +00:00
Ask Bjørn Hansen
d99eea00d6
release 0.26
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@155 958fd67b-6ff1-0310-b445-bb7760255be9
2003-06-11 08:38:57 +00:00
Ask Bjørn Hansen
94e3fe051d
more status
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@154 958fd67b-6ff1-0310-b445-bb7760255be9
2003-06-11 08:37:35 +00:00
Ask Bjørn Hansen
cfa5ce4d27
add roadmap
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@153 958fd67b-6ff1-0310-b445-bb7760255be9
2003-06-10 10:25:56 +00:00
Ask Bjørn Hansen
8c52b83ab2
nuke the unused and incorrect add_header_line method
...
clarify when notes gets reset
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@152 958fd67b-6ff1-0310-b445-bb7760255be9
2003-06-10 10:15:42 +00:00
Ask Bjørn Hansen
1eafaba4e9
don't try to open configuration files that does not exist.
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@151 958fd67b-6ff1-0310-b445-bb7760255be9
2003-06-10 10:06:31 +00:00
Ask Bjørn Hansen
078ab57dd5
Matt++
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@150 958fd67b-6ff1-0310-b445-bb7760255be9
2003-06-10 10:05:32 +00:00
Ask Bjørn Hansen
1cc56d8f64
add sbl.spamhaus.org to the default config
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@149 958fd67b-6ff1-0310-b445-bb7760255be9
2003-06-10 10:04:50 +00:00
Ask Bjørn Hansen
03e00bfb23
Fix bug in dnsbl that made it sometimes ignore "hits" (thanks to
...
James H. Thompson <jht@lava.net>)
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@148 958fd67b-6ff1-0310-b445-bb7760255be9
2003-06-10 10:03:58 +00:00
Matt Sergeant
2999d7cccd
Added docs
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@147 958fd67b-6ff1-0310-b445-bb7760255be9
2003-06-09 13:45:29 +00:00
Matt Sergeant
80784bb862
Added an smtp forwarding plugin
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@146 958fd67b-6ff1-0310-b445-bb7760255be9
2003-06-09 11:06:41 +00:00
Ask Bjørn Hansen
9b150dfcf1
Fix bug hiding the error message when an existing configuration file
...
isn't readable.
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@145 958fd67b-6ff1-0310-b445-bb7760255be9
2003-04-23 03:36:36 +00:00
Ask Bjørn Hansen
c2b8e8aa19
Add not even halfbaked saslauth plugin. Hopefully it'll give us
...
SMTP AUTH some day. :-)
If a plugin running the ehlo hook add something to the ARRAY
reference $self->transaction->notes('capabilities') then it will be
added to the EHLO response.
Add command_counter method to the SMTP object. Plugins can use this
to catch (or not) consecutive commands. In particular useful with
the unrecognized_command hook.
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@144 958fd67b-6ff1-0310-b445-bb7760255be9
2003-04-21 09:42:01 +00:00
Ask Bjørn Hansen
cd60b5cc84
more todo
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@143 958fd67b-6ff1-0310-b445-bb7760255be9
2003-04-21 08:30:13 +00:00
Ask Bjørn Hansen
1223c26ccf
Filter out all uncommon characters from the remote_host
...
setting. (thanks to Frank Denis / Jedi/Sector One for the hint).
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@142 958fd67b-6ff1-0310-b445-bb7760255be9
2003-04-21 08:28:12 +00:00
Ask Bjørn Hansen
c68e306d17
Don't break under taint mode on OpenBSD. (thanks to Frank Denis /
...
Jedi/Sector One)
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@141 958fd67b-6ff1-0310-b445-bb7760255be9
2003-04-21 08:23:35 +00:00
Ask Bjørn Hansen
b1fc4cafc5
Have the qmail-queue plugin add the message-id to the "Queued!"
...
message we send back to the client (to help those odd sendmail using
people debug their logs)
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@140 958fd67b-6ff1-0310-b445-bb7760255be9
2003-04-16 16:45:57 +00:00
Ask Bjørn Hansen
4c4360d038
Set the process name to "qpsmtpd [1.2.3.4 : host.name.tld]"
...
is it possible to embed ANSI escape codes in a hostname? Hmn, probably not.
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@139 958fd67b-6ff1-0310-b445-bb7760255be9
2003-04-16 16:35:14 +00:00
Ask Bjørn Hansen
933d76ecf9
Fixed timeout bug when the client sent DATA and then stopped before
...
sending the next line. (Gergely Risko <risko@risko.hu>)
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@138 958fd67b-6ff1-0310-b445-bb7760255be9
2003-04-15 18:10:44 +00:00
Ask Bjørn Hansen
3c80ae667f
remove $plugin defined twice warning
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@137 958fd67b-6ff1-0310-b445-bb7760255be9
2003-04-15 17:50:45 +00:00
Ask Bjørn Hansen
3352c379ff
add /bin and /usr/bin to the PATH
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@136 958fd67b-6ff1-0310-b445-bb7760255be9
2003-04-15 17:50:22 +00:00
Ask Bjørn Hansen
64b92755b5
check_earlytalker plugin. Deny the connection if the client talks
...
before we show our SMTP banner. (From Devin Carraway)
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@135 958fd67b-6ff1-0310-b445-bb7760255be9
2003-04-15 17:39:27 +00:00
Ask Bjørn Hansen
f27b77ae61
unrecognized_command hook and a count_unrecognized_commands
...
plugin. (Rasjid Wilcox)
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@134 958fd67b-6ff1-0310-b445-bb7760255be9
2003-04-15 17:39:03 +00:00
Ask Bjørn Hansen
22ca786bac
check_earlytalker plugin. Deny the connection if the client talks
...
before we show our SMTP banner. (From Devin Carraway)
Patch Qpsmtpd::SMTP to allow connect plugins to give DENY and
DENYSOFT return codes. Based on patch from Devin Carraway.
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@133 958fd67b-6ff1-0310-b445-bb7760255be9
2003-04-15 17:01:43 +00:00
Ask Bjørn Hansen
224fe807e1
oops; fix bad commit of the #! line
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@132 958fd67b-6ff1-0310-b445-bb7760255be9
2003-03-26 22:51:14 +00:00
Ask Bjørn Hansen
c10b6fb375
Support morercpthosts.cdb
...
config now takes an extra "type" parameter. If it's "map" then a
reference to a tied hash will be returned.
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@131 958fd67b-6ff1-0310-b445-bb7760255be9
2003-03-25 12:50:07 +00:00
Ask Bjørn Hansen
bf885c2fe8
release 0.25
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@129 958fd67b-6ff1-0310-b445-bb7760255be9
2003-03-18 10:02:12 +00:00