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.

How to hide Delivery status notification in RoundCube interface?

| 17:24:03 21.11.2019

Q: Delivery status notifications do not seem to work for us and I want to hide it in RoundCube interface. How can I do it?

A: Here is how you can hide a "Delivery status notification" checkbox in RoundCube web-mail interface.

By default RoundCube with elastic skin shows the following elements on a compose email page:

RoundCube with Elastic skin shows checkboxes for notifications

For information

Return receipt: Request the recipient to return a receipt confirmation when opening the message. This will be sent by the recipient’s email program if she confirms it.

Delivery status notification: Request a notification message when the message is delivered. This will be send by the email server upon message delivery.


Hiding Delivery Status Notification check-box

So we need to hide DSN element on the page. For this connect to a server as root over SSH and run the following commands:

cd /var/www/html/roundcube/config
echo "\$config['dont_override'][] = 'dsn_default';" >> config.inc.php
php -l config.inc.php

The last command should show no syntax error:

# php -l config.inc.php
No syntax errors detected in config.inc.php

If any error is reported you will need to address it.

In case no error is shown, you need to copy config.inc.php into custom/roundcube/ folder of CustomBuild:

mkdir -p /usr/local/directadmin/custombuild/custom/roundcube/
cp -p config.inc.php /usr/local/directadmin/custombuild/custom/roundcube/config.inc.php

That's it. See the changes in a browser. The DSN element is now hidden:

RoundCube in Elastic skin Delivery notification is OFF


Hiding Return receipt check-box

For this we need to hide MDN element in RoundCube webmail interface. Connect to a server as root over SSH and run the following commands:

cd /var/www/html/roundcube/config
echo "\$config['dont_override'][] = 'mdn_default';" >> config.inc.php
php -l config.inc.php

Now you need to copy config.inc.php into custom/roundcube/ folder of CustomBuild:

mkdir -p /usr/local/directadmin/custombuild/custom/roundcube/
cp -p config.inc.php /usr/local/directadmin/custombuild/custom/roundcube/config.inc.php

That's it. See the changes in a browser:

RoundCube with Elastic skin: Return receipt notification element is now hidden

RoundCube with Elastic skin: Return receipt notification element is now hidden.

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