David Chang | 1 Oct 2003 04:31
Picon
Favicon

Re: How best to enable a default sieve rule?

Hi all:
In horde/ingo/config/prefs.php ,There are something made me confuse and wish
someone tell me.What do characters 'a' , 'i' meaning in value entry?

$_prefs['rules'] = array(
    'value' => 'a:4:{i:0;a:2:{s:4:"name";s:9:"Whitelist";s:6:"action";i:' . INGO
_STORAGE_ACTION_WHITELIST . ';}i:1;a:3:{s:4:"name";s:8:"Vacation";s:6:"action";i
:' . INGO_STORAGE_ACTION_VACATION . ';s:7:"disable";b:1;}i:2;a:2:{s:4:"name";s:9
:"Blacklist";s:6:"action";i:' . INGO_STORAGE_ACTION_BLACKLIST . ';}i:3;a:2:{s:4:
"name";s:7:"Forward";s:6:"action";i:' . INGO_STORAGE_ACTION_FORWARD . ';}}',

引用 Jan Schneider <jan@...>:

> Zitat von Ben Poliakoff <benp@...>:
>
> > I'm trying to find the best way to prepopulate each user's "spam" rule
> > so that we don't have to tell the users how to construct a new one.
>
> Create the rules you need from a certain account. Then get this account's
> preferences for ingo from the preference backend and copy them into ingo's
> config/prefs.php.
>
> Jan.
>
> --
> http://www.horde.org - The Horde Project
> http://www.ammma.de - discover your knowledge
> http://www.tip4all.de - Deine private Tippgemeinschaft
> --
> Ingo mailing list
(Continue reading)

Jan Schneider | 1 Oct 2003 08:10
Favicon
Gravatar

Re: How best to enable a default sieve rule?

Zitat von David Chang <david@...>:

> Hi all:
> In horde/ingo/config/prefs.php ,There are something made me confuse and
> wish
> someone tell me.What do characters 'a' , 'i' meaning in value entry?

http://php.net/serialize

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft

David Chang | 1 Oct 2003 09:41
Picon
Favicon

Re: How best to enable a default sieve rule?

Does Horde already provide sort of function call to unserialize such value ?

David Chang

引用 Jan Schneider <jan@...>:

> Zitat von David Chang <david@...>:
>
> > Hi all:
> > In horde/ingo/config/prefs.php ,There are something made me confuse and
> > wish
> > someone tell me.What do characters 'a' , 'i' meaning in value entry?
>
> http://php.net/serialize
>
> Jan.
>
> --
> http://www.horde.org - The Horde Project
> http://www.ammma.de - discover your knowledge
> http://www.tip4all.de - Deine private Tippgemeinschaft
>

Jan Schneider | 1 Oct 2003 09:49
Favicon
Gravatar

Re: How best to enable a default sieve rule?

Zitat von David Chang <david@...>:

> Does Horde already provide sort of function call to unserialize such
> value ?

http://php.net/unserialize

> David Chang
>
> 引用 Jan Schneider <jan@...>:
>
> > Zitat von David Chang <david@...>:
> >
> > > Hi all:
> > > In horde/ingo/config/prefs.php ,There are something made me confuse
> and
> > > wish
> > > someone tell me.What do characters 'a' , 'i' meaning in value entry?
> >
> > http://php.net/serialize
> >
> > Jan.
> >
> > --
> > http://www.horde.org - The Horde Project
> > http://www.ammma.de - discover your knowledge
> > http://www.tip4all.de - Deine private Tippgemeinschaft
> >
>
>
(Continue reading)

James Van Sickle | 2 Oct 2003 18:43
Favicon

Transaction State?

Hey

   I am working on installing the CVS verion of Horde, Imp, and Ingo on my Linux
server.  When I try to update the filters through Ingo, I am getting the
following message.

There was an error activating this script. The driver said: Not currently in
TRANSACTION state

   I have searched through my information on procmail, and did not see anything
about a transaction state.  Could someone please help point me in the right
direction to where I should look to resolve this problem?  Thanks for any
assistance you can provide.

-James

Ben Chavet | 2 Oct 2003 07:33

Re: Transaction State?

I had the same problem & it took me forever to find it.  The tranaction state
has to do with transferring the procmail script from horde to your home
directory (I think).  This is controlled by the config/backends.php file which
needs to be configured for your setup.  Here is my configuration, which needs
an ftp server running on localhost to work.

/* Procmail Example */
$backends['procmail'] = array(
    'driver' => 'vfs',
    'preferred' => '',
    'hordeauth' => true,
    'params' => array(
        // Hostname of the VFS server
        'hostspec' => 'localhost',
        // Name of the procmail config file to write
        'procmailrc' => '.procmailrc',
        // Port of the VFS server
        'port' => 21,
        // The VFS driver to use
        'vfstype' => 'ftp'
    ),
    'script' => 'procmail',
    'scriptparams' => array(
        // What path style does the IMAP server use ['mbox'|'maildir']?
        'path_style' => 'mbox'
    )
);

Hope that helps.

(Continue reading)

Jan Schneider | 2 Oct 2003 18:32
Favicon
Gravatar

Re: Transaction State?

Zitat von James Van Sickle <gothbert@...>:

> Hey
>
>    I am working on installing the CVS verion of Horde, Imp, and Ingo on
> my Linux
> server.  When I try to update the filters through Ingo, I am getting the
> following message.
>
> There was an error activating this script. The driver said: Not currently
> in
> TRANSACTION state
>
>    I have searched through my information on procmail, and did not see
> anything
> about a transaction state.  Could someone please help point me in the
> right
> direction to where I should look to resolve this problem?  Thanks for any
> assistance you can provide.

This message occurs only if you configured the sieve server.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft

(Continue reading)

James Van Sickle | 2 Oct 2003 19:22
Favicon

Re: Transaction State?

Thanks everyone.  Both solutions worked.  I still had the unconfigured Sieve
entry in my backend file, and was missing a line on my Procmail configuration.

-James

Quoting Jan Schneider <jan@...>:
>
> This message occurs only if you configured the sieve server.
>
> Jan.
>
> --
> http://www.horde.org - The Horde Project
> http://www.ammma.de - discover your knowledge
> http://www.tip4all.de - Deine private Tippgemeinschaft
> --
> Ingo mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: ingo-unsubscribe@...
>

Robert Clemens | 3 Oct 2003 11:41
Favicon

getting filtering working

I imagine the solution to my problem is simple.

I'm running qmail + vpopmail + courier-imapd + horde

I'm running an older version of imp with the filtering built into imp.
Ever since the switch to using ingo as the filtering base, I cannot seem
to
get ingo to filter my mailbox. I've played extensively with the
backends.php
file to try to make some sense of it, but can't seem to get filtering
going no
matter what I do. Can someone help me figure this out? Thanks.

--
Robert Clemens
robert@...

Joakim Ryden | 4 Oct 2003 22:14

(no subject)

Hey folks -

trying out a new CVS checkout of horde/imp/ingo from today I'm a little
confuzzled by the below error:

"There was an error activating this script. The driver said: Unable to write VFS
file."

Not very hard to understand one might think. ;) But what does it mean? I'm not
exactly sure where to begin fixing it. I'm using the procmail backend and I
have 'driver' set to 'vfs'. In horde/conf.php I have:

$conf['vfs']['type'] = 'file';
$conf['vfs']['params']['vfsroot'] = '/tmp';

Does that mean Ingo is unable to write to /tmp??

Cheers,
Jo


Gmane