Commit ecffb38e authored by Nolan's avatar Nolan

Use correct email domain in roundcube.

parent dfe6ad1e
...@@ -22,6 +22,8 @@ $config = array(); ...@@ -22,6 +22,8 @@ $config = array();
/* Do not set db_dsnw here, use dpkg-reconfigure roundcube-core to configure database ! */ /* Do not set db_dsnw here, use dpkg-reconfigure roundcube-core to configure database ! */
include_once("/etc/roundcube/debian-db-roundcube.php"); include_once("/etc/roundcube/debian-db-roundcube.php");
$config['mail_domain'] = 'XXXMAILDOMAINXXX';
// The mail host chosen to perform the log-in. // The mail host chosen to perform the log-in.
// Leave blank to show a textbox at login, give a list of hosts // Leave blank to show a textbox at login, give a list of hosts
// to display a pulldown menu or set one host as string. // to display a pulldown menu or set one host as string.
......
...@@ -15,6 +15,7 @@ fi ...@@ -15,6 +15,7 @@ fi
if grep -q XXXDESKEYXXX /etc/roundcube/config.inc.php; then if grep -q XXXDESKEYXXX /etc/roundcube/config.inc.php; then
KEY=`dd if=/dev/urandom bs=1024 count=1 | base64 -w 0 | tr -d '=' | td -d| cut -c1-24` KEY=`dd if=/dev/urandom bs=1024 count=1 | base64 -w 0 | tr -d '=' | td -d| cut -c1-24`
sed -i "s|XXXDESKEYXXX|$KEY|g" /etc/roundcube/config.inc.php sed -i "s|XXXDESKEYXXX|$KEY|g" /etc/roundcube/config.inc.php
sed -i "s|XXXMAILDOMAINXXX|$DOMAINNAME|g" /etc/roundcube/config.inc.php
fi fi
exec apache2ctl -DFOREGROUND exec apache2ctl -DFOREGROUND
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment