[ingo] Problem writing .procmailrc files.

Michael J Rubinsky mrubinsk at horde.org
Wed Oct 28 12:09:35 UTC 2015


Quoting Pro Green European <pro_green_european at yahoo.com>:

> Hi.
>
> I am experiencing problems with Ingo 3.2.7 on a RHEL7 based server.
>
>
> After we switched from a RHEL6 Apache/mod_php based Horde  
> installation to one with RHEL7 and Apache2.4/php55-php-fpm 5.5.21-4  
> from RHSCL, no .procmailrc data is written into the files.
>
> I've tried switching over from FTP to SFTP, but with the same results.
>
> Connection is established, user logs in, but no data is written to  
> the .procmailrc file:
>
> My Ingo backends.local.php is:
>
> $resIngo0 = $registry->call('mail/server');
> $resIngo1 = $GLOBALS['registry']->getAuth();
>
> $backends['procmail'] = array(
>  'disabled' => false,
>  'transport' => array(
>   Ingo::RULE_ALL => array(
>    'driver' => 'vfs',
>    'params' => array(
>    'hostspec' => $resIngo0['hostspec'],
>                   'filename' => '.procmailrc',
>                   'vfs_path' => '/'.$resIngo1.'/',
>                   'vfstype' => 'ssh2',
>                   'port' => 22,
>    )
>          ),
>  ),
>
>  'script' => array(
>   Ingo::RULE_ALL => array(
>    'driver' => 'procmail',
>               'params' => array(
>     'path_style' => 'maildir',
>                    'variables' => array(
>                         'SHELL' => '/bin/sh',
>                    ),
>    ),
>   ),
>  ),
> 'shares' => false
> );
>
> Then I get the error message:
>
> Script not updated: There was an error activating the script. The  
> driver said: Unable to write VFS file "/USERNAME/.procmailrc".
>
> No file is created.


Sounds like a permissions problem maybe...


-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5751 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/ingo/attachments/20151028/fd6d7d48/attachment.bin>


More information about the ingo mailing list