[2651] in SIPB_Linux_Development

home help back first fref pref prev next nref lref last post

Re: Sendmail concept

daemon@ATHENA.MIT.EDU (Greg Hudson)
Tue Feb 16 14:14:05 1999

To: Derek Atkins <warlord@MIT.EDU>
Cc: linux-dev@MIT.EDU
In-Reply-To: Your message of "Tue, 16 Feb 1999 12:59:09 EST."
             <199902161759.MAA09632@bobbi-harlow> 
Date: Tue, 16 Feb 1999 14:13:45 EST
From: Greg Hudson <ghudson@MIT.EDU>

Incidentally, here is a patch from Dan to make sendmail do direct
delivery and local queueing for outgoing mail.  It's just as simple
(if maybe a little less obvious) than the outgoing patch.  It could
use a little testing, but it appears to work in sendmail -bt.

I would think that for many off-campus machines this is better than
using outgoing (fewer points of failure).  My reservations are that
(1) there's no way to tell in the athena startup script whether a
machine is "stable" enough to be doing direct delivery, and (2) some
administrators are talking about starting to reject mail from hosts
which don't have MX records.

But here it is.  You could make an /etc/athena/rc.conf option to
decide (perhaps with the values "athena", "outgoing", "direct", and
"auto", where "auto" is the default and selects between "athena" and
"outgoing" depending on the IP address).

Index: sendmail.cf
===================================================================
RCS file: /afs/dev/source/repository/packs/config/os/irix/sendmail.cf,v
retrieving revision 1.2
diff -c -r1.2 sendmail.cf
*** sendmail.cf	1999/02/04 17:48:42	1.2
--- sendmail.cf	1999/02/16 17:07:48
***************
*** 247,253 ****
  R$*<@$j>$*POP$*		$#pop$@$j$:$1			POP mail delivery
  R$*<@$j>$*LOCAL$*	$#local$:$1			Local mail
  R$*<@$j>$*		$#local$:$1			(yet) More local mail
! R$*			$#ether$@ATHENA.$D$:$1		All else to ATHENA
  
  ############################################################
  ############################################################
--- 247,253 ----
  R$*<@$j>$*POP$*		$#pop$@$j$:$1			POP mail delivery
  R$*<@$j>$*LOCAL$*	$#local$:$1			Local mail
  R$*<@$j>$*		$#local$:$1			(yet) More local mail
! R$*<@$+>$*		$#ether$@$2$:$1<@$2>$3		All else is foreign
  
  ############################################################
  ############################################################

home help back first fref pref prev next nref lref last post