403Webshell
Server IP : 173.236.223.38  /  Your IP : 216.73.216.33
Web Server : Apache
System : Linux vps62975 6.8.0-83-generic #83~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Sep 9 18:19:47 UTC 2 x86_64
User : invmicvps ( 6727287)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/courier/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/courier/pop3d-ssl
#! /bin/sh
#
# Copyright 1998 - 2005 Double Precision, Inc.
# See COPYING for distribution information.


prefix=/usr
exec_prefix=/usr
libexecdir=${prefix}/lib/courier
sbindir=${exec_prefix}/sbin
bindir="/usr/bin"
sysconfdir="/etc/courier"

if test ! -f ${sysconfdir}/pop3d
then
	echo "${sysconfdir}/pop3d does not exist, forgot make install-configure?"
	exit 1
fi

if test ! -f ${sysconfdir}/pop3d-ssl
then
	echo "${sysconfdir}/pop3d-ssl does not exist, forgot make install-configure?"
	exit 1
fi

. /etc/courier/pop3d
. /etc/courier/pop3d-ssl

case $1 in
start)
	if test "$TLS_CACHEFILE" != ""
	then
		rm -f "$TLS_CACHEFILE"
		touch "$TLS_CACHEFILE"
		chown courier "$TLS_CACHEFILE"
		chgrp courier  "$TLS_CACHEFILE"
		chmod 600  "$TLS_CACHEFILE"
	fi
	exec /usr/bin/env -i PATH="$PATH" SHELL="$SHELL" \
		/bin/sh -c " set -a ; \
		prefix=/usr ; \
		exec_prefix=/usr ; \
		sbindir=${exec_prefix}/sbin ; \
		bindir=/usr/bin ; \
		libexecdir=${prefix}/lib/courier ; \
		. /etc/courier/pop3d ; \
		. /etc/courier/pop3d-ssl ; \
		PROXY_HOSTNAME=$PROXY_HOSTNAME; \
		POP3_TLS=1; \
                POP3_STARTTLS=NO; \
                POP3_TLS_REQUIRED=0; \
		mkdir -p `dirname $SSLPIDFILE` ; \
		/usr/sbin/courierlogger -pid=$SSLPIDFILE -start $SSLLOGGEROPTS \
		${exec_prefix}/sbin/couriertcpd -address=$SSLADDRESS \
			-maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
			$TCPDOPTS \
			$SSLPORT $COURIERTLS -server -tcpd \
			        -user=courier \
				$libexecdir/courier/courierpop3login \
				$libexecdir/courier/courierpop3d ${MAILDIRPATH}"
	;;
stop)
	/usr/sbin/courierlogger -pid=$SSLPIDFILE -stop
	;;
restart)
	/usr/sbin/courierlogger -pid=$SSLPIDFILE -restart
	;;
esac
exit 0

Youez - 2016 - github.com/yon3zu
LinuXploit