Author Topic: X-Sophos-SPX-Encrypt - Plugin  (Read 8523 times)

Offline prad1978

  • Newbie
  • *
  • Posts: 7
X-Sophos-SPX-Encrypt - Plugin
« on: June 15, 2015, 08:21:30 AM »
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

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: X-Sophos-SPX-Encrypt - Plugin
« Reply #1 on: June 21, 2015, 07:15:08 PM »
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?

Offline prad1978

  • Newbie
  • *
  • Posts: 7
Re: X-Sophos-SPX-Encrypt - Plugin
« Reply #2 on: July 02, 2015, 09:05:08 AM »
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

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: X-Sophos-SPX-Encrypt - Plugin
« Reply #3 on: July 02, 2015, 05:11:39 PM »
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?

Offline prad1978

  • Newbie
  • *
  • Posts: 7
Re: X-Sophos-SPX-Encrypt - Plugin
« Reply #4 on: July 18, 2015, 08:55:51 AM »
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
« Last Edit: July 18, 2015, 09:04:38 AM by prad1978 »

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: X-Sophos-SPX-Encrypt - Plugin
« Reply #5 on: July 19, 2015, 09:59:07 PM »
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.

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,845
Re: X-Sophos-SPX-Encrypt - Plugin
« Reply #6 on: July 20, 2015, 03:10:50 AM »
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ā€¦

Offline prad1978

  • Newbie
  • *
  • Posts: 7
Re: X-Sophos-SPX-Encrypt - Plugin
« Reply #7 on: July 27, 2015, 09:05:27 AM »
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

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: X-Sophos-SPX-Encrypt - Plugin
« Reply #8 on: October 16, 2015, 10:59:02 AM »
Are you still interested in this? If you are I have some time at the moment and could tackle it.

Offline prad1978

  • Newbie
  • *
  • Posts: 7
Re: X-Sophos-SPX-Encrypt - Plugin
« Reply #9 on: September 06, 2016, 09:01:11 AM »
I'm still interested and have send an PM.
regards peter