diff -r c4a1470ab59d -r 37f217a8bcce security.d/chk_mailqueue --- a/security.d/chk_mailqueue Sun Feb 17 19:49:24 2013 +0100 +++ b/security.d/chk_mailqueue Mon Feb 18 19:47:24 2013 +0100 @@ -1,9 +1,9 @@ #!/bin/bash # ############################################################################# -# Copyright (C) 2005-2012 +# Copyright (C) 2005-2013 # -# Michiel Broek +# Michiel Broek # the Netherlands # # This file is part of SlackSecCheckScripts. @@ -23,6 +23,9 @@ # Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. ############################################################################# +# If the system is using ssmtp then there is no queue to check +[ -x /usr/sbin/ssmtp ] && exit + PATH=/sbin:/usr/sbin:/bin:/usr/bin umask 077