Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cyrus-imapd
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
cyrus-imapd
Commits
768c3207
Commit
768c3207
authored
Jan 23, 2021
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added necessary service mappings to /etc/services
parent
93aa8337
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
Makefile
Makefile
+11
-1
No files found.
Makefile
View file @
768c3207
all
:
cyrus-config imapd-config cyrus-imapd-service
all
:
cyrus-config imapd-config cyrus-imapd-service
services
rm
/etc/passwd
rm
/etc/passwd
mv
-v
/data/etc/passwd /etc/passwd
mv
-v
/data/etc/passwd /etc/passwd
rm
/etc/shadow
rm
/etc/shadow
...
@@ -21,6 +21,7 @@ all: cyrus-config imapd-config cyrus-imapd-service
...
@@ -21,6 +21,7 @@ all: cyrus-config imapd-config cyrus-imapd-service
install
-v
-d
-m755
-o
cyrus
-g
mail /var/spool/imap
install
-v
-d
-m755
-o
cyrus
-g
mail /var/spool/imap
install
-v
-d
-m755
/etc/ssl/cyrus-imapd
install
-v
-d
-m755
/etc/ssl/cyrus-imapd
chown
-R
cyrus.mail /var/lib/sasl
chown
-R
cyrus.mail /var/lib/sasl
@
echo
"
$$
SERVICES"
>>
/etc/services
@
echo
"
$$
CYRUS_CONFIG"
>
/etc/cyrus.conf
@
echo
"
$$
CYRUS_CONFIG"
>
/etc/cyrus.conf
@
echo
"
$$
IMAPD_CONFIG"
>
/etc/imapd.conf
@
echo
"
$$
IMAPD_CONFIG"
>
/etc/imapd.conf
openssl req
-x509
-nodes
-days
3650
-newkey
rsa:2048
-keyout
/etc/ssl/cyrus-imapd/cyrus-imapd.key
-out
/etc/ssl/cyrus-imapd/cyrus-imapd.crt
-subj
"/C=GB/ST=London/L=London/O=Global Security/OU=IT Department/CN=example.com"
openssl req
-x509
-nodes
-days
3650
-newkey
rsa:2048
-keyout
/etc/ssl/cyrus-imapd/cyrus-imapd.key
-out
/etc/ssl/cyrus-imapd/cyrus-imapd.crt
-subj
"/C=GB/ST=London/L=London/O=Global Security/OU=IT Department/CN=example.com"
...
@@ -104,3 +105,12 @@ LimitNOFILE=16384
...
@@ -104,3 +105,12 @@ LimitNOFILE=16384
WantedBy
=
multi-user.target
WantedBy
=
multi-user.target
endef
endef
export
CYRUS_IMAPD_SERVICE
export
CYRUS_IMAPD_SERVICE
services
:
define
SERVICES
kpop
1109/tcp
# Kerberized Post Office Protocol
lmtp
2003/tcp
# Lightweight Mail Transport Protocol service
smmap
2004/tcp
# Cyrus smmapd (quota check) service
csync
2005/tcp
# Cyrus replication service
endif
export
SERVICES
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