Roundcube Community Forum

 

Roundcube problems

Started by yordis, September 14, 2017, 03:01:06 PM

Previous topic - Next topic

yordis

i want that my roundcube webmail server, never permit that sender address to be equal to recipient address, i has a server with postfix, dovecot, roundcube, but i need that my server validate that de sender address cant be recipient address
thanks by your helps

SKaero

You could create a Roundcube plugin that would do that but that would only work for users that accessed there mail though Roundcube, if any of them accessed there mail directly it wouldn't function.

yordis

my roundcube server is configured with several imap servers, users access my roundcube, select their mail domain and enter their credentials, in this case that plugging would work, and if so, how to configure that pluggins
thanks for your help

SKaero

I don't know of an existing plugin that would do what you want but it could be created. You can use the message_before_send hook to check the recipients  https://github.com/roundcube/roundcubemail/wiki/Plugin-Hooks#message_before_send and throw an error before the message is sent.

yordis

how can implemente message_before_send hooks pluggins, i dont know to do that
thank for your help