You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

HORDE.txt 1.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. Horde integration with Postfixadmin
  2. This is taken from the following thread :
  3. https://sourceforge.net/forum/forum.php?thread_id=1869141&forum_id=676076
  4. Namely :
  5. "Hi, people, I was wondering if anyone was using PA with Horde3. I want my users to be able to change teir password from inside Horde, so I was wondering if anyone has implemented a custom hook or defined a SQL query to make the password change possible. "
  6. Solution :
  7. "Hi,
  8. that works for me without any hook - with the SQL driver. I connect through IP to localhost. You can also try socket connection...
  9. my horde/passwd/config/backends.php looks like:
  10. $backends['sql'] = array (
  11. 'name' => 'Mail SQL Server',
  12. 'preferred' => '',
  13. 'password policy' => array(
  14. 'minLength' => 3,
  15. 'maxLength' => 8,
  16. 'maxSpace' => 0,
  17. 'minUpper' => 1,
  18. 'minLower' => 1,
  19. 'minNumeric' => 1,
  20. 'minSymbols' => 1
  21. ),
  22. 'driver' => 'sql',
  23. 'params' => array(
  24. 'phptype' => 'mysql',
  25. 'hostspec' => '127.0.0.1',
  26. 'port' => '3306',
  27. 'protocol' => 'tcp',
  28. 'username' => 'postfix',
  29. 'password' => 'yourpostfixdbpassword',
  30. 'encryption' => 'crypt-md5',
  31. 'database' => 'postfix',
  32. 'table' => 'mailbox',
  33. 'user_col' => 'username',
  34. 'pass_col' => 'password',
  35. 'show_encryption' => false
  36. )
  37. ); "
  38. Thanks to 'Kope' for the solution, and of course Luis Hernán Otegui (slimshady76) for asking the question.