1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
Author:
Description: Patch that remove the faxmaster alias since we already have a
user FaxMaster.
Index: hylafax-6.0.7/etc/faxsetup.sh.in
===================================================================
--- hylafax-6.0.7.orig/etc/faxsetup.sh.in
+++ hylafax-6.0.7/etc/faxsetup.sh.in
@@ -2095,50 +2095,7 @@ EOF
fi
fi
-#
-# Check for a FaxMaster entry for sending mail.
-#
-if onServer; then
- x=`(ypcat -k aliases) 2>/dev/null | $GREP -i '^faxmaster'` 2>/dev/null
- if [ -z "$x" ] && [ -f $ALIASES ]; then
- x=`$GREP -i '^faxmaster' $ALIASES`
- fi
- if [ -z "$x" ]; then
- cat<<-EOF
-
-
- There does not appear to be an entry for the FaxMaster either in
- the YP/NIS database or in the $ALIASES file. The
- FaxMaster is the primary point of contact for HylaFAX problems.
- The HylaFAX client-server protocol server identifies this alias as
- the place to register complaints and HylaFAX directs automatic mail
- messages to this user when problems are identified on a server
- machine or when the routine server maintainence scripts are run
- (e.g. faxcron).
-
- EOF
- prompt "Should an entry be added for the FaxMaster to $ALIASES [yes]?"
- read x
- if isOK $x; then
- promptForNonNullStringParameter "${USER:-root}" \
- "Users to receive fax-related mail"
- (echo "# alias for notification messages from HylaFAX servers";
- echo "FaxMaster: $param") >>$ALIASES
- if newaliases 2>/dev/null; then
- echo "Rebuilt $ALIASES database."
- else
- # could be a SCO machine running mmdf
- if test -x /usr/mmdf/table/dbmbuild ; then
- su mmdf -c "/usr/mmdf/table/dbmbuild"
- else
- echo "Can not find newaliases to rebuild $ALIASES;"
- echo "you will have to do it yourself."
- fi
- fi
- fi
- fi
- FAXMASTER=$x
-fi
+FAXMASTER=faxmaster
#
# Generate or update default values for status/any.info
|