Download the PHP package texxarulez/mailman_integration without Composer

On this page you can find all versions of the php package texxarulez/mailman_integration. 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 mailman_integration

mailman_integration

Downloads Packagist Downloads Packagist Version Github License GitHub Stars GitHub Issues GitHub Contributors GitHub Forks Donate Paypal

mailman_integration is a Roundcube plugin that exposes a small, admin-friendly Mailman 3 feature set inside Roundcube. It focuses on list discovery for the logged-in user, optional directory browsing, safe list metadata, simple member actions, and conservative outbound list headers.

v1 scope

Included in v1:

Intentionally excluded from v1:

Requirements

Installation

Via Composer (recommended)

Then add mailman_integration to the plugins array in Roundcube's config/config.inc.php.

Manual

  1. Download or clone this repository into Roundcube's plugins/mailman_integration/ directory.
  2. Copy config.inc.php.dist to config.inc.php:

  3. Edit config.inc.php and set at minimum the API URL and credentials (see Configuration).
  4. Add mailman_integration to the plugins array in Roundcube's config/config.inc.php:

  5. Clear Roundcube caches if your deployment caches templates or plugin metadata.

Configuration

Copy config.inc.php.dist to config.inc.php in the plugin directory to get started. All settings have safe defaults except the API connection options, which must be set for the plugin to function.

API connection

Setting Default Description
mailman_integration_enabled true Master on/off switch
mailman_integration_api_url — Mailman REST base URL, e.g. https://lists.example.com/3.1
mailman_integration_api_user — REST API username (set in mailman.cfg)
mailman_integration_api_password — REST API password
mailman_integration_timeout 8 API request timeout in seconds
mailman_integration_tls_verify true Verify TLS certificates; disable only for internal deployments
mailman_integration_postorius_url '' Optional Postorius URL used to link the word Mailman in the health status line
mailman_integration_health_path /system Path used to probe Mailman health
mailman_integration_health_fallback_path /lists Fallback probe path if the primary returns an error

List visibility

Setting Default Description
mailman_integration_show_directory false Show a browseable directory of all advertised lists
mailman_integration_allow_subscribe false Enable subscribe actions for users
mailman_integration_allow_unsubscribe true Enable unsubscribe actions for users
mailman_integration_show_archives false Show archive links when Mailman provides a URL
mailman_integration_show_list_settings false Show extra list metadata (volume, member count, etc.)
mailman_integration_show_subscribers_to_admins false Show the list subscriber roster to users with existing owner/admin access to that list
mailman_integration_subscribers_page_size 50 Subscribers to load per roster page; clamped internally to 1-200
mailman_integration_allowed_lists [] If non-empty, only these list IDs are shown
mailman_integration_blocked_lists [] List IDs to always hide
mailman_integration_exposed_domains [] If non-empty, only lists hosted on these domains are shown

Compose settings

Setting Default Description
mailman_integration_compose_detection true Detect list recipients while composing
mailman_integration_compose_widget true Inject the list info widget into the compose page
mailman_integration_owner_tools true Show owner send options when a list address is in recipients
mailman_integration_preflight_require_subject true Block sending to a list when the subject line is empty
mailman_integration_preflight_confirm_send true Prompt for confirmation before sending to a list
mailman_integration_preflight_append_unsubscribe_footer false Append an unsubscribe footer when the owner enables it
mailman_integration_unsubscribe_footer_template see dist Footer template; supports {list_address} placeholder
mailman_integration_allow_identity_aliases false When true, all identity addresses are checked for membership, not just the primary

Outbound headers

Setting Default Description
mailman_integration_add_list_headers true Inject List-* headers when sending to exactly one recognized list
mailman_integration_add_list_unsubscribe true Include List-Unsubscribe in injected headers

Message templates

Pre-fill subject and body when composing to a list. Defined as an array in config.inc.php:

Leave the array empty (the default) to hide the template picker.

Diagnostics

Setting Default Description
mailman_integration_cache_ttl 120 Seconds to cache list and health data
mailman_integration_log_level warning Log verbosity: debug, info, warning, error
mailman_integration_debug false Write detailed debug entries to logs/mailman_integration

Usage

Accessing the Mailman task

After installation the Mailman icon appears in the Roundcube taskbar. Click it to open the Mailman Lists page.

My Lists

The left panel lists every Mailman list the logged-in user is subscribed to (matched against the active Roundcube identity). Selecting a list loads its detail view on the right, showing the list address, description, and available actions.

When mailman_integration_show_subscribers_to_admins is true, users who already have owner/admin access to a list can also see a Subscribers section in that list detail view. The roster is loaded one page at a time from Mailman Core REST regular-member roster data, using /lists/{list_id}/roster/member first and falling back to /members with role=member. Owners, moderators, and nonmembers are not shown. If Mailman cannot load the roster, the UI shows only a generic warning.

Directory

When mailman_integration_show_directory is true, all publicly advertised lists appear in a second panel below My Lists. Users can browse and, if subscribe actions are enabled, join lists from this view.

Subscribe / Unsubscribe

Subscribe and unsubscribe buttons appear in the list detail view when the corresponding config options are enabled (mailman_integration_allow_subscribe, mailman_integration_allow_unsubscribe). Actions are confirmed via a page-level flash message.

Compose integration

When composing a message, the plugin checks the To, Cc, and Bcc fields against known list addresses. If a match is found:

Disable the widget entirely with mailman_integration_compose_widget = false while keeping outbound header injection active.

Send to List

From a list detail page, click Send to List to open a compose window pre-addressed to the list. If message templates are configured, a template picker appears next to the send button to pre-fill subject and body.

Skin support

The plugin ships explicit support for:

The Larry color variants are created as real skin directories and mirror the Larry templates, styles, and image assets so Roundcube can resolve them without broken paths.

Mailman failure handling

If Mailman is absent, unreachable, or misconfigured:

Outbound header behavior

The plugin only adds list-style outbound headers when it can match the outgoing recipients to exactly one recognized Mailman list address. It does not add list headers to ordinary mail, and it does not guess when the target is ambiguous.

Headers currently added when configured and available:

Roundcube version notes

The plugin follows common Roundcube plugin patterns, but hook payload details can differ slightly between Roundcube releases. The message-send hooks and compose-header injection are the most likely places to need small adjustments on older or customized installations.

Compatibility troubleshooting

If compose loads with disabled toolbar actions (Send, Save, Cancel) or the browser console shows $ is not a function, the issue is almost always a JavaScript conflict from another plugin overriding the global jQuery symbol.

Suggested triage order:

  1. Temporarily disable third-party compose-related plugins.
  2. Hard-refresh Roundcube and verify core compose works from the native New message action.
  3. Re-enable plugins one by one until the conflict reappears.
  4. If needed, keep Mailman compose recognition active but disable widget injection by setting mailman_integration_compose_widget to false.

Known real-world conflict observed during testing:

Smoke test checklist

Run this quick check after upgrades or plugin changes:

  1. Open Mailman task and verify list/taskbar icon visibility for your active skin.
  2. Open a list detail page and click Send to List (owner role).
  3. Confirm compose opens with recipient prefilled and toolbar actions enabled.
  4. Send a test message to one list and confirm no send-time server error.
  5. Inspect received message headers and verify List-Id and X-BeenThere are present.
  6. If mailman_integration_show_archives is enabled, verify List-Archive is present.

Translation workflow

This repository includes translate_locales.php to update all locale files in one batch with safer handling for placeholders and markup.

Recommended run with DeepL and Libre fallback:

Useful flags:

Behavior notes:

Versioning

For a release bump:

  1. Update mailman_integration::PLUGIN_VERSION in mailman_integration.php or run sh scripts/bump-version.sh 1.0.0.
  2. Update CHANGELOG.md.
  3. Create the matching release tag after verification.

All versions of mailman_integration with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
roundcube/plugin-installer Version ~0.3.5
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 texxarulez/mailman_integration contains the following files

Loading the files please wait ...