Author Topic: [0.5]Monitor incoming and outgoing mail  (Read 5261 times)

Offline unwise

  • Newbie
  • *
  • Posts: 5
[0.5]Monitor incoming and outgoing mail
« on: January 14, 2011, 09:19:07 AM »
I'm an admin of a mail server for a small non-profit company. But to be sure that every mailadress wil be used only for the bussiness i wanna monitor all incoming and outgoing mails. Is there a way to do this?

It would be nice to login in a mailbox without using the password of the owner. Just to repair some settings. (We use Fullcalender plugin. And not everyone nows how to isert a feed :o)

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
[0.5]Monitor incoming and outgoing mail
« Reply #1 on: January 15, 2011, 01:40:20 AM »
Please PM'me. I have an 'impersonate' plugin. As I respect the privacy of users I have not published it. I'll give it away, if you convice me that the policy of your company allows you to login to anonymously.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
[0.5]Monitor incoming and outgoing mail
« Reply #2 on: January 15, 2011, 05:14:36 AM »
Out of curiosity how did you make that plugin? Wouldn't it require setup on the mail server?

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,855
[0.5]Monitor incoming and outgoing mail
« Reply #3 on: January 15, 2011, 06:29:12 AM »
There is one in the plugin list on trac called Dovecot Impersonate

Quote
Impersonate another user using the dovecot masteruser feature. Useful for helpdesk/support issues.

That uses a special feature of Dovecot.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
[0.5]Monitor incoming and outgoing mail
« Reply #4 on: January 15, 2011, 08:08:48 AM »
Cor has developed one for Dovecot. Mine works for all backends. The downside is, that you have to use my 'savepassword' plugin.

It works like that:

login: master@mydomain.com#user@mydomain.com
pass: password of master

Pick up (encrypted) password from user and overwrite the
session with user and password of user.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline unwise

  • Newbie
  • *
  • Posts: 5
[0.5]Monitor incoming and outgoing mail
« Reply #5 on: January 16, 2011, 02:48:48 PM »
I got the plugin from Rosali. It works great i added some logging to it but now i'm looking for a way to enter a reason.

The way i think it needs to work is:

I log in a mailbox from someone else using user@domain.com*admin@domain.com

Then a popup comes up so i can enter a reason. The reason needs to be written in the log file. But i don't know how i can do this. Because php is server side and (i think i need to do the popup with java) Java is client side. I don't know a way to pass a variable from the popup to php.

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
[0.5]Monitor incoming and outgoing mail
« Reply #6 on: January 17, 2011, 04:18:04 AM »
jquery $.ajax or rcmail.http_post/rcmail.addEventListener are your friends ;-)
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline unwise

  • Newbie
  • *
  • Posts: 5
[0.5]Monitor incoming and outgoing mail
« Reply #7 on: January 17, 2011, 09:23:45 AM »
Where can i find more info or maybe some example for those functions?

Offline dshepherd

  • Jr. Member
  • **
  • Posts: 87
[0.5]Monitor incoming and outgoing mail
« Reply #8 on: January 17, 2011, 12:27:43 PM »
You can find the jQuery Ajax documentation here Ajax – jQuery API