PHPackages                             ec-nds/autoresponse - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ec-nds/autoresponse

ActiveRoundcube-plugin[Utility &amp; Helpers](/categories/utility)

ec-nds/autoresponse
===================

Simple vacation / out-of-office autoresponse settings for Roundcube

01[1 issues](https://github.com/Nds-EC-Verband/roundcube-autoresponse/issues)PHP

Since Apr 28Pushed 1mo agoCompare

[ Source](https://github.com/Nds-EC-Verband/roundcube-autoresponse)[ Packagist](https://packagist.org/packages/ec-nds/autoresponse)[ RSS](/packages/ec-nds-autoresponse/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

autoresponse — Roundcube Vacation/Out-of-Office Plugin
======================================================

[](#autoresponse--roundcube-vacationout-of-office-plugin)

A clean, self-contained Roundcube plugin that adds a dedicated **"Abwesenheitsnotiz"** (vacation / out-of-office) entry to the Settings navigation.
It writes and reads a real [Sieve](https://tools.ietf.org/html/rfc5228) `vacation` script via the `managesieve` plugin, so the auto-reply is enforced server-side — independent of whether Roundcube is open.

> **Optimised for [Plesk](https://www.plesk.com/) hosting environments.** The installation paths and default configuration in this README reflect a standard Plesk server setup. The plugin works on any Roundcube installation, but paths may differ outside of Plesk.

---

Features
--------

[](#features)

- Enable / disable the auto-reply with a single checkbox
- Custom **subject** and **body** for the vacation message
- Optional **date range** — the reply is only sent between two calendar dates
- Sieve script is saved and activated automatically
- Form input is preserved on validation errors (no data loss)
- Falls back to stored user preferences when the Sieve server is temporarily unreachable
- Automatically deactivates the reply if the end date has passed

[![image](https://private-user-images.githubusercontent.com/8092899/583279986-5ea18ad0-a288-4937-96f4-57355612a6d9.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc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RZTFNBNTNQUUs0WkElMkYyMDI2MDYwOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjA2MDlUMDMwNTE5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Y2Y1YzhkYWVlODc4M2IyZWI4ZmQzODVmYThkZmY4Mjg1OWYzNzg2YWNmOGNlY2E3NjcwNGNiNDQ0Y2Q3Mjg1MCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0._6Xqi-d7tL2eoPPduzPn4UYFqidyGRpQur_Loafcpz4)---

Requirements
------------

[](#requirements)

RequirementVersionRoundcube1.4 or newerPHP7.4 or newer`managesieve` pluginmust be installed &amp; configuredSieve servermust support the `vacation` extension---

Installation
------------

[](#installation)

### 1. Copy the plugin

[](#1-copy-the-plugin)

Place the `autoresponse` folder inside your Roundcube plugins directory.

**Plesk (default path):**

```
/usr/share/psa-roundcube/plugins/autoresponse/

```

**Other environments** — the path depends on your Roundcube installation, e.g.:

```
/var/lib/roundcube/plugins/autoresponse/

```

The directory must contain at least:

```
autoresponse/
├── autoresponse.php
├── config.inc.php.dist        (optional, copy to config.inc.php)
├── localization/
│   └── de_DE.inc              (and any other locales)
└── skins/
    └── elastic/
        └── autoresponse.css

```

### 2. Enable the plugins

[](#2-enable-the-plugins)

Edit your Roundcube main configuration file and add **both** `managesieve` and `autoresponse` to the plugins list.

**Plesk (default path):** `/usr/share/psa-roundcube/config/config.inc.php`

```
$config['plugins'] = [
    'managesieve',
    'autoresponse',
    // ... your other plugins
];
```

> **Important:** `managesieve` must appear **before** `autoresponse` in the list.

### 3. Configure the Sieve library path (if needed)

[](#3-configure-the-sieve-library-path-if-needed)

The plugin tries to locate `rcube_sieve.php` automatically by looking in the standard `managesieve` plugin paths.

**On a Plesk server** the file is typically found at:

```
/usr/share/psa-roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve.php

```

This path is tried automatically. If auto-detection fails (e.g. on non-Plesk setups), set the path explicitly in `plugins/autoresponse/config.inc.php`:

```
$config['autoresponse_sieve_lib'] =
    '/usr/share/psa-roundcube/plugins/managesieve/lib/Roundcube/rcube_sieve.php';
```

---

Configuration
-------------

[](#configuration)

Copy `config.inc.php.dist` to `config.inc.php` inside the plugin folder and adjust as needed.
All keys are **optional** — the plugin falls back to the corresponding `managesieve_*` values.

```
