Commit Graph

795 Commits

Author SHA1 Message Date
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
Ask Bjørn Hansen
1e68979d60 0.26-dev
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@128 958fd67b-6ff1-0310-b445-bb7760255be9
2003-03-18 09:59:21 +00:00
Ask Bjørn Hansen
132b508c6f 2003
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@127 958fd67b-6ff1-0310-b445-bb7760255be9
2003-03-18 09:59:10 +00:00
Ask Bjørn Hansen
b5f6468466 0.25
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@126 958fd67b-6ff1-0310-b445-bb7760255be9
2003-03-18 09:55:06 +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
1b33326e77 add check_spamhelo
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@124 958fd67b-6ff1-0310-b445-bb7760255be9
2003-03-18 09:47:09 +00:00
Ask Bjørn Hansen
c5453ef74c pass -R to tcpserver
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@123 958fd67b-6ff1-0310-b445-bb7760255be9
2003-03-18 09:46:52 +00:00
Ask Bjørn Hansen
17aa4b1417 add a bit more detail to the installation instructions
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@122 958fd67b-6ff1-0310-b445-bb7760255be9
2003-03-18 09:46:43 +00:00
Ask Bjørn Hansen
0f78dd2fdb more credits! Thanks everyone.
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@121 958fd67b-6ff1-0310-b445-bb7760255be9
2003-03-18 09:46:18 +00:00
Ask Bjørn Hansen
e4cd5cbf89 Add documentation for the helo hook
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@120 958fd67b-6ff1-0310-b445-bb7760255be9
2003-03-18 09:45:55 +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
d06e5ca548 add required modules
format as POD


git-svn-id: https://svn.perl.org/qpsmtpd/trunk@117 958fd67b-6ff1-0310-b445-bb7760255be9
2003-03-18 09:04:49 +00:00
Ask Bjørn Hansen
883b184a80 Use the proper RFC2822 date format in the Received headers. (Somehow
I had convinced myself that ISO8601 dates were okay). Thanks to
Kee Hinckley <nazgul@somewhere.com>.

Print the date in the local timezone instead of in -0000. (Not
entirely convinced this is a good idea)


git-svn-id: https://svn.perl.org/qpsmtpd/trunk@116 958fd67b-6ff1-0310-b445-bb7760255be9
2003-02-06 05:17:28 +00:00
Ask Bjørn Hansen
7b67c74746 pperl update; update STATUS
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@115 958fd67b-6ff1-0310-b445-bb7760255be9
2003-02-06 04:40:48 +00:00
Ask Bjørn Hansen
1b31fcde44 add Rasjid Wilcox
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@114 958fd67b-6ff1-0310-b445-bb7760255be9
2003-01-20 11:04:52 +00:00
Ask Bjørn Hansen
e7c263dd40 All major changes in the this release where 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!)

  Allow mail to <abuse> and <postmaster> to go through

  Add "deny" hook that gets called when another hook returns DENY or
  DENYSOFT.


git-svn-id: https://svn.perl.org/qpsmtpd/trunk@113 958fd67b-6ff1-0310-b445-bb7760255be9
2003-01-20 11:04:36 +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
5eec66f3e2 add deny hook (Rasjid Wilcox)
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@111 958fd67b-6ff1-0310-b445-bb7760255be9
2003-01-20 11:02:20 +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
50451c09a4 fix typo in Rasjid's email address
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@109 958fd67b-6ff1-0310-b445-bb7760255be9
2002-12-26 17:59:24 +00:00
Ask Bjørn Hansen
f33a07ccad status update
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@108 958fd67b-6ff1-0310-b445-bb7760255be9
2002-12-09 09:13:20 +00:00
Ask Bjørn Hansen
6aac8fc692 release 0.20
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@106 958fd67b-6ff1-0310-b445-bb7760255be9
2002-12-09 09:08:44 +00:00
Ask Bjørn Hansen
efeb19129f Fix the "too many dots in the beginning of the line" bug.
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@105 958fd67b-6ff1-0310-b445-bb7760255be9
2002-12-09 09:08:09 +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
2ceb0a88af Add -p to mkdir in log/run (Rasjid Wilcox <rasjid@openminddev.net>)
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@102 958fd67b-6ff1-0310-b445-bb7760255be9
2002-11-20 10:15:06 +00:00
Ask Bjørn Hansen
3d29cd8baf more about the clamav support
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@101 958fd67b-6ff1-0310-b445-bb7760255be9
2002-11-06 11:07:14 +00:00
Ask Bjørn Hansen
0651c64335 increase softlimit for clamav
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@100 958fd67b-6ff1-0310-b445-bb7760255be9
2002-11-06 11:05:48 +00:00
Ask Bjørn Hansen
552a2b3a37 more credits :-)
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@99 958fd67b-6ff1-0310-b445-bb7760255be9
2002-11-06 11:05:03 +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