DirectAdmin Knowledge Base and Support

DirectAdmin is a web panel for a simple administration of both virtual and dedicated servers. DirectAdmin is faster, safe and more powerful than any other CP. And we know how to customize and support it.

Autoresponders in RoundCube

| 10:16:50 23.10.2018

Question: I've got a Directadmin server with Exim+Dovecot+RoundCube. Is there a way to let users create autoresponder via webmail?

Answer: Yes, there is a way to let users create autoresponders in RoundCube. ManageSieve plugin can be used for this purpose. And here is a short guide on how to install it.

For this to work Dovecot should be built with pigeonhole support. 

Pigeonhole is the name of the project that adds support for the Sieve language (RFC 5228)
and the ManageSieve protocol (RFC 5804) to the Dovecot Secure IMAP Server.

Connect to SSH

To complete the installation of Dovecot with it run the following commands as root:

cd /usr/local/directadmin/custombuild
./build update
./build set pigeonhole yes
./build set dovecot yes
./build set dovecot_conf yes
./build dovecot
./build roundcube

You need to control output of the commands. 

Here are several examples of successful execution of the listed commands:

[root@server custombuild]# ./build set pigeonhole yes
Changed pigeonhole option from no to yes
[root@server custombuild]# ./build set dovecot yes
Changed dovecot option from no to yes
[root@server custombuild]# ./build set dovecot_conf yes
Changed dovecot_conf option from no to yes

Building of dovecot should complete with the similar lines:

ensuring ssl_dh
Restarting dovecot.
Shutting down dovecot:                                     [  OK  ]
Starting dovecot:                                          [  OK  ]
[root@server custombuild]#

Installation of RoundCube should end with the similar lines:

This instance of Roundcube is up-to-date.
Have fun!
[root@server custombuild]#

If any of the command returns an error you should stop executing other commands and address the error. Proceed with the guide as soon as you fix the error only.

If all commands complete without errors, connect to roundcube.

Connect to RoundCube

Here are instructions on where to find filters in RoundCube:

  • connect to RoundCube
  • choose "Settings" in the top menu
  • in the left column click "Filters" 
  • click "managesieve" in the middle column with a title "Filter sets"
  • and click "+" (a plus sign) under "Filters"

and fill fields upon your needs:

  • Specify "Filter name"
  • Choose an action "Reply with message"
  • Fill other required fields

As soon as you finish, click save.

Creating Autoresponders in RoundCube
The image shows fields for Creating Autoresponders in RoundCube

Test your filters.


- I don't find filter option in RoundCube. What to do?

Make sure you've got no /usr/local/directadmin/custombuild/custom/roundcube/

If the file /usr/local/directadmin/custombuild/custom/roundcube/ exists then make sure you've got managesieve plugin enabled there:

// List of active plugins (in plugins/ directory)
$config['plugins'] = array(

the same way need you to check the plugin is enabled in /var/www/html/roundcube/config/ (the file should exist).

That's it!

About Us
We are a team of professionals, and specialize in installation, configuring and managing of remote virtual and dedicated servers powered by Linux/Unix-like OS with DirectAdmin. We support various sets of software, including web-servers Apache, Nginx; internet domain name servers Bind, PowerDNS; mail-servers with POP3, IMAP and SMTP, FTP-servers, etc. After years of working through the most complex server challenges our team has gathered valuable experience and universal solutions suitable for everyday tasks. We are here to lend you a helping hand and take care of your servers in order to let you have enough time to do more of what you love.

All of the information and data on this site is for informational purposes only and is provided for the convenience of the user.
Powered by: Amiro.CMS - Free edition