[ingo] Ingo & Procmail

Mike Meklenschek mmek at interconnet.com
Sun Mar 24 23:29:03 UTC 2013


Hi Thank you.

I got this working by changing the code to :

$split = explode('@', 
$GLOBALS['injector']->getInstance('Horde_Core_Factory_Identity')->create()->getName());

Now I have another issue.

The .procmailrc file is being uploaded to my QMAIL server but it is not 
processing the vacation rule.  All other rules work.  Has anyone got the 
procmail rules to work correctly?

Please let me know.

Thanks

Mike


On 3/22/2013 04:50, Jan Schneider wrote:
>
> Zitat von Mike Meklenschek <mmek at interconnet.com>:
>
>> Hi Everyone,
>>
>> I've installed Horde on Centos 5.9 without a problem, but, I'm having 
>> a problem getting ingo working with procmail.
>>
>> Here is my section of ingo/config/backends.php:
>>
>> |$split = explode('@', Auth::getAuth());
>
>                          ^^^^^^^^^^^^^^^
> This is invalid unless you are still using Horde 3.
>
>> $backends['procmail'] = array(
>> 'driver' => 'vfs',
>> 'preferred' => 'localhost',
>> 'hordeauth' => 'false',
>> 'params' => array(
>> 'vfstype' => 'ftp',
>> 'hostspec' => 'localhost',
>> 'filename' => 
>> '/var/qmail/mailnames/'.$split[1].'/'.$split[0].'/.procmailrc',
>> 'port' => 21,
>> 'username' => 'popuser',
>> 'password' => 'password'
>> ),
>> 'script' => 'procmail',
>> 'scriptparams' => array(
>> 'path_style' => 'maildir',
>> 'variables' => array(
>> 'MAILDIR' => '/var/qmail/mailnames/' . $split[1] . '/' . $split[0] . 
>> '/Maildir',
>> 'DEFAULT' => '${MAILDIR}/'
>> )
>> )
>> );|
>>
>>
>> I am getting the following error:
>>
>> *Fatal error*: Using $this when not in object context in 
>> */usr/share/pear/Auth.php* on line *1055
>>
>> *I was wondering if anyone has had this error or anyone's success 
>> with ingo & procmail on a QMAIL server.
>>
>> Mike
>
>



More information about the ingo mailing list