Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
config
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Model registry
Operate
Environments
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ai3
config
Commits
7e834b0a
Commit
7e834b0a
authored
2 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Run a php-hardened roundcube
parent
8174cae9
No related branches found
No related tags found
1 merge request
!190
Draft: Run hardened PHP
Pipeline
#38637
failed
2 years ago
Stage: deploy
Stage: run
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
passwords.mail.yml
+2
-0
2 additions, 0 deletions
passwords.mail.yml
roles/mail/tasks/backend.yml
+5
-0
5 additions, 0 deletions
roles/mail/tasks/backend.yml
services.mail.yml
+2
-1
2 additions, 1 deletion
services.mail.yml
with
9 additions
and
1 deletion
passwords.mail.yml
+
2
−
0
View file @
7e834b0a
...
@@ -11,6 +11,8 @@
...
@@ -11,6 +11,8 @@
description
:
Encryption key for Roundcube sessions
description
:
Encryption key for Roundcube sessions
type
:
binary
type
:
binary
length
:
24
length
:
24
-
name
:
roundcube_snuffleupagus_secret
length
:
36
-
name
:
spamassassin_db_password
-
name
:
spamassassin_db_password
description
:
MySQL password for the Spamassassin user
description
:
MySQL password for the Spamassassin user
...
...
This diff is collapsed.
Click to expand it.
roles/mail/tasks/backend.yml
+
5
−
0
View file @
7e834b0a
...
@@ -317,6 +317,11 @@
...
@@ -317,6 +317,11 @@
with_filetree
:
"
templates/roundcube/"
with_filetree
:
"
templates/roundcube/"
when
:
item.state == 'file'
when
:
item.state == 'file'
-
name
:
Install Roundcube Snuffleupagus config
copy
:
content
:
'
sp.global.secret_key("{{
roundcube_snuffleupagus_secret
}}");\n'
dest
:
"
/etc/roundcube/snuffleupagus.conf"
-
name
:
Install default empty sieve filter for Roundcube
-
name
:
Install default empty sieve filter for Roundcube
copy
:
copy
:
src
:
empty.sieve
src
:
empty.sieve
...
...
This diff is collapsed.
Click to expand it.
services.mail.yml
+
2
−
1
View file @
7e834b0a
...
@@ -43,10 +43,11 @@ mail-backend:
...
@@ -43,10 +43,11 @@ mail-backend:
-
name
:
keystore
-
name
:
keystore
containers
:
containers
:
-
name
:
http
-
name
:
http
image
:
registry.git.autistici.org/ai3/docker/roundcube:
master
image
:
registry.git.autistici.org/ai3/docker/roundcube:
hardening
port
:
8084
port
:
8084
volumes
:
volumes
:
-
/etc/roundcube
:
/etc/roundcube
-
/etc/roundcube
:
/etc/roundcube
-
/etc/roundcube/snuffleupagus.conf
:
/etc/php/snuffleupagus/roundcube.rules
-
/etc/sso/public.key
:
/etc/sso/public.key
-
/etc/sso/public.key
:
/etc/sso/public.key
-
/var/lib/roundcube
:
/data
-
/var/lib/roundcube
:
/data
env
:
env
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment