User sees this message when sending mail:
# dle@g3... Connecting to g3.xyz.edu. (ether)... 220 xyz.edu Sendmail SMI-8.6/SMI-SVR4 ready at Wed, 7 Jan 1998 14:28:20 -0600 >>> HELO xyz.edu 250 xyz.edu Hello g1.xyz.edu [126.96.36.199], pleased to meet you xyz.edu config error: mail loops back to myself >>> QUIT 221 g1.xyz.edu closing connection dle@g3... Local configuration error Saving message in /dead.letter /dead.letter... Sent
Edit the sendmail.cf file as follows:
Type the official host name.
For the domain, you have choices: If you want the gateway machine to identify itself as the domain, use Dj$m; if you want the gateway machine to appear to be inside the domain, use Dj$w.$m; and if you are using sendmail.mx (or have a fully-qualified host name), use Dj$w.
Uncomment Dj$w.$m and comment Dj$m. This gives each system a unique name. $w is the system host name, and $m is the domain.