Package: offlineimap Version: 6.0.3 Severity: wishlist Short request: add a way to specific a filter action (Python of whatever) which gets executed on each message delivered, at least to the local mailbox/maildir.
Long story: it is often the case that incoming emails are used to "train" "something". The most popular example is of course SPAM filters, but my actual example is lbdb-fetchaddr (see the lbdb package). My mail setup is based on offlineimap, with a remote machine which actually has a .procmail file. While I've solved the training of SPAM filters on the remote side, I cannot similarly easily solve the lbdb training problem remotely, because I do compose mail locally, and I want the lbdb database to be up to date. To solve my problem it would be enough to have a way to pipe incoming messages to external programs, not caring about the filtering output [1]. Actually, I could hack up a solution on top of http://software.complete.org/software/issues/show/71 , but: a) AFAICT it is not available in the Debian package yet b) it would require on my side to recognize a posteriori which new messages have just been delivered to my maildir, which looks like quite silly, as offlineimap has just done the very same work Many thanks for offlineimap, it rocks! Cheers. [1] but yes, I guess that implementing such a feature will make people hungry about having filters which do change messages, which is probably not a good idea. -- System Information: Debian Release: 5.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages offlineimap depends on: ii python 2.5.2-3 An interactive high-level object-o ii python-support 0.8.7 automated rebuilding support for P offlineimap recommends no packages. Versions of packages offlineimap suggests: pn python-kerberos <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

