[ingo] Vacation filter not working

Michael J Rubinsky mrubinsk at horde.org
Fri Sep 11 14:08:02 UTC 2015


Quoting Seth Bigam <seth_bigam at champion.org>:

> Quoting Michael J Rubinsky <mrubinsk at horde.org>
>>
>> Quoting Seth Bigam <seth_bigam at champion.org>:
>>
>>> Hello,
>>>
>>> I seem to be having a problem getting the Vacation filter working.
>>> At first, it would not show up under filters at all in Horde, so I
>>> did a search online and found a previous discussion where the
>>> solution was to disable imap and enable procmail in
>>> /ingo/config/backends.local.php. After doing this, the Vacation
>>> filter appeared in Horde, but when a vacation message is enabled, it
>>> does not work and I get the following lengthy error:
>>>
>>> Script not updated: exception 'Ingo_Exception' with message 'There
>>> was an error activating the script. The driver said: exception
>>> 'Horde_Vfs_Exception' with message 'Connection to FTP server
>>> failed.' in /usr/share/pear/Horde/Vfs/Ftp.php:806 Stack trace: #0
>>> /usr/share/pear/Horde/Vfs/Ftp.php(225): Horde_Vfs_Ftp->_connect() #1
>>> /usr/share/pear/Horde/Vfs/Ftp.php(256): Horde_Vfs_Ftp->write('',
>>> '.procmailrc', '/tmp/vfsNuImP2', true) #2
>>> /var/www/html/horde/ingo/lib/Transport/Vfs.php(63):
>>> Horde_Vfs_Ftp->writeData('', '.procmailrc', '# procmail scri...',
>>> true) #3 /var/www/html/horde/ingo/lib/Script/Util.php(45):
>>> Ingo_Transport_Vfs->setScriptActive(Array) #4
>>> /var/www/html/horde/ingo/lib/Script/Util.php(81):
>>> Ingo_Script_Util::activate(Array) #5
>>> /var/www/html/horde/ingo/lib/Basic/Vacation.php(82):
>>> Ingo_Script_Util::update() #6
>>> /var/www/html/horde/ingo/lib/Basic/Base.php(48):
>>> Ingo_Basic_Vacation->_init() #7
>>> /var/www/html/horde/ingo/basic.php(30):
>>> Ingo_Basic_Base->__construct(Object(Horde_Variables)) #8 {main} Next
>>> exception 'Ingo_Exception' with message 'Connection to FTP server
>>> failed.' in /var/www/html/horde/ingo/lib/Transport/Vfs.php:68 Stack
>>> trace: #0 /var/www/html/horde/ingo/lib/Script/Util.php(45):
>>> Ingo_Transport_Vfs->setScriptActive(Array) #1
>>> /var/www/html/horde/ingo/lib/Script/Util.php(81):
>>> Ingo_Script_Util::activate(Array) #2
>>> /var/www/html/horde/ingo/lib/Basic/Vacation.php(82):
>>> Ingo_Script_Util::update() #3
>>> /var/www/html/horde/ingo/lib/Basic/Base.php(48):
>>> Ingo_Basic_Vacation->_init() #4
>>> /var/www/html/horde/ingo/basic.php(30):
>>> Ingo_Basic_Base->__construct(Object(Horde_Variables)) #5 {main}' in
>>> /var/www/html/horde/ingo/lib/Script/Util.php:50 Stack trace: #0
>>> /var/www/html/horde/ingo/lib/Script/Util.php(81):
>>> Ingo_Script_Util::activate(Array) #1
>>> /var/www/html/horde/ingo/lib/Basic/Vacation.php(82):
>>> Ingo_Script_Util::update() #2
>>> /var/www/html/horde/ingo/lib/Basic/Base.php(48):
>>> Ingo_Basic_Vacation->_init() #3
>>> /var/www/html/horde/ingo/basic.php(30):
>>> Ingo_Basic_Base->__construct(Object(Horde_Variables)) #4 {main}
>>>
>>> I’m still a bit of a newbie, so I’m hoping someone on  here might be
>>> able to point me in the right direction of what I need to do here. I
>>> tried poking around a little bit myself, but I’m really not sure
>>> what I need to configure to get this to work.
>>>
>>> Thanks in advance!
>>>
>>> Seth
>>
>> You've configured Ingo to copy the procmail script using FTP but your
>> FTP connection is failing. Do you have a FTP server running on the box
>> configured in ingo's backends[.local].php file? Does the horde user
>> have permissions to use it? Any errors on the server's ftp log?
>>
>
> Hello, thanks for your help.
>
> Sorry for the delayed response. A lot of other things came up and this was
> put on the backburner for awhile.
>
> Turned out that there was not an FTP server installed, so I set one up and
> now I don't get any errors when I enable the vacation filter for a user.
>
> However, when I email the user that the filter is enabled on, I still don't
> get the auto response email.

Well, is the FTP server putting the procmail file in the correct place  
in the user's directory?

-- 
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/20150911/e2cdca78/attachment.bin>


More information about the ingo mailing list