perlimapperl-modulesieve-language

Where to find old IMAP::Sieve perl module


I am upgrading a server and an existing perl CGI program requires IMAP::Sieve perl module. My problem is that I can't find any reference to it anymore on Internet. Does someone knows if it has been replaced by something else and/or where I could find it ?

The existing perl CGI program we use is websieve (can be found on SourceForge). We do not want to use something else as we customized it and it is working perfectly. The script is also using IMAP::Admin.

Thanks a lot for any hint or advice.


Solution

  • Usually for old modules the place to go is backpan, however this looks like it's actually part of something else and lives on sourceforge rather than cpan:

    A Perl module used by websieve for creating Sieve scripts on an Cyrus IMAP mail server. Sometimes also referenced as 'perlsieve'.

    WWW: http://sourceforge.net/projects/websieve

    Inside the tarball for the latest release there is a tarball for perlsieve-0.4.9, the make file for which reads:

    use ExtUtils::MakeMaker;
    # See lib/ExtUtils/MakeMaker.pm for details of how to influence
    # the contents of the Makefile that is written.
    WriteMakefile(
        'NAME'  => 'IMAP::Sieve',
        'VERSION_FROM' => 'Sieve.pm', # finds $VERSION
    );
    

    So just install it the old fashioned way:

    D:\websieve-063a\perlsieve-0.4.9>dmake install
    Installing D:\perl\perl\site\lib\IMAP\Sieve.pm
    Installing D:\perl\perl\site\lib\IMAP\testssl.pl
    Appending installation info to D:\perl\perl\lib/perllocal.pod
    
    D:\websieve-063a\perlsieve-0.4.9>perl Makefile.PL
    Generating a dmake-style Makefile
    Writing Makefile for IMAP::Sieve
    Writing MYMETA.yml and MYMETA.json
    
    D:\websieve-063a\perlsieve-0.4.9>dmake
    Skip blib\lib\IMAP\testssl.pl (unchanged)
    Skip blib\lib\IMAP\Sieve.pm (unchanged)
    
    D:\websieve-063a\perlsieve-0.4.9>dmake install
    Appending installation info to D:\perl\perl\lib/perllocal.pod
    
    D:\websieve-063a\perlsieve-0.4.9>
    

    Feel free to dmake test before dmake install, it prompts for test server criteria, I don't have one.