source: trunk/packs/maint/sendmail-relay-select @ 19939

Revision 19939, 241 bytes checked in by ghudson, 21 years ago (diff)
Revert rev 1.2. Returning no output simply makes sendmail.cf stop working (it tries to send mail to the MIT MXs on port 587); it does not cause direct delivery to happen.
  • Property svn:executable set to *
Line 
1#!/bin/sh
2# $Id: sendmail-relay-select,v 1.3 2003-10-26 20:04:24 ghudson Exp $
3
4if [ -n "$DIRECT_DELIVERY" ]; then
5  exit 0
6elif [ -f /etc/athena/sendmail.conf ]; then
7  awk '/relay/ {print $2}' /etc/athena/sendmail.conf
8  exit 0
9fi
10
11exit 0
Note: See TracBrowser for help on using the repository browser.