We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3b7bc0 commit 9c9524cCopy full SHA for 9c9524c
install/upgrade/versions/latest.sh
@@ -119,3 +119,9 @@ if [ -f "/etc/roundcube/config.inc.php" ]; then
119
rcDesKey="$(openssl rand -base64 30 | tr -d "/" | cut -c1-24)"
120
sed -i "s/vtIOjLZo9kffJoqzpSbm5r1r/$rcDesKey/g" /etc/roundcube/config.inc.php
121
fi
122
+
123
+# Place robots.txt to prevent webmail crawling by search engine bots.
124
+if [ ! -f "/var/lib/roundcube/robots.txt" ]; then
125
+ echo "User-agent: *" > /var/lib/roundcube/robots.txt
126
+ echo "Disallow: /" >> /var/lib/roundcube/robots.txt
127
+fi
0 commit comments