[horde] Auto responder plugin

Pete at turtle.com Pete at turtle.com
Sat May 10 12:50:55 UTC 2014


  Quoting Leo Prince <leop at admin-ahead.com>:

> On 05/09/2014 08:43 PM, Peter Billson wrote:
>> My backend.local.php looks like:
>
>> <?php /* Disable IMAP backend */ $backends['imap']['disabled'] = true;
>> /* Procmail */ $horde_username = $GLOBALS['registry']->getAuth();
>> $backends['procmail'] = array( 'disabled' => false, 'transport' =>
>> array( Ingo::RULE_ALL => array( 'driver' => 'vfs', 'params' => array(
>> 'hostspec' => 'localhost', 'filename' => '.procmailrc', 'vfs_path' =>
>> '/home/%u/', 'date' => '/bin/date', 'echo' => '/bin/echo', 'ls' =>
>> '/bin/ls', 'vfstype' => 'ftp', 'port' => 21 ), ), ), 'script' => array(
>> Ingo::RULE_ALL => array( 'driver' => 'procmail', 'params' => array(
>> 'path_style' => 'maildir', 'variables' => array( 'DEFAULT' =>
>> '/home/'.$horde_username.' /Mail/.INBOX/', 'MAILDIR' =>
>> '/home/'.$horde_username.'/Mail', 'VACATION_DIR' =>
>> '/home/'.$horde_username ), ), ), ), 'shares' => false );
>
> Hi Peter,
>
> Thanks for sharing your backend.local.php
>
> This works just fine and vacation plugin started to show up from Horde
> for the first time. :)
>
> This created a section "Script" under the filter rules. See
> http://awesomescreenshot.com/0fd2s78hd3
>
> I have clicked on the Script button and tried to activate the script.
> See  http://awesomescreenshot.com/0e62s78x52
>
> But I encountered with error "There was an error activating the script.
> The driver said: Authentication to FTP server failed."
>
> Where is the FTP authentications saved ? How can I reset the FTP
> authentications.
>
> Currently the auto responder mails are not working. I think it will work
> if we activate this .procmail script.
> Thanks in advance. :)

 Ingo tries to FTP the updated procmailrc file using the currently logged
in user's credentials.


More information about the horde mailing list