Author Topic: Roundcube problems  (Read 3097 times)

Offline yordis

  • Newbie
  • *
  • Posts: 3
Roundcube problems
« on: September 14, 2017, 03:01:06 PM »
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

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: Roundcube problems
« Reply #1 on: September 17, 2017, 03:04:05 PM »
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.

Offline yordis

  • Newbie
  • *
  • Posts: 3
Re: Roundcube problems
« Reply #2 on: September 18, 2017, 11:10:04 AM »
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

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: Roundcube problems
« Reply #3 on: September 18, 2017, 03:44:41 PM »
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.

Offline yordis

  • Newbie
  • *
  • Posts: 3
Re: Roundcube problems
« Reply #4 on: September 20, 2017, 10:14:11 AM »
how can implemente message_before_send hooks pluggins, i dont know to do that
thank for your help

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: Roundcube problems
« Reply #5 on: September 22, 2017, 02:19:40 AM »