Server IP : 185.86.78.101 / Your IP : 216.73.216.124 Web Server : Apache System : Linux 675867-vds-valikoshka1996.gmhost.pp.ua 5.4.0-150-generic #167-Ubuntu SMP Mon May 15 17:35:05 UTC 2023 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,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,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/lib/dpkg/info/ |
Upload File : |
#!/bin/sh set -e; PACKAGE=sendmail-base; if [ "$1" = "remove" ]; then if [ -x /usr/sbin/update-inetd ]; then update-inetd --disable smtp,smtps,submission fi; # Make sure /etc/aliases is left (move it from /etc/mail if needed) if [ -L /etc/mail/aliases ]; then rm -f /etc/mail/aliases; elif [ -f /etc/mail/aliases ] \ && [ -L /etc/aliases ]; then mv /etc/mail/aliases /etc/aliases; fi; # Remove pseudo conffiles (managed by sendmail) rm -f /etc/cron.d/sendmail; # Remove files scattered across the system that # happened to be created by sendmail rm -f /usr/lib/sasl/Sendmail.conf # Remove those files created by sendmail rm -rf /var/lib/sendmail; rm -rf /var/run/sendmail; # Note: syslog really owns these files #rm -f /var/log/mail/*; #rm -f /var/log/mail.log; # Note: these can lead to a loss of mail!!!! if [ -x /etc/init.d/sendmail ]; then /etc/init.d/sendmail clean; fi; if [ -L /var/spool/mqueue ]; then rmdir --ignore-fail-on-non-empty \ `readlink -fn /var/spool/mqueue`; elif [ -d /var/spool/mqueue ]; then rmdir --ignore-fail-on-non-empty \ /var/spool/mqueue; fi; if [ -L /var/spool/mqueue-client ]; then rmdir --ignore-fail-on-non-empty \ `readlink -fn /var/spool/mqueue-client`; elif [ -d /var/spool/mqueue-client ]; then rmdir --ignore-fail-on-non-empty \ /var/spool/mqueue-client; fi; # Remove sendmail built configuration files rm -f /etc/mail/*.db \ /etc/mail/*.dir \ /etc/mail/*.pag; rm -f /etc/mail/sendmail.cf \ /etc/mail/sendmail.cf.old \ /etc/mail/sendmail.cf.errors \ /etc/mail/sendmail.mc.old \ /etc/mail/submit.cf \ /etc/mail/submit.cf.errors \ /etc/mail/submit.mc.old \ /etc/mail/databases \ /etc/mail/Makefile \ ; rm -rf /etc/mail/smrsh \ /etc/mail/sasl \ /etc/mail/tls; # Remove empty files (probably touched databases) find /etc/mail -maxdepth 1 -type f -size 0 -delete fi if [ "$1" = "upgrade" ]; then # Potentially move the old configuration file to the new name - # before it gets deleted (for not existing in the new package) mv -f /etc/default/sendmail \ /etc/mail/sendmail.conf 2>/dev/null || true; # Prevent cronjob from running during upgrade... if [ -f /etc/cron.d/sendmail ]; then echo "#prerm" > /etc/cron.d/sendmail; fi; fi # Automatically added by dh_installdeb/12.9ubuntu1 dpkg-maintscript-helper rm_conffile /etc/dhcp3/dhclient-exit-hooks.d/sendmail 8.14.4-2.2\~ -- "$@" # End automatically added section