diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/cyrus-imapd/files | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/cyrus-imapd/files')
-rwxr-xr-x | recipes/cyrus-imapd/files/cyrus | 38 | ||||
-rw-r--r-- | recipes/cyrus-imapd/files/cyrus.conf_2.2 | 42 | ||||
-rw-r--r-- | recipes/cyrus-imapd/files/imapd.conf_2.2 | 50 | ||||
-rw-r--r-- | recipes/cyrus-imapd/files/volatiles | 63 |
4 files changed, 193 insertions, 0 deletions
diff --git a/recipes/cyrus-imapd/files/cyrus b/recipes/cyrus-imapd/files/cyrus new file mode 100755 index 0000000000..03ba55aa9c --- /dev/null +++ b/recipes/cyrus-imapd/files/cyrus @@ -0,0 +1,38 @@ +#! /bin/sh + +PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/cyrus/bin +DAEMON=/usr/cyrus/bin/master +NAME=master +DESC="Cyrus IMAP Master Daemon" + +case "$1" in + start) + echo -n "Starting $DESC: $NAME" + start-stop-daemon --start --quiet --background --pidfile /var/run/$NAME.pid --exec $DAEMON + echo "." + ;; + stop) + echo -n "Stopping $DESC: $NAME " + start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid --exec $DAEMON + sleep 1 + killall imapd pop3d timsieved master lmtpd notifyd 2>/dev/null + echo "." + ;; + reload|force-reload) + echo "Reloading $DESC configuration..." + start-stop-daemon --stop --signal 1 --quiet --pidfile /var/run/$NAME.pid --exec $DAEMON + echo "done." + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + N=/etc/init.d/$NAME + echo "Usage: $N {start|stop|reload|restart|force-reload}" >&2 + exit 1 + ;; +esac +exit 0 + diff --git a/recipes/cyrus-imapd/files/cyrus.conf_2.2 b/recipes/cyrus-imapd/files/cyrus.conf_2.2 new file mode 100644 index 0000000000..17541063fe --- /dev/null +++ b/recipes/cyrus-imapd/files/cyrus.conf_2.2 @@ -0,0 +1,42 @@ +# Standard standalone server configuration. + +START { + # Do not delete this entry! + recover cmd="ctl_cyrusdb -r" + + # This is only necessary if using idled for IMAP IDLE. + #idled cmd="idled" +} + +# UNIX sockets start with a slash and are put into /var/imap/socket. +SERVICES { + # Add or remove based on preferences. + imap cmd="imapd" listen="imap2" prefork=0 + #pop3 cmd="pop3d" listen="pop-3" prefork=0 + + # Don't forget to generate the needed keys for SSL or TLS + # (see doc/html/install-configure.html). + #imaps cmd="imapd -s" listen="imaps" prefork=0 + #pop3s cmd="pop3d -s" listen="pop3s" prefork=0 + + #sieve cmd="timsieved" listen="sieve" prefork=0 + + # at least one LMTP is required for delivery + #lmtp cmd="lmtpd" listen="lmtp" prefork=0 + lmtpunix cmd="lmtpd" listen="/var/lib/cyrus/socket/lmtp" prefork=0 + + # this is only necessary if using notifications + #notify cmd="notifyd" listen="/var/lib/cyrus/socket/notify" proto="udp" prefork=1 +} + +EVENTS { + # This is required. + checkpoint cmd="ctl_cyrusdb -c" period=30 + + # This is only necessary if using duplicate delivery suppression. + delprune cmd="ctl_deliver -E 3" period=1440 + + # This is only necessary if caching TLS sessions. + #tlsprune cmd="tls_prune" period=1440 +} + diff --git a/recipes/cyrus-imapd/files/imapd.conf_2.2 b/recipes/cyrus-imapd/files/imapd.conf_2.2 new file mode 100644 index 0000000000..5cf4ca9135 --- /dev/null +++ b/recipes/cyrus-imapd/files/imapd.conf_2.2 @@ -0,0 +1,50 @@ +# Don't forget to use chattr +S (if you are using ext[23]) +# when you change these directories (read the docs). + +# Configuration directory +configdirectory: /var/lib/cyrus + +# Which partition to use for default mailboxes +defaultpartition: default +partition-default: /var/spool/cyrus/mail + +sievedir: /var/lib/cyrus/sieve + +## News setup +#partition-news: /var/spool/cyrus/news +#newsspool: /var/spool/news + + +tls_ca_path: /etc/ssl/certs +tls_cert_file: /etc/ssl/cyrus/server.crt +tls_key_file: /etc/ssl/cyrus/server.key + +# Who has the right to create Mailboxes +admins: cyrus root + +hashimapspool: yes +allowanonymouslogin: no +allowplaintext: yes + +# Minimum time between POP mail fetches in minutes +popminpoll: 1 + +# umask used by Cyrus programs +umask: 077 + +# Allow renaming of top-level mailboxes. +#allowusermoves: yes + +# Use this if sieve-scripts could be in ~user/.sieve. +#sieveusehomedir: yes + +#sasl_pwcheck_method: saslauthd + +## all possible values. +#sasl_mech_list: LOGIN PLAIN CRAM-MD5 DIGEST-MD5 NTLM +## or limit to CRAM-MD5 only +#sasl_mech_list: CRAM-MD5 + +# This program will be used to send out Mails +sendmail: /usr/sbin/sendmail + diff --git a/recipes/cyrus-imapd/files/volatiles b/recipes/cyrus-imapd/files/volatiles new file mode 100644 index 0000000000..a95841c53c --- /dev/null +++ b/recipes/cyrus-imapd/files/volatiles @@ -0,0 +1,63 @@ +d cyrus mail 0755 /var/lib/cyrus none +d cyrus root 0755 /var/lib/cyrus/db none +d cyrus mail 0755 /var/lib/cyrus/proc none +d cyrus mail 0755 /var/lib/cyrus/sieve none +# if only i could: d cyrus mail 0755 /var/lib/cyrus/sieve/{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z} +d cyrus mail 0755 /var/lib/cyrus/sieve/a none +d cyrus mail 0755 /var/lib/cyrus/sieve/b none +d cyrus mail 0755 /var/lib/cyrus/sieve/c none +d cyrus mail 0755 /var/lib/cyrus/sieve/d none +d cyrus mail 0755 /var/lib/cyrus/sieve/e none +d cyrus mail 0755 /var/lib/cyrus/sieve/f none +d cyrus mail 0755 /var/lib/cyrus/sieve/g none +d cyrus mail 0755 /var/lib/cyrus/sieve/h none +d cyrus mail 0755 /var/lib/cyrus/sieve/i none +d cyrus mail 0755 /var/lib/cyrus/sieve/j none +d cyrus mail 0755 /var/lib/cyrus/sieve/k none +d cyrus mail 0755 /var/lib/cyrus/sieve/l none +d cyrus mail 0755 /var/lib/cyrus/sieve/m none +d cyrus mail 0755 /var/lib/cyrus/sieve/n none +d cyrus mail 0755 /var/lib/cyrus/sieve/o none +d cyrus mail 0755 /var/lib/cyrus/sieve/p none +d cyrus mail 0755 /var/lib/cyrus/sieve/q none +d cyrus mail 0755 /var/lib/cyrus/sieve/r none +d cyrus mail 0755 /var/lib/cyrus/sieve/s none +d cyrus mail 0755 /var/lib/cyrus/sieve/t none +d cyrus mail 0755 /var/lib/cyrus/sieve/u none +d cyrus mail 0755 /var/lib/cyrus/sieve/v none +d cyrus mail 0755 /var/lib/cyrus/sieve/w none +d cyrus mail 0755 /var/lib/cyrus/sieve/x none +d cyrus mail 0755 /var/lib/cyrus/sieve/y none +d cyrus mail 0755 /var/lib/cyrus/sieve/z none +d cyrus root 0755 /var/lib/cyrus/socket none +d cyrus mail 0755 /var/lib/cyrus/user none +# if only i could: d cyrus mail 0755 /var/lib/cyrus/user/{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z} +d cyrus mail 0755 /var/lib/cyrus/user/a none +d cyrus mail 0755 /var/lib/cyrus/user/b none +d cyrus mail 0755 /var/lib/cyrus/user/c none +d cyrus mail 0755 /var/lib/cyrus/user/d none +d cyrus mail 0755 /var/lib/cyrus/user/e none +d cyrus mail 0755 /var/lib/cyrus/user/f none +d cyrus mail 0755 /var/lib/cyrus/user/g none +d cyrus mail 0755 /var/lib/cyrus/user/h none +d cyrus mail 0755 /var/lib/cyrus/user/i none +d cyrus mail 0755 /var/lib/cyrus/user/j none +d cyrus mail 0755 /var/lib/cyrus/user/k none +d cyrus mail 0755 /var/lib/cyrus/user/l none +d cyrus mail 0755 /var/lib/cyrus/user/m none +d cyrus mail 0755 /var/lib/cyrus/user/n none +d cyrus mail 0755 /var/lib/cyrus/user/o none +d cyrus mail 0755 /var/lib/cyrus/user/p none +d cyrus mail 0755 /var/lib/cyrus/user/q none +d cyrus mail 0755 /var/lib/cyrus/user/r none +d cyrus mail 0755 /var/lib/cyrus/user/s none +d cyrus mail 0755 /var/lib/cyrus/user/t none +d cyrus mail 0755 /var/lib/cyrus/user/u none +d cyrus mail 0755 /var/lib/cyrus/user/v none +d cyrus mail 0755 /var/lib/cyrus/user/w none +d cyrus mail 0755 /var/lib/cyrus/user/x none +d cyrus mail 0755 /var/lib/cyrus/user/y none +d cyrus mail 0755 /var/lib/cyrus/user/z none +d root root 0755 /var/spool/cyrus none +d cyrus mail 0750 /var/spool/cyrus/mail none +d cyrus mail 0750 /var/spool/cyrus/news none |