Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by David Kowis (9aa92f2dc4da297e7ac6da8f5fb80cf9b087d2aa)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: David Kowis <scm AT mail.sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by David Kowis (9aa92f2dc4da297e7ac6da8f5fb80cf9b087d2aa)
  • Date: Tue, 20 Jun 2006 13:45:36 -0500

GIT changes to master grimoire by David Kowis <dkowis AT shlrm.org>:

mail/postfix/FINAL | 64
------------------------------------------------
mail/postfix/HISTORY | 3 ++
mail/postfix/PRE_REMOVE | 7 -----
3 files changed, 3 insertions(+), 71 deletions(-)

New commits:
commit 9aa92f2dc4da297e7ac6da8f5fb80cf9b087d2aa
Author: David Kowis <dkowis AT shlrm.org>
Commit: David Kowis <dkowis AT shlrm.org>

removed some cruft

diff --git a/mail/postfix/FINAL b/mail/postfix/FINAL
deleted file mode 100644
index 3b8966d..0000000
--- a/mail/postfix/FINAL
+++ /dev/null
@@ -1,64 +0,0 @@
-source /etc/sorcery/local/depends/postfix &&
-
-message "${MESSAGE_COLOR}If this is the first cast of postfix,"
-message "you may want to run newaliases to make it work right
now.${DEFAULT_COLOR}"
-
-if [ "$ALIAS" == "n" ]; then
- message "${MESSAGE_COLOR}Don't forget to run newaliases to apply your
changes on the alias file.${DEFAULT_COLOR}"
-else
- newaliases
-fi &&
-
-# look for a backup file
-backup_file=`ls -t -1 -r /etc/postfix-backup* | tail --lines=1` &&
-
-if [ "$backup_file" != "" ]; then
- if [ "$RESTORE" == "n" ]; then
- message "${MESSAGE_COLOR}Restore skipped. (you can still use
$backup_file lather yourself)${DEFAULT_COLOR}"
- else
- message "${MESSAGE_COLOR}Restoring config files... ${DEFAULT_COLOR}"
- tar -C / -xjvPf $backup_file
- fi
-else
- message "${MESSAGE_COLOR}No backup for config files found.
${DEFAULT_COLOR}"
-fi &&
-
-#
-# postfix 2.x.x new directives needed (at least) :
-#
-if [ -e /etc/postfix/master.cf ]; then
-
- local relayCheck=`cat /etc/postfix/master.cf | grep relay` &&
- local proxymapCheck=`cat /etc/postfix/master.cf | grep proxymap` &&
-
- if [ "$relayCheck" == "" ]; then
- if query "${MESSAGE_COLOR}The relay directive is missing in
/etc/postfix/master.cf... Add it now ? ${DEFAULT_COLOR}" y
- then
- echo "# The next line was automatically added:" >>
/etc/postfix/master.cf
- echo "relay unix - - n - - smtp" >>
/etc/postfix/master.cf
- fi
- fi &&
-
- if [ "$proxymapCheck" == "" ]; then
- if query "${MESSAGE_COLOR}The proxymap directive is missing in
/etc/postfix/master.cf... Add it now ? ${DEFAULT_COLOR}" y
- then
- echo "# The next line was automatically added:" >>
/etc/postfix/master.cf
- echo "proxymap unix - - n - -
proxymap" >> /etc/postfix/master.cf
- fi
- fi
-fi &&
-
-#
-# SSL/TLS warnings
-#
-if [ "$SSL_TLS" == "y" ]; then
- message " "
- message "${MESSAGE_COLOR}About TLS/SSL"
- message " "
- message "There is one thing that is extremly important when it comes to
clients."
- message "TLS Will NOT work if you are on Windows and have Norton
auto-protect enabled for"
- message "outgoing e-mail. It simply drops the STARTTLS command, which
usually have fatal"
- message "implications on your client. ${DEFAULT_COLOR}"
- message " "
-fi
-
diff --git a/mail/postfix/HISTORY b/mail/postfix/HISTORY
index d2e2d19..5c379be 100644
--- a/mail/postfix/HISTORY
+++ b/mail/postfix/HISTORY
@@ -1,3 +1,6 @@
+2006-06-20 David Kowis <dkowis AT shlrm.org>
+ * PRE_REMOVE, FINAL: forgot to remove the cruft
+
2006-06-15 David Kowis <dkowis AT shlrm.org>
* DETAILS: updated to 2.2.10
* CONFIGURE: rearranged the config questions so the related ones are
together
diff --git a/mail/postfix/PRE_REMOVE b/mail/postfix/PRE_REMOVE
deleted file mode 100644
index b797b68..0000000
--- a/mail/postfix/PRE_REMOVE
+++ /dev/null
@@ -1,7 +0,0 @@
-persistent_load &&
-
-if [ "$BACKUP" == "y" ]; then
- CUR_DATE=`date +%y.%m.%d-%H.%M.%S`
- message "${MESSAGE_COLOR}Backing up config files (date: $CUR_DATE).
${DEFAULT_COLOR}"
- tar -cjvf "/etc/postfix-backup-$CUR_DATE.tar.bz2" /etc/postfix
-fi



  • [SM-Commit] GIT changes to master grimoire by David Kowis (9aa92f2dc4da297e7ac6da8f5fb80cf9b087d2aa), David Kowis, 06/20/2006

Archive powered by MHonArc 2.6.24.

Top of Page