Commit ecffb38e authored by Nolan's avatar Nolan

Use correct email domain in roundcube.

parent dfe6ad1e
......@@ -22,6 +22,8 @@ $config = array();
/* Do not set db_dsnw here, use dpkg-reconfigure roundcube-core to configure database ! */
$config['mail_domain'] = 'XXXMAILDOMAINXXX';
// The mail host chosen to perform the log-in.
// Leave blank to show a textbox at login, give a list of hosts
// to display a pulldown menu or set one host as string.
......@@ -15,6 +15,7 @@ fi
if grep -q XXXDESKEYXXX /etc/roundcube/; then
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/
sed -i "s|XXXMAILDOMAINXXX|$DOMAINNAME|g" /etc/roundcube/
exec apache2ctl -DFOREGROUND
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment