Download the PHP package pf4public/fetchmail without Composer

On this page you can find all versions of the php package pf4public/fetchmail. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package fetchmail

Roundcube fetchmail plugin

Roundcube fetchmail plugin is a Roundcube plugin, which allows users to download their mail from external mailboxes.

Screenshot

Screenshot

Prerequisites

  1. Roundcube
  2. Database (PostgreSQL or MySQL)
  3. fetchmail itself
  4. Postfix Admin provides convenient fetchmail.pl script

Installation

Please follow these steps and adapt them to your distribution if necessary

  1. First you need to install fetchmail itself. For Debian you can do so by apt install fetchmail
  2. Next you should extract Roundcube fetchmail plugin archive into your Roundcube plugins folder creating "fetchmail" folder there.
    • You can do so either by using composer for which there is composer.json, still you need to follow further installation steps since those could not be accomplished with composer
    • Alternatively you can download needed release from Releases page unpacking it accordingly
  3. After that you need to enable newly installed plugin by adding it to Roundcube plugin list. For Debian related config file is /etc/roundcube/main.inc.php and relevant setting is

Appending , 'fetchmail' to the list of plugins will suffice.

  1. Unless default settings are suitable for you, you need to configure the plugin. See the settings section for more information.
  2. You need to create additional table in your database using one of the supplied .initial.sql files and update it with all the dated .sql files accordingly. Another possibility is to use Postfix Admin table if you have it installed. If using PostgreSQL you may use schemas to share fetchmail table between Roundcube and Postfix Admin. Namely creating it in public schema, whereas every other table in it's appropriate schema, like roundcube and postfixadmin. Please refer to the documentation for more information. If you do so and use composer, however, you probably need to set the database version of this plugin in roundcube database to 9999999900 so that composer will not try updating it.
  3. You will need fetchmail.pl script from Postfix Admin distribution. If you don't have Postfix Admin installed, you can obtain required fetchmail.pl script from their repo postfixadmin / ADDITIONS / fetchmail.pl. But be sure to get at least revision 594a847, at which support of src_port field introduced. Place it to where appropriate. For example, where your mailboxes are, e.g. /var/mail.
  4. Next adapt fetchmail.pl to your config. Most likely you want to change these settings:

    Instead of changing this script, you may put your settings into /etc/mail/postfixadmin/fetchmail.conf

  5. Next step is to configure cron for regular mail checking with crontab -u mail -e. For example for 5 minute intervals add this: */5 * * * * /var/mail/fetchmail.pl >/dev/null. Worth noting that even if you configure cron for a 5 minutes interval, fetchmail will still abide user configured checking interval. As a result setting bigger intervals here manifests them as intervals available to fetchmail, that is setting 0 * * * * here overrides any user setting wich is less then hour
  6. You might also need to install liblockfile-simple-perl and either libsys-syslog-perl or libunix-syslog-perl on Debian-based systems.
  7. Lastly there might be need to do mkdir /var/run/fetchmail; chown mail:mail /var/run/fetchmail

Please note that some commands might require superuser permissions

Settings

In case you need to edit default-set settings, you may copy config.inc.php.dist to config.inc.php and edit settings as desired in the latter file, which will override defaults.

License

This software distributed under the terms of the GNU General Public License as published by the Free Software Foundation

Further details on the GPL license can be found at http://www.gnu.org/licenses/gpl.html

By contributing to Roundcube fetchmail plugin, authors release their contributed work under this license

Acknowledgements

Original author

Arthur Mayer, https://github.com/flames

List of contributors

For a complete list of contributors, refer to Github project contributors page

Currently maintained by


All versions of fetchmail with dependencies

PHP Build Version
Package Version
Requires roundcube/plugin-installer Version >=0.1.6
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package pf4public/fetchmail contains the following files

Loading the files please wait ....