Commit Graph

208 Commits

Author SHA1 Message Date
Ask Bjørn Hansen
5abf363c34 Added Postfix queue plugin thanks to Peter J Holzer!
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@205 958fd67b-6ff1-0310-b445-bb7760255be9
2004-02-19 10:55:36 +00:00
Ask Bjørn Hansen
72a4a024fe exit calls ...
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@204 958fd67b-6ff1-0310-b445-bb7760255be9
2004-02-13 13:11:50 +00:00
Ask Bjørn Hansen
773ca08ebf + Update the SPF plugin (Philip Gladstone, philip@gladstonefamily.net):
+   * Integrated with Mail::SPF::Query 1.991
+   * Don't do SPF processing when you are acting as a relay system
+   * Remove the MX changes as they are now inside Mail::SPF::Query


git-svn-id: https://svn.perl.org/qpsmtpd/trunk@201 958fd67b-6ff1-0310-b445-bb7760255be9
2004-02-03 02:57:04 +00:00
Matt Sergeant
fe550b6c91 Big chunk-O changes
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@184 958fd67b-6ff1-0310-b445-bb7760255be9
2003-11-02 11:22:59 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Ask Bjørn Hansen
849be5b1ab 0.12
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@90 958fd67b-6ff1-0310-b445-bb7760255be9
2002-10-17 07:42:22 +00:00
Ask Bjørn Hansen
208a0cd54c fix NOOP
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@88 958fd67b-6ff1-0310-b445-bb7760255be9
2002-10-14 05:47:25 +00:00
Ask Bjørn Hansen
97610b6840 Better installation instructions and error message when no plugin
allowed or denied relaying (thanks to Lars Rander
<lrNOSPAM@rander.dk>).


git-svn-id: https://svn.perl.org/qpsmtpd/trunk@87 958fd67b-6ff1-0310-b445-bb7760255be9
2002-10-14 01:59:04 +00:00
Ask Bjørn Hansen
c45dbfcdae Use /usr/bin/perl instead of the non-standard /home/perl/bin/perl
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@86 958fd67b-6ff1-0310-b445-bb7760255be9
2002-10-13 01:05:40 +00:00
Ask Bjørn Hansen
415c7d9d0e qmail-queue changes
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@82 958fd67b-6ff1-0310-b445-bb7760255be9
2002-10-10 01:51:53 +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
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
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
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
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
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
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
6588ac300b v0.10 released
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@61 958fd67b-6ff1-0310-b445-bb7760255be9
2002-09-08 14:24:25 +00:00
Ask Bjørn Hansen
3fae01ee4f update documentation
git-svn-id: https://svn.perl.org/qpsmtpd/branches/v010@53 958fd67b-6ff1-0310-b445-bb7760255be9
2002-09-08 10:07:34 +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
e561b69696 add more notes about recent changes
git-svn-id: https://svn.perl.org/qpsmtpd/branches/v010@37 958fd67b-6ff1-0310-b445-bb7760255be9
2002-07-15 12:19:29 +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
3851980c38 klez filter (thanks to robert spier)
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@19 958fd67b-6ff1-0310-b445-bb7760255be9
2002-05-09 23:47:20 +00:00
Ask Bjørn Hansen
44a5199185 give credit to Zukka too for the RELAYCLIENT thing
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@17 958fd67b-6ff1-0310-b445-bb7760255be9
2002-04-21 03:34:13 +00:00
Ask Bjørn Hansen
e2cc2f7464 If the connection fails while in DATA we would just accept the
message. Ouch! Thanks to Devin Carraway <qpsmtpd@devin.com> for the
  patch.

  bumped version number to 0.07


git-svn-id: https://svn.perl.org/qpsmtpd/trunk@16 958fd67b-6ff1-0310-b445-bb7760255be9
2002-04-21 03:28:20 +00:00
Ask Bjørn Hansen
f4f1427fb9 Support comments in configuration files (prefix the line with #)
Support RELAYCLIENT like qmail-smtpd (thanks to Marius Kjeldahl
  <marius@kjeldahl.net>) )


git-svn-id: https://svn.perl.org/qpsmtpd/trunk@15 958fd67b-6ff1-0310-b445-bb7760255be9
2002-04-21 03:21:23 +00:00
Ask Bjørn Hansen
0a91332bcd Allow [1.2.3.4] for the hostname when checking if the dns resolves
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@12 958fd67b-6ff1-0310-b445-bb7760255be9
2002-01-27 01:23:42 +00:00
Ask Bjørn Hansen
7d4409c7b7 Make the MAIL FROM host dns check configurable. (thanks to Devin
Carraway).

Add more documentation to the	README	file.


git-svn-id: https://svn.perl.org/qpsmtpd/trunk@10 958fd67b-6ff1-0310-b445-bb7760255be9
2002-01-22 03:53:48 +00:00
Ask Bjørn Hansen
97a9e4d205 enable taint checking
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@9 958fd67b-6ff1-0310-b445-bb7760255be9
2002-01-21 14:24:32 +00:00
Ask Bjørn Hansen
9155e06d22 fix databytes
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@8 958fd67b-6ff1-0310-b445-bb7760255be9
2002-01-21 13:55:51 +00:00
Ask Bjørn Hansen
97bfabe81d initial changes and readme files
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@7 958fd67b-6ff1-0310-b445-bb7760255be9
2002-01-21 12:58:05 +00:00