[sork] patch for postfix/procmail/RedHat8

cbirkett at immusol.com cbirkett at immusol.com
Thu Aug 14 10:43:50 PDT 2003



I have a patch to get the vacation package to work on a system using 
postfix/procmail/RedHat8. Normally vacation will delete the .forward file 
needed by procmail. In the file vacation/lib/Driver/forwards.php

in function unset_vacation()

delete 

if (! $this->_ftpDelete($user, $realm, $pass, ".forward") )
             return false;

and insert


        $contents = "\"|exec /usr/bin/procmail || exit 75\"\n";

        $myFile = $this->_writeTempFile($contents);
        if (!file_exists($myFile)) return false;
        if (! $this->_ftpCopy($user, $realm, $pass, $myFile,
                ".forward", FTP_ASCII) )
             return false;
        unlink($myFile);



More information about the sork mailing list