Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 340175
Collapse All | Expand All

(-)files.orig/courier-imap-4.0.6-r1-courier-imapd-ssl.rc6 (-4 / +4 lines)
Lines 8-26 Link Here
8
	use famd
8
	use famd
9
}
9
}
10
10
11
source /etc/courier-imap/imapd-ssl
11
. /etc/courier-imap/imapd-ssl
12
12
13
checkconfig() {
13
checkconfig() {
14
	if [[ ! -e /etc/courier-imap/imapd-ssl ]] ; then
14
	if [ ! -e /etc/courier-imap/imapd-ssl ] ; then
15
		eerror "You need an /etc/courier-imap/imapd-ssl file to run courier-imapd-ssl"
15
		eerror "You need an /etc/courier-imap/imapd-ssl file to run courier-imapd-ssl"
16
		return 1
16
		return 1
17
	fi
17
	fi
18
	source /etc/courier-imap/imapd-ssl || {
18
	. /etc/courier-imap/imapd-ssl || {
19
		eerror "There are syntax errors in /etc/courier-imap/imapd-ssl"
19
		eerror "There are syntax errors in /etc/courier-imap/imapd-ssl"
20
		eerror "Please correct them before trying to start courier-imapd-ssl"
20
		eerror "Please correct them before trying to start courier-imapd-ssl"
21
		return 3
21
		return 3
22
	}
22
	}
23
	if [[ ! -e "${TLS_CERTFILE}" ]] ; then
23
	if [ ! -e "${TLS_CERTFILE}" ] ; then
24
		eerror "You need to create a SSL certificate to use IMAP over SSL"
24
		eerror "You need to create a SSL certificate to use IMAP over SSL"
25
		eerror "Edit /etc/courier-imap/imapd.cnf, then run: mkimapdcert"
25
		eerror "Edit /etc/courier-imap/imapd.cnf, then run: mkimapdcert"
26
		return 2
26
		return 2
(-)files.orig/courier-imap-4.0.6-r1-courier-imapd.rc6 (-3 / +3 lines)
Lines 8-21 Link Here
8
	use famd
8
	use famd
9
}
9
}
10
10
11
source /etc/courier-imap/imapd
11
. /etc/courier-imap/imapd
12
12
13
checkconfig() {
13
checkconfig() {
14
	if [[ ! -e /etc/courier-imap/imapd ]] ; then
14
	if [ ! -e /etc/courier-imap/imapd ] ; then
15
		eerror "You need an /etc/courier-imap/imapd file to run courier-imapd"
15
		eerror "You need an /etc/courier-imap/imapd file to run courier-imapd"
16
		return 1
16
		return 1
17
	fi
17
	fi
18
	source /etc/courier-imap/imapd || {
18
	. /etc/courier-imap/imapd || {
19
		eerror "There are syntax errors in /etc/courier-imap/imapd"
19
		eerror "There are syntax errors in /etc/courier-imap/imapd"
20
		eerror "Please correct them before trying to start courier-imapd"
20
		eerror "Please correct them before trying to start courier-imapd"
21
		return 2
21
		return 2
(-)files.orig/courier-imap-4.0.6-r1-courier-pop3d-ssl.rc6 (-4 / +4 lines)
Lines 8-26 Link Here
8
	use famd
8
	use famd
9
}
9
}
10
10
11
source /etc/courier-imap/pop3d-ssl
11
. /etc/courier-imap/pop3d-ssl
12
12
13
checkconfig() {
13
checkconfig() {
14
	if [[ ! -e /etc/courier-imap/pop3d-ssl ]] ; then
14
	if [ ! -e /etc/courier-imap/pop3d-ssl ] ; then
15
		eerror "You need an /etc/courier-imap/pop3d-ssl file to run courier-pop3d-ssl"
15
		eerror "You need an /etc/courier-imap/pop3d-ssl file to run courier-pop3d-ssl"
16
		return 1
16
		return 1
17
	fi
17
	fi
18
	source /etc/courier-imap/pop3d-ssl || {
18
	. /etc/courier-imap/pop3d-ssl || {
19
		eerror "There are syntax errors in /etc/courier-imap/pop3d-ssl"
19
		eerror "There are syntax errors in /etc/courier-imap/pop3d-ssl"
20
		eerror "Please correct them before trying to start courier-pop3d-ssl"
20
		eerror "Please correct them before trying to start courier-pop3d-ssl"
21
		return 3
21
		return 3
22
	}
22
	}
23
	if [[ ! -e "${TLS_CERTFILE}" ]] ; then
23
	if [ ! -e "${TLS_CERTFILE}" ] ; then
24
		eerror "You need to create a SSL certificate to use POP3 over SSL"
24
		eerror "You need to create a SSL certificate to use POP3 over SSL"
25
		eerror "Edit /etc/courier-imap/pop3d.cnf, then run: mkpop3dcert"
25
		eerror "Edit /etc/courier-imap/pop3d.cnf, then run: mkpop3dcert"
26
		return 2
26
		return 2
(-)files.orig/courier-imap-4.0.6-r1-courier-pop3d.rc6 (-3 / +3 lines)
Lines 8-21 Link Here
8
	use famd
8
	use famd
9
}
9
}
10
10
11
source /etc/courier-imap/pop3d
11
. /etc/courier-imap/pop3d
12
12
13
checkconfig() {
13
checkconfig() {
14
	if [[ ! -e /etc/courier-imap/pop3d ]] ; then
14
	if [ ! -e /etc/courier-imap/pop3d ] ; then
15
		eerror "You need an /etc/courier-imap/pop3d file to run courier-pop3d"
15
		eerror "You need an /etc/courier-imap/pop3d file to run courier-pop3d"
16
		return 1
16
		return 1
17
	fi
17
	fi
18
	source /etc/courier-imap/pop3d || {
18
	. /etc/courier-imap/pop3d || {
19
		eerror "There are syntax errors in /etc/courier-imap/pop3d"
19
		eerror "There are syntax errors in /etc/courier-imap/pop3d"
20
		eerror "Please correct them before trying to start courier-pop3d"
20
		eerror "Please correct them before trying to start courier-pop3d"
21
		return 2
21
		return 2

Return to bug 340175