Commit Graph

38 Commits

Author SHA1 Message Date
Jared Johnson
d3ec361ab8 Turn warnings into $qpsmtpd->log() calls
This can be convenient, especially when one wants to emit a warning that will
show up when running the test suite but still be properly logged in production
2014-12-15 20:07:45 -06:00
Matt Simerson
a2816c50a7 update URL of Qpsmtpd web site to github 2014-05-21 12:44:10 -07:00
Matt Simerson
1e3136a0d0 revert movement of qp bins to bin/
plugin dir, config dir, spool dir, all have different logic about where/how to find their config. The logic needs some untangling and unification before attempting this again.
2013-08-05 15:05:37 -07:00
Matt Simerson
791237841b replace run with separate run for the 2 common
deployment methods. Rather than having to edit the run file, it's much easier to rename the run file.
Moved qpsmtpd* into bin/
2013-08-05 15:05:37 -07:00
Matt Simerson
6b431807c3 perltidy -b qpsmtpd* 2013-08-05 15:05:15 -07:00
Ask Bjørn Hansen
c408aa98ca Update copyright year 2010-04-07 22:32:41 -07:00
Ask Bjørn Hansen
ff0c6134a9 Update URL 2009-04-02 23:35:05 -07:00
Hanno Hecker
d4743d28b6 qpsmtpd (x)inetd: fix Can't call method "connected" on an undefined value at lib/Qpsmtpd/TcpServer.pm line 174.
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@962 958fd67b-6ff1-0310-b445-bb7760255be9
2008-12-31 07:29:14 +00:00
Robert Spier
7169c9f0bc Revert accidental commit 909.
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@910 958fd67b-6ff1-0310-b445-bb7760255be9
2008-05-17 03:54:24 +00:00
Robert Spier
6563dcc4f8 hostnames come in lower case, and might even be longer than 8 characters
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@909 958fd67b-6ff1-0310-b445-bb7760255be9
2008-05-17 03:52:00 +00:00
Hanno Hecker
ea243c2f2f add reset() to Qpsmtpd::Connection to clear the connection notes after
the post-connection hooks - needed for -prefork and STARTTLS


git-svn-id: https://svn.perl.org/qpsmtpd/trunk@893 958fd67b-6ff1-0310-b445-bb7760255be9
2008-05-09 17:40:31 +00:00
Hanno Hecker
88d0125eae add run_hooks('post-connection') in ./qpsmtpd
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@719 958fd67b-6ff1-0310-b445-bb7760255be9
2007-03-03 10:50:45 +00:00
John Peacock
b808a139cf * lib/Qpsmtpd/Transaction.pm
IO::File is buffering the message, so that the AV software doesn't get a
  a chance to scan anything when size_threshold > 0.

* qpsmtpd
  Apparently no one is running tcpserver any longer, since it wasn't loading
  the plugins anymore.

git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@550 958fd67b-6ff1-0310-b445-bb7760255be9
2005-09-23 19:16:37 +00:00
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
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
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
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
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
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
c0b2ccd590 make noop, rset and vrfy work
git-svn-id: https://svn.perl.org/qpsmtpd/branches/v010@24 958fd67b-6ff1-0310-b445-bb7760255be9
2002-07-03 13:27:04 +00:00
Ask Bjørn Hansen
6df92cd56e half baked version of the new object mail engine
(note the branch, v010)


git-svn-id: https://svn.perl.org/qpsmtpd/branches/v010@23 958fd67b-6ff1-0310-b445-bb7760255be9
2002-07-03 13:10:44 +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
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
0f3b33c0c5 assorted fixes, including getting dnsbl's to actually work
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@6 958fd67b-6ff1-0310-b445-bb7760255be9
2002-01-21 12:55:32 +00:00
Ask Bjørn Hansen
a237b44602 check dns of sending host
rejct mails to unicode@perl.org as no such address exists and it gets
a lot of spam (needs to be moved to an external filter too).

fix bug that screws up the headers.


git-svn-id: https://svn.perl.org/qpsmtpd/trunk@4 958fd67b-6ff1-0310-b445-bb7760255be9
2001-10-31 00:11:29 +00:00
Ask Bjørn Hansen
0664a76dc3 test sircam block. (should be moved to external "filter")
fix bug with malformed rcpt to: commands.


git-svn-id: https://svn.perl.org/qpsmtpd/trunk@3 958fd67b-6ff1-0310-b445-bb7760255be9
2001-10-30 12:49:47 +00:00
Ask Bjørn Hansen
615c00ea97 bark and abort properly when "DATA" is being called without MAIL and RCPT first.
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@2 958fd67b-6ff1-0310-b445-bb7760255be9
2001-10-30 10:05:15 +00:00
Ask Bjørn Hansen
c148b0f829 v0.04
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@1 958fd67b-6ff1-0310-b445-bb7760255be9
2001-10-30 09:55:06 +00:00
Ask Bjørn Hansen
e74bec2479 0.03 tar.gz 2001-10-30 00:39:00 -08:00
Ask Bjørn Hansen
997691c1dd 0.02 tar.gz 2001-10-29 18:27:44 -08:00
Ask Bjørn Hansen
be745c9b6a 0.01 tar.gz 2001-10-29 18:04:56 -08:00