From what I can tell, Roundcube has a fixed set of email subjects that it
parses. I am interested in modifying Ythan's MoveSpam plugin to consider bogofilter's X-Bogosity header (which Roundcube does not parse) instead of a tagged Subject header.
Is there any interest in adding to Roundcube the ability to parse arbitrary email headers? Is there a good reason that Roundcube only supports a fixed set of headers?
Thank you,
Hello Mike
I don't quiet understand the problem. Roundcube parses *all* headers when loading a message. You can access them through $MESSAGE->headers->get('X-Your-Header'). Only when fetching headers for the message list, the number of headers is limited to a set we actually use for the list display. Maybe that's what you're referring to. But here you can use a plugin hook to tell Roundcube to fetch additional headers from IMAP. See http://trac.roundcube.net/wiki/Plugin_Hooks#storage_init. Just register to that plugin hook and append your header to the 'fetch_headers' argument.
If that doesn't yet solve your problem, please post a more information about what you're intending to do, maybe along with some of your code.
Kind regards, Thomas
On Fri, Oct 17, 2014 at 2:24 AM, W. Michael Petullo mike@flyn.org wrote:
From what I can tell, Roundcube has a fixed set of email subjects that it parses. I am interested in modifying Ythan's MoveSpam plugin to consider bogofilter's X-Bogosity header (which Roundcube does not parse) instead of a tagged Subject header.
Is there any interest in adding to Roundcube the ability to parse arbitrary email headers? Is there a good reason that Roundcube only supports a fixed set of headers?
Thank you,
-- Mike
:wq _______________________________________________ Roundcube Development discussion mailing list dev@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/dev