Courier-Filter

 view release on metacpan or  search on metacpan

CHANGES  view on Meta::CPAN

    * Fixed handling of undefined header fields.
    * Prepend a "Header:" keyword to positive match results.
  * Disabled timestamping for the Syslog logger module, as syslog does its own
    timestamping.
  * Reworked configuration file example.
  * Refined Build.PL script.
  * Lots of minor documentation fixes.

--- 0.12 (2004-02-25 01:00)

  * chmod the courierfilter socket to 0660, so the Courier daemon system group
    has write access to the socket.  This solves the "sendmail: Unable to
    submit message" permissions problem that occurred on some platforms..
  * Make Module::Build automatically create a Makefile.PL to facilitate
    auto-installation through the CPAN interface..

--- 0.11 (2004-02-22 22:00)

  * Do not use the proprietary "boolean" pragma module, declare our own boolean
    constants instead.
  * Lots of minor documentation fixes.

debian/changelog  view on Meta::CPAN

  * Disabled timestamping for the Syslog logger module, as syslog does its own
    timestamping.
  * Reworked configuration file example.
  * Refined Build.PL script.
  * Lots of minor documentation fixes.

 -- Julian Mehnle <julian@mehnle.net>  Tue,  4 Oct 2004 21:42:42 +0200

libcourier-filter-perl (0.12) unstable; urgency=low

  * chmod the courierfilter socket to 0660, so the Courier daemon system group
    has write access to the socket.  This solves the "sendmail: Unable to
    submit message" permissions problem that occurred on some platforms.
  * Make Module::Build automatically create a Makefile.PL to facilitate
    auto-installation through the CPAN interface.

 -- Julian Mehnle <julian@mehnle.net>  Tue,  1 Oct 2004 21:42:42 +0200

libcourier-filter-perl (0.11) unstable; urgency=low

  * Lots of minor documentation fixes.

lib/Courier/Filter.pm  view on Meta::CPAN

    my $socket = IO::Socket::UNIX->new(
        Local   => $socket_prename,
        Listen  => SOMAXCONN
    )
        or  throw Courier::Error("Unable to create socket $socket_prename");
    
    rename($socket_prename, $socket_name)
        or  unlink($socket_prename),
            throw Courier::Error("Unable to rename socket $socket_prename to $socket_name");
    
    chmod(0660, $socket_name)
        or  throw Courier::Error("Unable to chmod socket $socket_name");
    
    IO::Handle->new_from_fd(3, '>')->close();
    
    my $filter = {
        name        => $name,
        mandatory   => $mandatory,
        threads     => $threads,
        logger      => $logger,
        modules     => $modules,
        trusting    => $trusting,



( run in 1.589 second using v1.01-cache-2.11-cpan-cdf2f3d4e48 )