Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
app-email
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
projectx
app-email
Commits
ecffb38e
Commit
ecffb38e
authored
Apr 09, 2019
by
Nolan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use correct email domain in roundcube.
parent
dfe6ad1e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
config.inc.php
roundcube/config.inc.php
+2
-0
start.sh
roundcube/start.sh
+1
-0
No files found.
roundcube/config.inc.php
View file @
ecffb38e
...
...
@@ -22,6 +22,8 @@ $config = array();
/* 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.
...
...
roundcube/start.sh
View file @
ecffb38e
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment