A NOTE has been added to this issue.
======================================================================
http://www.dbmail.org/mantis/view.php?id=749
======================================================================
Reported By: dirixmjm
Assigned To:
======================================================================
Project: DBMail
Issue ID: 749
Category: IMAP daemon
Reproducibility: N/A
Severity: feature
Priority: normal
Status: new
target:
======================================================================
Date Submitted: 22-Dec-08 17:08 CET
Last Modified: 22-Dec-08 18:02 CET
======================================================================
Summary: Plugin Feature Request
Description:
Wouldn't it be neat if there was a way te write plugins (create an
universal
interface which could be connected to with a scripting language) for
the imap storage.
So for example, if I wanted to add an RSS feed through a script. Which
does
not store the data in my database, but does a live query when I request
a mailbox from imap with a special name prefix (i.e. #RSS/FEEDNAME).
Instead
of looking in the database dbmail should call the script which returns
mailbox
data that dbmail can read, and represent as mailbox.
======================================================================
----------------------------------------------------------------------
Lord - 22-Dec-08 18:02
----------------------------------------------------------------------
I think the idea is good, but the example is not perfect because this can
easy done by a cronjob and a sievescript.
sievescript should looks something like this:
require ["fileinto"]
if header :contains "subject" "RSS/feedname" {
fileinto "RSS/feedname";
} elseif header :contains "subject" "RSS/feedname2" {
fileinto "RSS/feedname2";
} else {
keep
}
---
the php script to do this cron would explode the post ;-)
Issue History
Date Modified Username Field Change
======================================================================
22-Dec-08 17:08 dirixmjm New Issue
22-Dec-08 17:09 jasb Issue Monitored: jasb
22-Dec-08 18:02 Lord Note Added: 0002714
======================================================================
_______________________________________________
Dbmail-dev mailing list
[email protected]
http://twister.fastxs.net/mailman/listinfo/dbmail-dev