security.d/chk_mailqueue

changeset 16
37f217a8bcce
parent 14
59e07bba67cc
child 17
65656789da08
equal deleted inserted replaced
15:c4a1470ab59d 16:37f217a8bcce
1 #!/bin/bash 1 #!/bin/bash
2 # 2 #
3 ############################################################################# 3 #############################################################################
4 # Copyright (C) 2005-2012 4 # Copyright (C) 2005-2013
5 # 5 #
6 # Michiel Broek <mbse@mbse.dds.nl> 6 # Michiel Broek <mbse at mbse.eu>
7 # the Netherlands 7 # the Netherlands
8 # 8 #
9 # This file is part of SlackSecCheckScripts. 9 # This file is part of SlackSecCheckScripts.
10 # 10 #
11 # This package is free software; you can redistribute it and/or modify it 11 # This package is free software; you can redistribute it and/or modify it
20 # 20 #
21 # You should have received a copy of the GNU General Public License 21 # You should have received a copy of the GNU General Public License
22 # along with MBSE BBS; see the file COPYING. If not, write to the Free 22 # along with MBSE BBS; see the file COPYING. If not, write to the Free
23 # Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. 23 # Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
24 ############################################################################# 24 #############################################################################
25
26 # If the system is using ssmtp then there is no queue to check
27 [ -x /usr/sbin/ssmtp ] && exit
25 28
26 PATH=/sbin:/usr/sbin:/bin:/usr/bin 29 PATH=/sbin:/usr/sbin:/bin:/usr/bin
27 30
28 umask 077 31 umask 077
29 TZ=UTC; export TZ 32 TZ=UTC; export TZ

mercurial