evan@ndcheg.UUCP (07/10/87)
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