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
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
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
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
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
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
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
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
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
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
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
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
5ea59dbf59
add note about SA 2.50
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@125 958fd67b-6ff1-0310-b445-bb7760255be9
2003-03-18 09:53:37 +00:00
Ask Bjørn Hansen
5d34bad178
Date: Thu, 13 Mar 2003 00:57:39 -0800
...
From: Devin Carraway <qpsmtpd-list@devin.com>
To: qpsmtpd@perl.org
Subject: HELO hook and check plugin
Speaking of direct-to-MX spam, both AOL and Yahoo are large companies
with whole walls-full of servers devoted to mail delivery. None of them
announce themselves with "HELO yahoo.com" or "HELO aol.com." Spammers
certainly do, though.
Here's a patch to SMTP.pm to add hooks for HELO and EHLO, and a plugin
to use them.
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@119 958fd67b-6ff1-0310-b445-bb7760255be9
2003-03-18 09:43:22 +00:00
Ask Bjørn Hansen
4fd09264e8
Date: Tue, 11 Mar 2003 08:08:16 +0000
...
From: Matt Sergeant <matt@sergeant.org>
To: qpsmtpd@perl.org
Subject: [PATCH] Get all dnsbl results
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@118 958fd67b-6ff1-0310-b445-bb7760255be9
2003-03-18 09:20:26 +00:00
Ask Bjørn Hansen
ad10192d9e
allow relaying to config('me')
...
receive mail to <abuse> and <postmaster>
(both by Rasjid Wilcox)
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@112 958fd67b-6ff1-0310-b445-bb7760255be9
2003-01-20 11:03:15 +00:00
Ask Bjørn Hansen
bcaf58471e
most of these changes were by Rasjid Wilcox <rasjidw@openminddev.net>.
...
Fix error handling in queue/qmail-queue.
Add option to queue/qmail-queue to specify an alternate qmail-queue
location.
Add support for the QMAILQUEUE environment variable.
PPerl compatibility (yay!)
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@110 958fd67b-6ff1-0310-b445-bb7760255be9
2003-01-20 11:01:32 +00:00
Ask Bjørn Hansen
52d16950ac
minor documentation changes
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@104 958fd67b-6ff1-0310-b445-bb7760255be9
2002-12-09 08:47:36 +00:00
Ask Bjørn Hansen
99fb59a7ff
Add munge_subject_threshold and reject_threshold options to the
...
spamassassin plugin.
Add documentation to the spamassassin plugin.
Add comments to the plugins config
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@103 958fd67b-6ff1-0310-b445-bb7760255be9
2002-12-09 08:47:15 +00:00
Ask Bjørn Hansen
dc562f716e
make the spamassassin plugin not stop processing of content plugins
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@98 958fd67b-6ff1-0310-b445-bb7760255be9
2002-11-06 11:03:00 +00:00
Ask Bjørn Hansen
89c18c181d
clamav plugin
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@97 958fd67b-6ff1-0310-b445-bb7760255be9
2002-11-06 10:54:41 +00:00
Ask Bjørn Hansen
f9113eb73a
http_config plugin
...
other minor changes
update STATUS and Changes
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@96 958fd67b-6ff1-0310-b445-bb7760255be9
2002-11-06 06:42:55 +00:00
Robert Spier
b6777d1ef8
A simple example of a plugin that logs all incoming mail to a file.
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@93 958fd67b-6ff1-0310-b445-bb7760255be9
2002-11-01 02:08:38 +00:00
Ask Bjørn Hansen
253eeee879
move the queue code to a plugin; document the queue plugin hook.
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@80 958fd67b-6ff1-0310-b445-bb7760255be9
2002-10-10 01:49:34 +00:00
Ask Bjørn Hansen
e342c0b9b2
Make klez filter run for mails bigger than 220KB; they are sometimes
...
bigger than that.
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@77 958fd67b-6ff1-0310-b445-bb7760255be9
2002-09-22 07:04:13 +00:00
Ask Bjørn Hansen
f28c9429a2
skip as much work as possibly if we are not configured to do any.
...
fix bug that gave a warning for <> senders in check_badmailfrom
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@73 958fd67b-6ff1-0310-b445-bb7760255be9
2002-09-10 17:17:15 +00:00
Ask Bjørn Hansen
21a88f9f54
adjust logging. enable disconnect_handler again.
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@72 958fd67b-6ff1-0310-b445-bb7760255be9
2002-09-10 16:49:10 +00:00
Ask Bjørn Hansen
9916cfc038
add timeout so we won't wait forever... (is that what's making it lock up
...
on onion?)
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@71 958fd67b-6ff1-0310-b445-bb7760255be9
2002-09-10 16:36:45 +00:00
Ask Bjørn Hansen
fcbf3b0ad4
return DECLINED if no dnsbl's are configured
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@67 958fd67b-6ff1-0310-b445-bb7760255be9
2002-09-10 13:42:06 +00:00
Ask Bjørn Hansen
a7ac715289
async dns lookups in dnsbl plugin
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@66 958fd67b-6ff1-0310-b445-bb7760255be9
2002-09-10 13:36:58 +00:00
Ask Bjørn Hansen
2fd504ce6a
s/recipient/sender/ since this is the MAIL FROM filter ... :-)
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@65 958fd67b-6ff1-0310-b445-bb7760255be9
2002-09-10 11:04:18 +00:00
Ask Bjørn Hansen
e9b02cb730
new plugins from Jim Winstead
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@63 958fd67b-6ff1-0310-b445-bb7760255be9
2002-09-10 11:00:31 +00:00
Ask Bjørn Hansen
8e42b7ab1b
avoid returning undef if there are no lists defined
...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@59 958fd67b-6ff1-0310-b445-bb7760255be9
2002-09-08 14:15:21 +00:00
Ask Bjørn Hansen
7f5aedffdc
don't do the fortune cookie if the client speaks ESMTP instead of just
...
plain old SMTP.
git-svn-id: https://svn.perl.org/qpsmtpd/branches/v010@55 958fd67b-6ff1-0310-b445-bb7760255be9
2002-09-08 13:23:38 +00:00
Ask Bjørn Hansen
48e3d9de39
remove debug noise
...
git-svn-id: https://svn.perl.org/qpsmtpd/branches/v010@54 958fd67b-6ff1-0310-b445-bb7760255be9
2002-09-08 10:08:53 +00:00
Ask Bjørn Hansen
ed958c64f6
add klez filter plugin
...
git-svn-id: https://svn.perl.org/qpsmtpd/branches/v010@52 958fd67b-6ff1-0310-b445-bb7760255be9
2002-09-08 10:06:52 +00:00
Ask Bjørn Hansen
859a3589aa
improve error handling
...
git-svn-id: https://svn.perl.org/qpsmtpd/branches/v010@50 958fd67b-6ff1-0310-b445-bb7760255be9
2002-09-08 10:02:10 +00:00
Ask Bjørn Hansen
21506e8025
notes on spamassassin compatibility
...
git-svn-id: https://svn.perl.org/qpsmtpd/branches/v010@47 958fd67b-6ff1-0310-b445-bb7760255be9
2002-08-29 03:18:59 +00:00
Ask Bjørn Hansen
95e8a68833
support for SpamAssassin 2.40.
...
git-svn-id: https://svn.perl.org/qpsmtpd/branches/v010@46 958fd67b-6ff1-0310-b445-bb7760255be9
2002-08-29 03:15:34 +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
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
1e113721d0
spamassassin plugin
...
git-svn-id: https://svn.perl.org/qpsmtpd/branches/v010@39 958fd67b-6ff1-0310-b445-bb7760255be9
2002-08-06 12:27:35 +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
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
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