Chris Haumesser wrote:
> The first regards dbmail-export. I found a message in the archives from
> last July, describing my problem exactly:
> http://thread.gmane.org/gmane.mail.imap.dbmail/5582/focus=5604. I was
> wondering if anything more ever came of that thread.
Grrr. We do have a bug. I can confirm I had this happen to me on a
postgres installation. I didn't remember Ralf's report (no bug was filed
on the tracker at the time. Is now, though). Do you run postgresql?
>
> I can send my own sample output if necessary, but it looks exactly like
> what's already in the archive. All of the messages start with a "From
> [EMAIL PROTECTED] Tue Oct 11 13:06:24 2005" line, followed directly by the
> message body, followed by the rest of the headers. Not exactly a
> typical mbox... ;-)
Indeed.
>
>
> Question 2:
> ----------------
> Does anyone have extra administrative scripts that they've written and
> care to share? Or convenient (python) scripting shortcuts? I'd like a
> quick script, for example, to run daily via cron, that will keep my
> archives sorted by age in years (+365 days, +730 days, +1095days, etc).
There's some rudimentary python classes in python. But what do you mean
by 'sorted'? Do you want to move messages into folders en masse? Based
on arrival date? Please elaborate a bit if you can.
>
> Surely someone has done some python scripting of dbmail admin tasks, and
> it would be great not to have to start completely from scratch (lazy
> scripting newb here). ;-) It would be really cool to have a wiki page
> of contributed scripts!
>
> Some of this is motivated by the lack of granularity of client-side
> "search folders," so I hope server-side vfolders will be a part of
> dbmail soon!
Would be nice to do mailboxes as views in the database. First you'd have
the requirement of the database server supporting writable views.
But you would also require some middleware for managing those views. I'm
guessing here, but I wouldn't be surprised if the imapext/lemonade
groups are already working on a prototype/design. If not, we'd have to
design our own imap extension 'VFOLDER'.
VCREATE Command
Arguments: virtual mailbox name
sort program
charset specification
searching criteria (one or more)
Responses: no specific response for this command
Result: OK - vcreate completed
NO - vcreate error: can't create that charset or
criteria
BAD - command unknown or arguments invalid
[ blah, blah, blah ]
Example: C: A282 VCREATE blurdy (SUBJECT) UTF-8 SINCE 1-Feb-1994
S: A282 OK VCREATE completed
C: A283 VCREATE bloop (SUBJECT REVERSE DATE) UTF-8 ALL
S: A283 OK VCREATE completed
C: A284 VCREATE john (SUBJECT) US-ASCII FROM "john"
S: A284 OK VCREATE completed
--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail