PATH:
usr
/
libexec
/
dovecot
#!/bin/sh # Generates a self-signed certificate. # Edit dovecot-openssl.cnf before running this. umask 077 OPENSSL=${OPENSSL-openssl} SSLDIR=${SSLDIR-/etc/pki/dovecot} OPENSSLCONFIG=${OPENSSLCONFIG-dovecot-openssl.cnf} CERTDIR=$SSLDIR/certs KEYDIR=$SSLDIR/private CERTFILE=$CERTDIR/dovecot.pem KEYFILE=$KEYDIR/dovecot.pem if [ ! -d $CERTDIR ]; then echo "$SSLDIR/certs directory doesn't exist" exit 1 fi if [ ! -d $KEYDIR ]; then echo "$SSLDIR/private directory doesn't exist" exit 1 fi if [ -f $CERTFILE ]; then echo "$CERTFILE already exists, won't overwrite" exit 1 fi if [ -f $KEYFILE ]; then echo "$KEYFILE already exists, won't overwrite" exit 1 fi $OPENSSL req -new -x509 -nodes -config $OPENSSLCONFIG -out $CERTFILE -keyout $KEYFILE -days 365 || exit 2 chmod 0600 $KEYFILE echo $OPENSSL x509 -subject -fingerprint -noout -in $CERTFILE || exit 2
[-] decode2text.sh
[edit]
[+]
..
[-] deliver
[edit]
[-] log
[edit]
[-] doveadm-server
[edit]
[-] maildirlock
[edit]
[-] gdbhelper
[edit]
[-] old-stats
[edit]
[-] submission-login
[edit]
[-] director
[edit]
[-] health-check.sh
[edit]
[-] lmtp
[edit]
[-] auth
[edit]
[-] imap-urlauth
[edit]
[-] stats
[edit]
[-] indexer
[edit]
[-] indexer-worker
[edit]
[-] dns-client
[edit]
[-] rawlog
[edit]
[-] xml2text
[edit]
[-] submission
[edit]
[-] ipc
[edit]
[-] config
[edit]
[-] replicator
[edit]
[-] imap-urlauth-worker
[edit]
[-] anvil
[edit]
[-] imap-hibernate
[edit]
[-] dict
[edit]
[-] script-login
[edit]
[-] dovecot-lda
[edit]
[-] pop3
[edit]
[-] checkpassword-reply
[edit]
[-] aggregator
[edit]
[-] quota-status
[edit]
[-] imap-login
[edit]
[-] script
[edit]
[-] imap
[edit]
[-] pop3-login
[edit]
[-] imap-urlauth-login
[edit]
[-] mkcert.sh
[edit]