GithubHelp home page GithubHelp logo

gianlucagiacometti / roundcube-forward Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 10.0 41 KB

RoundCube plugin to set forward addresses in PostfixAdmin database

License: GNU General Public License v2.0

PHP 89.07% JavaScript 10.93%

roundcube-forward's People

Contributors

dicea-unipd avatar gianlucagiacometti avatar nitmir avatar zuloo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

roundcube-forward's Issues

call PostfixAdmin code instead of using raw database queries

roundcube-forward works directly on the database level. This might work, but it might also break if something in the PostfixAdmin database layout changes.

It would be a good idea to call the PostfixAdmin code directly. This would ensure you don't suffer or break something if the database layout changes. It would also give you all the features implemented in the *Handler classes that are available in PostfixAdmin 3.0 (still labeled beta, but the final release will be available soon).

Possible options:

  • use xmlrpc.php (currently only available for mailbox settings, like changing vacation and forwarding)
  • use the admin xmlrpc (not yet in the repo or tarball, but the code exists)
  • directly include and call the PostfixAdmin AliasHandler class (and other *Handler classes if needed)
  • write a small wrapper around the PostfixAdmin *Handler classes and use that (similar to xmlrpc, but maybe more json-friendly? Whatever you need ;-)

The same recommendation applies to roundcube-aliases. I won't open a separate issue there to avoid duplication, but it should also be changed in the way described above.

If needed, I can help you with those things ;-) - just respond here or come to #postfixadmin on Freenode (I'm typically online on CET/CEST late evening ;-)

.

Christian (from PostfixAdmin)

PS: Dear github, mail copy to @ccboltz please ;-)

forward plugin not compatible with roundcube 0.9 beta

Hi,

Due to changes in the way roundcube access database in the 0.9 beta version, the forward plugin doesn't work anymore starting with this version.

Error log says :
PHP Fatal error: Class 'rcube_mdb2' not found in /plugins/forward/lib/drivers/sql.php on line 39

this is related with the following changelog line of roundcube 0.9 :

  • Another major change is the new database abstraction. In order to add support for SQLite3 the PEAR:MDB2 dependency was dropped and Roundcube now uses the native PHP Data Objects (PDO). ATTENTION: due a small lack in the MySQL PDO driver this version of Roundcube requires PHP 5.3 when using the MySQL database.

A workaround is to replace
$db = new rcube_mdb2($dsn, '', FALSE);
by
$db = rcube_db::factory($dsn, '', FALSE);

regards,

S.B.

Any Possibility if Forward Plugin crashes other plugins?

Hi, I'm creating mail server using roundcube, postfix, dovecot and mysql.

I've added password and forward plugin on /config/conf.inc.php .

Then 'save' button on password plugin has been disabled when forward plugin is in /config/conf.inc.php .

Password plugin works properly when it's added in /config/conf.inc.php without forwrad plugin.

Also, as I clicked every tab but forward in Settings, DevTool says that there's a problem within forward.js at line 24.

Please help.

plugin is worked but error in error log

Roundcube 1.2 with PHP-5.6.27 get the below error.

Warning: Call to deprecated function get_input_value(); See bc.inc for replacement
Warning: Call to deprecated function rcmail_overwrite_action(); See bc.inc for replacement
Warning: Call to deprecated function Q(); See bc.inc for replacement

any way could fix it ?

An error Occured Driver execution error

Please can any help with this error "Driver execution error" I have successfully Installed This plugin and it displayed in admin tab but anytime I tried adding Forwarding email I got above error

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.