[ingo] Writing procmail script to a file
Reuben D. Budiardja
techlist at pathfinder.phys.utk.edu
Fri Mar 24 06:06:23 PST 2006
Hello,
I am trying to generate procmail script using Ingo and then write the script
to a file. Here is what I can't figure out:
1. I can't seem to have both the procmail script generation, and IMAP client
side filtering. I played around with config/backends.php, and there I
basically have the stanza:
/* IMAP Example */
$backends['imap'] = array(
'driver' => 'vfs',
'preferred' => 'mydomain.org',
'hordeauth' => true,
'params' => array(),
'script' => 'imap',
'scriptparams' => array()
);
/* Procmail Example */
$backends['procmail'] = array(
'driver' => 'vfs',
'preferred' => 'mydomain.org',
'hordeauth' => true,
'params' => array(
// Hostname of the VFS server
'hostspec' => 'ftp.example.com',
// Name of the procmail config file to write
'filename' => '.procmailrc',
// Port of the VFS server
'port' => 21,
// The VFS driver to use
'vfstype' => 'file',
...
In this case, only the IMAP client side feature is enabled in Ingo.
If I comment out that stanza, and change the $backends['procmail'] to
$backends['imap'] for the "Procmail Example" (and keep everything else the
same), then I can see the link/Icon "Scripts" in my Ingo, but cannot apply
the rule I created using IMAP client side filtering.
So how do I enable both ? what am I missing ?
Please if this is in the FAQ or docs, point me to the URL and I apologize for
missing it (I've looked there and the docs but the docs for Ingo seems
sparse).
2. I cannot write the generated procmail script to a file. I changed 'vfstype'
to 'file' (as you can see above) and I get " ... VFS type "file" not yet
implemented" message when I click on "Activate Script". All I want to do is
just write the generated procmail script to a place writable by the httpd
process as a file. It seems odd that FTP is supported by VFS but a simple
file writing is not. Or am I missing something ?
Thank you in advance for any help.
RDB
--
Reuben D. Budiardja
Dept. Physics and Astronomy
University of Tennessee, Knoxville, TN
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT/M/MU/P/S d-(++) s: a-- C++(+++) UL++++ P-- L+++>++++ E- W+++
N+ o? K- w--- !O M- V? !PS !PE Y PGP- t+ 5 X R- tv+
b++>+++ DI D(+) G e++>++++ h+(*) r++ y->++++
------END GEEK CODE BLOCK------
More information about the ingo
mailing list