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
619e455b
Commit
619e455b
authored
Jan 14, 2021
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added /etc/cyrus.conf
parent
df69b65c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
3 deletions
+39
-3
Makefile
Makefile
+39
-3
No files found.
Makefile
View file @
619e455b
all
:
imapd-config cyrus-imapd-service
all
:
cyrus-config
imapd-config cyrus-imapd-service
tar
xf cyrus-imapd-3.2.3.tar.gz
tar
xf cyrus-imapd-3.2.3.tar.gz
cd
cyrus-imapd-3.2.3
&&
./configure
--prefix
=
/usr
cd
cyrus-imapd-3.2.3
&&
./configure
--prefix
=
/usr
$(MAKE)
-C
cyrus-imapd-3.2.3
$(MAKE)
-C
cyrus-imapd-3.2.3
$(MAKE)
-C
cyrus-imapd-3.2.3
install
$(MAKE)
-C
cyrus-imapd-3.2.3
install
install
-v
-d
-m755
/var/lib/imap
install
-v
-d
-m755
/var/lib/imap
install
-v
-d
-m755
/var/lib/imap/sieve
install
-v
-d
-m755
/var/lib/imap/sieve
install
-v
-d
-m755
/var/lib/imap/socket
install
-v
-d
-m755
/var/spool/imap
install
-v
-d
-m755
/var/spool/imap
install
-v
-d
-m755
/etc/ssl/cyrus-imapd
install
-v
-d
-m755
/etc/ssl/cyrus-imapd
@
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"
@
echo
"
$$
CYRUS_IMAPD_SERVICE"
>
/lib/systemd/system/cyrus-imapd.service
@
echo
"
$$
CYRUS_IMAPD_SERVICE"
>
/lib/systemd/system/cyrus-imapd.service
systemctl
enable
cyrus-imapd.service
systemctl
enable
cyrus-imapd.service
rm
-rf
cyrus-imapd-3.2.3
rm
-rf
cyrus-imapd-3.2.3
cyrus-config
:
define
CYRUS_CONFIG
START
{
recover
cmd
=
"ctl_cyrusdb -r"
idled
cmd
=
"idled"
}
SERVICES
{
imap
cmd
=
"imapd"
listen
=
"imap"
prefork
=
5
imaps
cmd
=
"imapd -s"
listen
=
"imaps"
prefork
=
1
pop3
cmd
=
"pop3d"
listen
=
"pop3"
prefork
=
3
pop3s
cmd
=
"pop3d -s"
listen
=
"pop3s"
prefork
=
1
sieve
cmd
=
"timsieved"
listen
=
"sieve-filter"
prefork
=
0
lmtpunix
cmd
=
"lmtpd"
listen
=
"/var/lib/imap/socket/lmtp"
prefork
=
1
maxchild
=
10
smmap
cmd
=
"smmapd"
listen
=
"/var/lib/imap/socket/smmapd"
prefork
=
0
}
EVENTS
{
# this is required
checkpoint
cmd
=
"ctl_cyrusdb -c"
period
=
30
# this is only necessary if using duplicate delivery suppression, Sieve or NNTP
delprune
cmd
=
"cyr_expire -E 3"
at
=
0400
# this is only necessary if caching TLS sessions
tlsprune
cmd
=
"tls_prune"
at
=
0400
# indexing of mailboxs for server side fulltext searches
# reindex changed mailboxes (fulltext) approximately every other hour
squatter1
cmd
=
"nice -n 19 squatter -s"
period
=
120
# reindex all mailboxes (fulltext) daily
squattera
cmd
=
"squatter"
period
=
44640
}
endef
export
CYRUS_CONFIG
imapd-config
:
imapd-config
:
define
IMAPD_CONFIG
define
IMAPD_CONFIG
configdirectory
:
/var/lib/imap
configdirectory
:
/var/lib/imap
...
@@ -23,8 +61,6 @@ sendmail: /usr/sbin/sendmail
...
@@ -23,8 +61,6 @@ sendmail: /usr/sbin/sendmail
hashimapspool
:
true
hashimapspool
:
true
sasl_pwcheck_method
:
saslauthd
sasl_pwcheck_method
:
saslauthd
sasl_mech_list
:
PLAIN LOGIN
sasl_mech_list
:
PLAIN LOGIN
allowanonymouslogin
:
no
allowplaintext
:
yes
tls_server_cert
:
/etc/ssl/cyrus-imapd/cyrus-imapd.crt
tls_server_cert
:
/etc/ssl/cyrus-imapd/cyrus-imapd.crt
tls_server_key
:
/etc/ssl/cyrus-imapd/cyrus-imapd.key
tls_server_key
:
/etc/ssl/cyrus-imapd/cyrus-imapd.key
tls_server_ca
:
/etc/ssl/ca-bundle.pem
tls_server_ca
:
/etc/ssl/ca-bundle.pem
...
...
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