Roundcube Community Forum

 

[0.5]Monitor incoming and outgoing mail

Started by unwise, January 14, 2011, 09:19:07 AM

Previous topic - Next topic

unwise

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)

rosali

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

SKaero

Out of curiosity how did you make that plugin? Wouldn't it require setup on the mail server?

JohnDoh

There is one in the plugin list on trac called Dovecot Impersonate

QuoteImpersonate 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...

rosali

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: [email protected]#[email protected]
pass: password of master

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

unwise

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 [email protected]*[email protected]

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.

rosali

jquery $.ajax or rcmail.http_post/rcmail.addEventListener are your friends ;-)
Regards,
Rosali

unwise

Where can i find more info or maybe some example for those functions?

dshepherd