[2730] in SIPB_Linux_Development
Re: /etc/athena/direct.cf
daemon@ATHENA.MIT.EDU (Greg Hudson)
Thu Apr 22 16:31:49 1999
To: Salvatore Valente <svalente@dimins.com>
Cc: linux-dev@MIT.EDU, shabby@dimins.com
In-Reply-To: Your message of "Thu, 22 Apr 1999 15:55:03 EDT."
<199904221955.PAA19383@pip.dimins.com>
Date: Thu, 22 Apr 1999 16:31:07 EDT
From: Greg Hudson <ghudson@MIT.EDU>
> I've heard that: With /etc/sendmail.cf -> athena/direct.cf, mail
> sent to username@ai.mit.edu fails. Anyone want to try to reproduce,
> debug, and fix this?
I think it's a bug we've already fixed in the mainline.
source-reviewers [3945]: sendmail.cf broken in a new way this time :)
Date: Fri, 9 Apr 1999 20:51:02 GMT
From: Dan Winship <danw@MIT.EDU>
To: source-reviewers@MIT.EDU
You can't currently send mail to foo@bar.mit.edu, because it tries to
send it to "foo bar.mit.edu" instead. Yeah, yeah. I suck. Also, I seem
to have never finished updating the sendmail.cfs for Solaris and
Linux.
The bugfix part of this is that the two lines under "Resolve name" are
each missing a @ after the < in the right-hand side. And the two lines
under those were each useless because of the change to the lines above
them in the previous revision.
I removed some more references to pop mail (since we already removed
the pop mailer since we're not installing spop any more).
I took out the IP addr rule, since in 8.9.3, [$I] is part of $=w (the
class of all names that are names for the local machine).
Index: irix/sendmail.cf
===================================================================
RCS file: /afs/dev/source/repository/packs/config/os/irix/sendmail.cf,v
retrieving revision 1.6
diff -c -r1.6 sendmail.cf
*** sendmail.cf 1999/03/08 16:45:56 1.6
--- sendmail.cf 1999/04/09 20:24:38
***************
*** 169,175 ****
# extract special suffixes
R$*<$*.LOCAL>$* $1<$2>$3.LOCAL Extract .LOCAL
- R$*<$*.POP>$* $1<$2>.POP Extract .POP
# deliver obviously local mail first so root's junk mail won't
# get bounced to postmaster if we fall off the net and can't resolve our
--- 169,174 ----
***************
*** 177,191 ****
R$*<@$j>$* $#local$:$1
# Resolve name (so our CNAMES work)
! R$*<@$+.$D>$* $:$1<$[$2$]>$3 @something.mit.edu
! R$*<@$->$* $:$1<$[$2$]>$3 @something [no .s]
! R$*<$=w:@$+>$* $1<@$j>$3 This mail is for us
! R$*<[$I]:@$+>$* $1<@$j>$3 for us, by IP addr
# deliver mail
! 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$* $#smtp$@ATHENA.$D$:$1 All else to ATHENA
#####################
--- 176,186 ----
R$*<@$j>$* $#local$:$1
# Resolve name (so our CNAMES work)
! R$*<@$+.$D>$* $:$1<@$[$2$]>$3 @something.mit.edu
! R$*<@$->$* $:$1<@$[$2$]>$3 @something [no .s]
# deliver mail
! R$*<@$=w>$* $#local$:$1 Local mail
R$* $#smtp$@ATHENA.$D$:$1 All else to ATHENA
#####################
Index: linux/sendmail.cf
===================================================================
RCS file: /afs/dev/source/repository/packs/config/os/linux/sendmail.cf,v
retrieving revision 1.5
diff -c -r1.5 sendmail.cf
*** sendmail.cf 1999/03/08 16:46:03 1.5
--- sendmail.cf 1999/04/09 20:39:20
***************
*** 169,175 ****
# extract special suffixes
R$*<$*.LOCAL>$* $1<$2>$3.LOCAL Extract .LOCAL
- R$*<$*.POP>$* $1<$2>.POP Extract .POP
# deliver obviously local mail first so root's junk mail won't
# get bounced to postmaster if we fall off the net and can't resolve our
--- 169,174 ----
***************
*** 177,193 ****
R$*<@$j>$* $#local$:$1
# Resolve name (so our CNAMES work)
! R$*<@$+.$D>$* $:$1<$[$2$]:@$2.$D>$3 @something.mit.edu
! R$*<@$->$* $:$1<$[$2$]:@$2>$3 @something [no .s]
! R$*<$=w:@$+>$* $1<@$j>$3 This mail is for us
! R$*<$=w.$D:@$+>$* $1<@$j>$3 also for us
! R$*<[$I]:@$+>$* $1<@$j>$3 for us, by IP addr
! R$*<$*:@$+>$* $1<@$3>$4 Not for us; don't frob
# deliver mail
! 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$* $#smtp$@ATHENA.$D$:$1 All else to ATHENA
#####################
--- 176,186 ----
R$*<@$j>$* $#local$:$1
# Resolve name (so our CNAMES work)
! R$*<@$+.$D>$* $:$1<@$[$2$]>$3 @something.mit.edu
! R$*<@$->$* $:$1<@$[$2$]>$3 @something [no .s]
# deliver mail
! R$*<@$=w>$* $#local$:$1 Local mail
R$* $#smtp$@ATHENA.$D$:$1 All else to ATHENA
#####################
Index: solaris/sendmail.cf
===================================================================
RCS file: /afs/dev/source/repository/packs/config/os/solaris/sendmail.cf,v
retrieving revision 1.6
diff -c -r1.6 sendmail.cf
*** sendmail.cf 1999/03/08 16:46:05 1.6
--- sendmail.cf 1999/04/09 20:36:46
***************
*** 169,175 ****
# extract special suffixes
R$*<$*.LOCAL>$* $1<$2>$3.LOCAL Extract .LOCAL
- R$*<$*.POP>$* $1<$2>.POP Extract .POP
# deliver obviously local mail first so root's junk mail won't
# get bounced to postmaster if we fall off the net and can't resolve our
--- 169,174 ----
***************
*** 177,195 ****
R$*<@$j>$* $#local$:$1
# Resolve name (so our CNAMES work)
! R$*<@$+.$D>$* $:$1<$[$2$]:@$2.$D>$3 @something.mit.edu
! R$*<@$->$* $:$1<$[$2$]:@$2>$3 @something [no .s]
! # need next because `localhost' resolves to `localhost.' w/ our /etc/hosts
! R$*<$*.:$*>$* $1<$2:$3>$4
! R$*<$=w:@$+>$* $1<@$j>$3 This mail is for us
! R$*<$=w.$D:@$+>$* $1<@$j>$3 also for us
! R$*<[$I]:@$+>$* $1<@$j>$3 for us, by IP addr
! R$*<$*:@$+>$* $1<@$3>$4 Not for us; don't frob
# deliver mail
! 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$* $#smtp$@ATHENA.$D$:$1 All else to ATHENA
#####################
--- 176,186 ----
R$*<@$j>$* $#local$:$1
# Resolve name (so our CNAMES work)
! R$*<@$+.$D>$* $:$1<@$[$2$]>$3 @something.mit.edu
! R$*<@$->$* $:$1<@$[$2$]>$3 @something [no .s]
# deliver mail
! R$*<@$=w>$* $#local$:$1 Local mail
R$* $#smtp$@ATHENA.$D$:$1 All else to ATHENA
#####################
*** End of Transaction ***