Commit Graph

314 Commits

Author SHA1 Message Date
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
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
9d5610a80a 0.20-dev
allow plugin configuration via the plugins config

store _hooks globally so they'll work from the transaction object too


git-svn-id: https://svn.perl.org/qpsmtpd/trunk@95 958fd67b-6ff1-0310-b445-bb7760255be9
2002-11-06 06:40:35 +00:00
Ask Bjørn Hansen
2001523033 don't log the max size stuff at trace level 6
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@94 958fd67b-6ff1-0310-b445-bb7760255be9
2002-11-06 06:39:32 +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
b556af398e Default DENYSOFT for the rcpt hook gave 550 code
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@92 958fd67b-6ff1-0310-b445-bb7760255be9
2002-10-25 00:24:54 +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
173a2d26f5 better error messages when a plugin fails
remove some debug messages in the log


git-svn-id: https://svn.perl.org/qpsmtpd/trunk@89 958fd67b-6ff1-0310-b445-bb7760255be9
2002-10-17 07:39:54 +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
06c9d65c02 minor updates
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@85 958fd67b-6ff1-0310-b445-bb7760255be9
2002-10-10 03:20:16 +00:00
Ask Bjørn Hansen
afa899a84c 0.12-dev
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@84 958fd67b-6ff1-0310-b445-bb7760255be9
2002-10-10 01:52:34 +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
27371bd7e3 prepare for 0.11
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@81 958fd67b-6ff1-0310-b445-bb7760255be9
2002-10-10 01:50:07 +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
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
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
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
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
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
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
46d6195f38 add check_badmailfrom and check_badrcptto
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@64 958fd67b-6ff1-0310-b445-bb7760255be9
2002-09-10 11:03:20 +00:00