D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
usr
/
share
/
bug
/
libmilter1.0.1
/
Filename :
script
back
Copy
#!/bin/sh #----------------------------------------------------------------------------- # Copyright (c) 1998-2010 Richard Nelson. All Rights Reserved. # # Debian helper function script for Debian Sendmail bug reporting # Note: this file supports 8.15.0 - 9.0.0 # # Notes (to all): # * # # Notes (to self): # * # #----------------------------------------------------------------------------- # #set -e; DEBUG=0; # Announce printf "Output of $0:\n" >&3; # Show files in /etc/mail printf "\nls -alR /etc/mail:\n" >&3; ls -alR /etc/mail | grep -Eve '~$' >&3; # Extract the relevant portion of sendmail.conf if [ -e /etc/mail/sendmail.conf ]; then printf "\nsendmail.conf:\n" >&3; grep -ve '^#' "/etc/mail/sendmail.conf" >&3; fi; # Extract the relevant portion of sendmail.mc if [ -e /etc/mail/sendmail.mc ]; then printf "\nsendmail.mc:\n" >&3; grep -Eve '^(#|dnl|$)' "/etc/mail/sendmail.mc" >&3; fi; # Extract the relevant portion of submit.mc if [ -e /etc/mail/submit.mc ]; then printf "\nsubmit.mc...\n" >&3; grep -Eve '^(#|dnl|$)' "/etc/mail/submit.mc" >&3; fi; printf "\n" >&3; # vim:set ai et sts=4 sw=4 tw=0: