[imp] IMP filter format
imp at postfix.ch
imp at postfix.ch
Thu Oct 28 08:50:04 PDT 2004
Hi List,
I need some informations about the architecture of the mail filter... I want to
make a program, which automatically applies the filter rules by a user via
maildrop...
My Problem is the following.... the Filter rules, are stored in the database as
follows:
a:3:{i:0;a:4:{s:6:"fields";a:1:{i:0;s:4:"from";}s:4:"text";s:20:"test at test.li";s:6:"action";s:4:"move";s:6:"folder";s:11:"INBOX.Trash";}i:1;a:3:{s:6:"fields";a:2:{i:0;s:4:"from";i:1;s:7:"subject";}s:4:"text";s:6:"tester";s:6:"action";s:6:"delete";}i:2;a:4:{s:6:"fields";a:1:{i:0;s:4:"from";}s:4:"text";s:18:"test at test.ch";s:6:"action";s:4:"move";s:6:"folder";s:10:"INBOX.Sent";}}
How can I get the this data in plain form ??? I searched for some reference in
the libraries, but I didn't find anything helpfull....
The only thing I got is:
getValue('filters');
There it gets the array.... I stopped searching in horde/lib/Prefs/sql.php,
where the getPref(..) function begins and queries the database... Is that
format of data something special, or did I search wrong ?
Thanks for help in advance...
Regards
Robin
More information about the imp
mailing list