Skip to content
Permalink
Browse files

Use correct email domain in roundcube.

  • Loading branch information
nolanl committed Apr 10, 2019
1 parent dfe6ad1 commit ecffb38ee048b082a64dcf1afa15c11606a82de0
Showing with 3 additions and 0 deletions.
  1. +2 −0 roundcube/config.inc.php
  2. +1 −0 roundcube/start.sh
@@ -22,6 +22,8 @@
/* Do not set db_dsnw here, use dpkg-reconfigure roundcube-core to configure database ! */
include_once("/etc/roundcube/debian-db-roundcube.php");

$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/config.inc.php; 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/config.inc.php
sed -i "s|XXXMAILDOMAINXXX|$DOMAINNAME|g" /etc/roundcube/config.inc.php
fi

exec apache2ctl -DFOREGROUND

0 comments on commit ecffb38

Please sign in to comment.
You can’t perform that action at this time.