Roundcube Community Forum

 

X-Sophos-SPX-Encrypt - Plugin

Started by prad1978, June 15, 2015, 08:21:30 AM

Previous topic - Next topic

prad1978

Hi there!

I'm looking for a plugin, to use the Sophos-SPX-Encryption with roundcube.
I think it should be easy to write a plugin for this.
There is online one think to but to the writing-page.
I need a mail.compose.other.header with X-Sophos-SPX-Encrypt with the value 1 or 0.
It means if there is a X-Sophos-SPX-Encrypt=1 in the header of the mail, the sophos-utm will encrypt the mail. If ther ist the header X-Sophos-SPX-Encrypt=0 or no X-Sophos-SPX-Encrypt-header in the mail, the Sophos-utm send it the email as usual.
For example the introduction for the thunderbird https://www.sophos.com/en-us/support/knowledgebase/120629.aspx

Is there anyone who can write this plugin? May for a little payment?
Regards peter

SKaero

I don't fully understand what your looking for, are you just look for a plugin to add a header to emails or does it also need to handle encrypting the email?

prad1978

Hi Skaero!

I only need a plugin that set a addional header:
The header is "X-Sophos-SPX-Encrypt=1" or "X-Sophos-SPX-Encrypt=0" or no addional header.
The encryption itself is made with the the Sophos UTM.

If the header is in the email the Sophos-UTM know it should encrypt. If no header or "X-Sophos-SPX-Encrypt=0" is in the outgoing email the Sophos does only relay the mail to the recipient

regards peter

SKaero

So you'd want something like a drop down so that you could select Encrypt, Don't Encrypt, or Ignore which would correspond to the header "X-Sophos-SPX-Encrypt=1", "X-Sophos-SPX-Encrypt=0", no additional header. Is that correct?

prad1978

#4
Yes thats correct!
It would be enough to had a drop down with Encypt or ignore --> correspond to the header "X-Sophos-SPX-Encrypt=1" or no additional header. Maybe a checkbox like the checkboxes for MDN oder DSN is also enough!

regards peter

SKaero

It should be pretty easy, the header can be added with the message_outgoing_header hook so the only real work would be to add the option on the front end.

JohnDoh

If the plugin only needed to work in the Larry skin and not Classic then the option could easily be added using the composeoptions container (this container is not present in the Classic skin).
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

prad1978

That sounds good!
But i have no background to do that myself.
Has anyone the time to write it for me with a little payed compensation?

I need it only for larry skin.
May it could be integrated to the new roundcube in the following years.

regards peter

SKaero

Are you still interested in this? If you are I have some time at the moment and could tackle it.

prad1978

I'm still interested and have send an PM.
regards peter