Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wtlinux_server_setup
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
w4t
wtlinux_server_setup
Commits
f32feead
Commit
f32feead
authored
Mar 15, 2025
by
w4t
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wtserver 0.55
parent
d55aeb9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
install_mta.sh
distros/debian12/install_mta.sh
+4
-2
No files found.
distros/debian12/install_mta.sh
View file @
f32feead
...
...
@@ -44,6 +44,7 @@ InstallMTA() {
echo
-e
"[
${
green
}
DONE
${
NC
}
]"
;;
"dovecot"
)
local
STORAGE_ROOT
=
"/var/www"
echo
-n
-e
"
$IDENTATION_LVL_1
Installing POP3/IMAP Mail server
${
red
}
Dovecot
${
NC
}
and Mail signing (OpenDKIM)...
\n
"
echo
-n
-e
"
$IDENTATION_LVL_2
Installing Dovecot and dependecies... "
apt_install dovecot-core dovecot-imapd dovecot-pop3d dovecot-mysql dovecot-sieve dovecot-lmtpd dovecot-managesieved dovecot-antispam opendkim opendkim-tools
...
...
@@ -346,7 +347,8 @@ EOF
mkdir
-p
"
$STORAGE_ROOT
/mail/homes"
chown
-R
mail:mail
"
$STORAGE_ROOT
/mail/mailboxes"
chown
-R
mail:mail
"
$STORAGE_ROOT
/mail/homes"
#chmod -R 750 "$STORAGE_ROOT/mail/mailboxes"
# Same for the sieve scripts.
mkdir
-p
"
$STORAGE_ROOT
/mail/sieve"
mkdir
-p
"
$STORAGE_ROOT
/mail/sieve/global_before"
...
...
@@ -436,7 +438,7 @@ EOF
# This removes mails from the index that have already been expunged and makes
# sure that the next doveadm index will index all the missing mails (if any).
#hide_output doveadm fts rescan -A
doveadm fts rescan
-A
>>
$PROGRAMS_INSTALL_LOG_FILES
2>&1
doveadm fts rescan
-A
# Adds unindexed files to the fts database
#
...
...
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