🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.misc
Article #4296

yet another quirk in sendmail

#4296
From: evan
Date: Thu, 09 Jul 1987 21:50
53 lines
3027 bytes
First I wish to express my thanks to all those who previously helped
me with sendmail in th past.  Now on to the next problem:

This Sun 3/50 is serving 4 Suns in this department with mail and news.  All
these Suns are in the ndcheg domain (as noted in their rc.local file).
There also exists on the same ethernet cable several other Suns which
are in another domain, specifically the ndsun domain.  We can send mail
to machines in the ndsun domain using the address user@machine.  Here is the
output from the test mode of our sendmail config file.

ndcheg% /usr/lib/sendmail -bt
ADDRESS TEST MODE
Enter <ruleset> <address>
> 0 user@ndsun
rewrite: ruleset  3   input: "user" "@" "ndsun"
rewrite: ruleset  8   input: "user" "@" "ndsun"
rewrite: ruleset  8 returns: "user" "@" "ndsun"
rewrite: ruleset  6   input: "user" "<" "@" "ndsun" ">"
rewrite: ruleset  6 returns: "user" "<" "@" "ndsun" ">"
rewrite: ruleset  3 returns: "user" "<" "@" "ndsun" ">"
rewrite: ruleset  0   input: "user" "<" "@" "ndsun" ">"
rewrite: ruleset  9   input: "user" "<" "@" "ndsun" ">"
rewrite: ruleset  9 returns: "user" "<" "@" "ndsun" ">"
rewrite: ruleset  0 returns: "^V" "ether" "^W" "ndsun" "^X" "user" "@" "ndsun"

Now if we or others from the outside world who wish to communicate with ndsun
use a bang path or user@ndsun.uucp, the ndcheg domain is appended to the
right hand side of the @.  Here's some more sendmail output

> 0 ndsun!user
rewrite: ruleset  3   input: "ndsun" "!" "user"
rewrite: ruleset  8   input: "ndsun" "!" "user"
rewrite: ruleset  8 returns: "ndsun" "!" "user"
rewrite: ruleset  6   input: "user" "<" "@" "ndsun" "." "uucp" ">"
rewrite: ruleset  6 returns: "user" "<" "@" "ndsun" "." "uucp" ">"
rewrite: ruleset  3 returns: "user" "<" "@" "ndsun" "." "uucp" ">"
rewrite: ruleset  0   input: "user" "<" "@" "ndsun" "." "uucp" ">"
rewrite: ruleset  0 returns: "^V" "ether" "^W" "ndsun" "^X" "user" "@" "ndsun" "." "ndcheg" "." "uucp"

As you can see the final RHS is ndsun.ndcheg.uucp instead
of the proper ndsun.ndsun.uucp.  This results in the
daemons bouncing the mail back and forth between ndcheg and ndsun
until a 'too many hops' error message is sent to the postmaster.

I've tried to reconfigure sendmail.cf to recognize an ether
host in ruleset #3 and NOT append the local domain but I
haven't had any success.  If there is anybody in a similar
situation who has solved this, I would appreciate knowing
the fix.

  Evan Bauman
  University of Notre Dame
  ..!seismo!iuvax!ndmath!ndcheg!evan
Technical Details
Message-ID: <235@ndcheg.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!inuxc!iuvax!ndmath!ndcheg!evan

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!inuxc!iuvax!ndmath!ndcheg!evan
From: evan@ndcheg.UUCP
Newsgroups: comp.mail.misc,comp.mail.uucp
Subject: yet another quirk in sendmail
Message-ID: <235@ndcheg.UUCP>
Date: Thu, 9-Jul-87 17:50:07 EDT
Article-I.D.: ndcheg.235
Posted: Thu Jul  9 17:50:07 1987
Date-Received: Sun, 12-Jul-87 09:05:52 EDT
Organization: University of Notre Dame
Lines: 53