I'm amazed that I can not locate a plugin, but I'm sure one must exist, on 2013, that allows eaxh user to add customer headers if they want, some users need to add the security headers, some even want to add their PGP header, but no obvious way to do it.
Am I having a blonde moment?
Nikki
bump
On 10/2/13, Nick Edwards nick.z.edwards@gmail.com wrote:
I'm amazed that I can not locate a plugin, but I'm sure one must exist, on 2013, that allows eaxh user to add customer headers if they want, some users need to add the security headers, some even want to add their PGP header, but no obvious way to do it.
Am I having a blonde moment?
Nikki
The RoundCube UI has support for some basic headers. You can "Add CC", "Add Bcc", "Add Reply-To" and "Add Followup-To". You can look for these strings in the code and extend the UI with headers of your choice. A possibility would be "Add Arbitrary Header", where q quick and dirty way to implement it would be to let the user enter the header using "Name: value" syntax, and parse it out. You could repeat that button three times so the user can add up to three custom headers.
As far as PGP headers go, you really don't want users to be mucking around with headers; PGP support ought to be integrated into the client.
This has been the subject of a long-standing trac ticket:
http://trac.roundcube.net/ticket/1440396
Earlier this year, an annoucement was made in this list by someone developing an OpenPGP plugin:
http://lists.roundcube.net/pipermail/dev/2013-January/022123.html
On 01.10.2013 18:51, Nick Edwards wrote:
I'm amazed that I can not locate a plugin, but I'm sure one must exist, on 2013, that allows eaxh user to add customer headers if they want, some users need to add the security headers, some even want to add their PGP header, but no obvious way to do it.
Am I having a blonde moment?
Nikki
Your question is hard to respond to without knowing exactly what the attachment looks like. What is the mime type? Etc.
This question may be a good candidate for the Roundcube bug database. If you open a trac ticket, you can support it by uploading relevant data as attachments to the ticket, such a sample e-mail message from the anti-spam software which is not being handled in the way that you like.
The best way to get "action" on bugs or feature requests is to submit actual example data, describe what happens with that data now (with steps to reproduce, if necessary), and describe what should happen instead (expected behavior).
Don't let the lack of details be the reason why your question gets ignored!
If some anti-spam tagging system sends an entire email as an attachment in RFC-2822 format, the client should not automatically display the contents. It should look like an attachment you can click on, and from there you should be given a choice about what application should be used to open it: Roundcube, Outlook, Gmail, ... or save to file. If RoundCube automatically displays attached raw e-mails, that's an issue.
On 07.10.2013 05:34, Nick Edwards wrote:
bump
On 10/2/13, Nick Edwards nick.z.edwards@gmail.com wrote:
I'm amazed that I can not locate a plugin, but I'm sure one must exist, on 2013, that allows eaxh user to add customer headers if they want, some users need to add the security headers, some even want to add their PGP header, but no obvious way to do it. Am I having a blonde moment? Nikki
Roundcube Users mailing list users@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/users [1]
On 10/8/13, Kaz Kylheku kaz@kylheku.com wrote:
The RoundCube UI has support for some basic headers. You can "Add CC", "Add Bcc", "Add Reply-To" and "Add Followup-To". You can look for these strings in the code and extend the UI with headers of your choice. A possibility would be "Add Arbitrary Header", where q quick and dirty way to implement it would be to let the user enter the header using "Name: value" syntax, and parse it out. You could repeat that button three times so the user can add up to three custom headers.
As far as PGP headers go, you really don't want users to be mucking around with headers; PGP support ought to be integrated into the client.
huh no, you have got that wrong, there is an official header type PGP which is where people can put in URL's to go to get persons keys etc,
Adding a custom header if the users want to, is what I was inquiring about, seems there is no such beast, so we may need to look at alternatives, squirelmail did this years ago, so I was surrpised roundcube doesnt. thanks anyway
ita an eml I guess, its what amavisd-new and spamassassin use.
On 10/8/13, Kaz Kylheku kaz@kylheku.com wrote:
Your question is hard to respond to without knowing exactly what the attachment looks like. What is the mime type? Etc.
The RoundCube UI has support for some basic headers. You can "Add CC", "Add Bcc", "Add Reply-To" and "Add Followup-To". You can look for these strings in the code and extend the UI with headers of your choice. A possibility would be "Add Arbitrary Header", where q quick and dirty way to implement it would be to let the user enter the header using "Name: value" syntax, and parse it out. You could repeat that button three times so the user can add up to three custom headers.
As far as PGP headers go, you really don't want users to be mucking around with headers; PGP support ought to be integrated into the client.
huh no, you have got that wrong, there is an official header type PGP which is where people can put in URL's to go to get persons keys etc,
Adding a custom header if the users want to, is what I was inquiring about, seems there is no such beast, so we may need to look at alternatives, squirelmail did this years ago, so I was surrpised roundcube doesnt. thanks anyway
You could probably do this in a plugin. There is two ways to approach this as far as I can see.
The first is the easiest. If you want users to be able to set a static outgoing header on every sent message, you could write a plugin that hooks into the settings, and into message_outgoing_headers. This is pretty trivial at first glance.
If you want users to be able to set any header on compose, it gets a bit more tricky. You'd probably need to hook into a render hook, and add your html, or maybe add some html through javascript. Then again hook into message_outgoing_headers, read your post data, and add this to the headers array.
The great thing about roundcube is that you can do almost anything in plugins.
Cor
Am 09.10.2013 06:56, schrieb Cor Bosman:
The great thing about roundcube is that you can do almost anything in plugins.
Sure, but is this hint really helpful for someone asking in the users (!) list?
Not that I personally would have a specific need for adding any (static) custom headers, but that there is no plugin available for this purpose yet, does also surprise me.
Michael Heydekamp Co-Admin freexp.de Düsseldorf/Germany