Permalink
Commits on Nov 14, 2005
  1. Update Changes file

    Fix typo in README.plugins
    
    prepare for 0.31 to be released wednesday
    
    
    git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@564 958fd67b-6ff1-0310-b445-bb7760255be9
    abh committed Nov 14, 2005
Commits on Nov 8, 2005
  1. * lib/Qpsmtpd/Address.pm

        RFC-2821 Section 4.5.1 specifically requires <postmaster> (without
        domain name) as a legal RCPT TO: address.
    
    * t/qpsmtpd-address.t
        Test the above.
    
    git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@560 958fd67b-6ff1-0310-b445-bb7760255be9
    John Peacock committed Nov 8, 2005
Commits on Nov 2, 2005
  1. * lib/Qpsmtpd/Address.pm

        Add POD to describe how to use the objects.  Make the addr_cmp 
        method private (no need to expose it).
    
    * t/qpsmtpd-address.t
        Include tests of overloaded comparison, including sorting.
    
    git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@559 958fd67b-6ff1-0310-b445-bb7760255be9
    John Peacock committed Nov 2, 2005
Commits on Nov 1, 2005
  1. * lib/Qpsmtpd/Address.pm

        Don't overload '<=>' operator casually.  Swap host/user portion
        when comparing (makes it easy to sort by domain).
    
    git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@558 958fd67b-6ff1-0310-b445-bb7760255be9
    John Peacock committed Nov 1, 2005
Commits on Oct 31, 2005
  1. * lib/Qpsmtpd/Address.pm

        Since we are already overloading stringify, we might as well
        overload comparisons as well (this may be too simplistic a test).
    
    git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@557 958fd67b-6ff1-0310-b445-bb7760255be9
    John Peacock committed Oct 31, 2005
  2. * lib/Qpsmtpd/Auth.pm

      lib/Qpsmtpd/SMTP.pm
        Take the AUTH method and put it in SMTP.pm where it belongs.
    
    * lib/Qpsmtpd.pm
      lib/Qpsmtpd/Plugin.pm
        Expose the auth_user/auth_mechanism property to plugin writers.
    
    git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@556 958fd67b-6ff1-0310-b445-bb7760255be9
    John Peacock committed Oct 31, 2005
Commits on Oct 20, 2005
  1. * lib/Qpsmtpd/Transaction.pm

        Doh!  I should flush() not close(), since other code assume the handle
        is still active.
    
    git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@554 958fd67b-6ff1-0310-b445-bb7760255be9
    John Peacock committed Oct 20, 2005
  2. * lib/Qpsmtpd/Transaction.pm

        Fix fairly egregious error.  If the size_threashold is smaller than
        the body while writing, the file handle would be closed prematurely.
        Ouch.  I don't like it here from a stylistic point of view, but at 
        least it will actually work now.
    
    git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@553 958fd67b-6ff1-0310-b445-bb7760255be9
    John Peacock committed Oct 20, 2005
Commits on Oct 10, 2005
  1. * lib/Qpsmtpd/Address.pm

        Convert objects to hash.  Neuter parse() to wrapper around new().
        Add overload stringify to $obj->format().
    
    * t/qpsmtpd-address.t
        Remove tests specific to parse().  Add test for overloaded "".
    
    git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@552 958fd67b-6ff1-0310-b445-bb7760255be9
    John Peacock committed Oct 10, 2005
Commits on Oct 7, 2005
  1. No strict refs when assigning to a glob

    git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@551 958fd67b-6ff1-0310-b445-bb7760255be9
    Matt Sergeant committed Oct 7, 2005
Commits on Sep 23, 2005
  1. * 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
    John Peacock committed Sep 23, 2005
Commits on Sep 22, 2005
  1. * lib/Qpsmtpd.pm

      By default, spool all messages to disk.
    
    * config.sample/size_threshold
      Provide minimal explanation for how to avoid spooling small messages.
    
    git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@549 958fd67b-6ff1-0310-b445-bb7760255be9
    John Peacock committed Sep 22, 2005
  2. * lib/Qpsmtpd.pm

      Rename config file from memory_threshold to size_threshold to track the
      internal usage.
    
    git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@548 958fd67b-6ff1-0310-b445-bb7760255be9
    John Peacock committed Sep 22, 2005
  3. * lib/Qpsmtpd/TcpServer.pm

      Don't try to load the plugins if they are already loaded.
    
    * lib/Qpsmtpd/Transaction.pm
      Get the size_threshold by inheritance.
      Extract the spooling of the body as a new sub.
      Always spool the body when calling body_filename().
      Compare the body_size to the cached size_threshold.
    
    * lib/Qpsmtpd.pm
      Cache the size_threshold and provide an accessor method.
    
    * qpsmtpd-forkserver
      Initialize both the spool_dir and size_threshold caches before forking.
    
    git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@547 958fd67b-6ff1-0310-b445-bb7760255be9
    John Peacock committed Sep 22, 2005
Commits on Aug 16, 2005
  1. yay for 4 space indentation (but let's not run this until post 0.31)

    git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@543 958fd67b-6ff1-0310-b445-bb7760255be9
    abh committed Aug 16, 2005
Commits on Aug 15, 2005
  1. Merge from trunk r540:541

    git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@542 958fd67b-6ff1-0310-b445-bb7760255be9
    Matt Sergeant committed Aug 15, 2005
Commits on Jul 31, 2005
  1. Generalize '$include' support from plugin configuration to cover all …

    …config
    
    calls.  Add circular-reference checking.
    
    
    git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@537 958fd67b-6ff1-0310-b445-bb7760255be9
    aqua committed Jul 31, 2005
Commits on Jul 30, 2005
  1. Fix unitialized-value warning if the PID file existed but was zero-le…

    …ngth
    
    at startup time.
    
    
    git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@536 958fd67b-6ff1-0310-b445-bb7760255be9
    aqua committed Jul 30, 2005
  2. Merge r534 from trunk (caution about using large wait times in

    check_earlytalker)
    
    
    git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@535 958fd67b-6ff1-0310-b445-bb7760255be9
    aqua committed Jul 30, 2005
Commits on Jul 29, 2005
  1. Mention exim-bsmtp plugin in changelog

    git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@531 958fd67b-6ff1-0310-b445-bb7760255be9
    aqua committed Jul 29, 2005
  2. Mention --detach in changelog

    git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@530 958fd67b-6ff1-0310-b445-bb7760255be9
    aqua committed Jul 29, 2005
  3. Apply slight variation on patch from Peter Holzer to allow specificat…

    …ion of
    
    an explicit $QPSMTPD_CONFIG variable to specify where the config lives,
    overriding $QMAIL/control and /var/qmail/control if set.  The usual "last
    location with the file wins" rule still applies.
    
    
    git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@529 958fd67b-6ff1-0310-b445-bb7760255be9
    aqua committed Jul 29, 2005
  4. Enable svn:keywords

    git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@528 958fd67b-6ff1-0310-b445-bb7760255be9
    aqua committed Jul 29, 2005
  5. Import Exim BSMTP queue plugin, updated to 0.31 API

    git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@527 958fd67b-6ff1-0310-b445-bb7760255be9
    aqua committed Jul 29, 2005
  6. Fix whitespace (spaces for a tab)

    git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@526 958fd67b-6ff1-0310-b445-bb7760255be9
    aqua committed Jul 29, 2005
  7. Remove PID file on exit, if we were told to create one with --pid-file

    git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@525 958fd67b-6ff1-0310-b445-bb7760255be9
    aqua committed Jul 29, 2005
  8. Add --detach commandline option to forkserver; if supplied, daemonize…

    … just
    
    prior to entering the main accept loop.
    
    Split handling of --pid-file so that preexisting pid files are dealt with and
    the file is opened before priveleges are dropped, but the writing out of the
    new file happens after dropping privs and (if applicable) forking the
    daemonized process, so the correct PID is recorded.
    
    
    git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@524 958fd67b-6ff1-0310-b445-bb7760255be9
    aqua committed Jul 29, 2005
  9. Merge r493 from trunk to truncate PID file before re-use

    git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@523 958fd67b-6ff1-0310-b445-bb7760255be9
    aqua committed Jul 29, 2005
Commits on Jul 28, 2005
  1. Extend require_resolvable_fromhost to include a configurable list of

    "impossible" addresses to combat spammer forging.  (Hanno Hecker)
    
    git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@522 958fd67b-6ff1-0310-b445-bb7760255be9
    John Peacock committed Jul 28, 2005
Commits on Jul 23, 2005
  1. my suggestion for a .perltidyrc. I tried it on a few files and it

    cleaned up more than it changed.
    
    
    git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@520 958fd67b-6ff1-0310-b445-bb7760255be9
    abh committed Jul 23, 2005
Commits on Jul 19, 2005
  1. [merge from trunk] Use qmail/control/smtpdgreeting if it exists, othe…

    …rwise
    
    show the original qpsmtpd greeting (with version information).
    
    git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@518 958fd67b-6ff1-0310-b445-bb7760255be9
    John Peacock committed Jul 19, 2005
Commits on Jul 18, 2005
  1. return DECLINED for bad_ssl

    git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@516 958fd67b-6ff1-0310-b445-bb7760255be9
    Matt Sergeant committed Jul 18, 2005
  2. [merge from trunk] Missed hook to data_post to add headers

    git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@514 958fd67b-6ff1-0310-b445-bb7760255be9
    John Peacock committed Jul 18, 2005
Commits on Jul 15, 2005
  1. Notice /var/qmail/control dir (Joe Schaefer)

    git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@509 958fd67b-6ff1-0310-b445-bb7760255be9
    Matt Sergeant committed Jul 15, 2005
Commits on Jul 14, 2005
  1. Don't do exists() on a method call

    git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@506 958fd67b-6ff1-0310-b445-bb7760255be9
    Matt Sergeant committed Jul 14, 2005