From owner-freebsd-questions Mon Nov 27 10:47: 1 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pilot11.cl.msu.edu (pilot11.cl.msu.edu [35.9.5.31]) by hub.freebsd.org (Postfix) with ESMTP id 2BC2B37B4C5 for ; Mon, 27 Nov 2000 10:46:58 -0800 (PST) Received: from pilot.msu.edu (mlss27.cl.msu.edu [35.9.4.127]) by pilot11.cl.msu.edu (8.10.2/8.10.2) with ESMTP id eARIku528510 for ; Mon, 27 Nov 2000 13:46:56 -0500 Message-ID: <3A22AB96.F3C169AE@pilot.msu.edu> Date: Mon, 27 Nov 2000 13:44:39 -0500 From: Brian Martinez X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Sendmail errors Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi All, First of all, let me say "Yes, I read the Sendmail FAQ" and my question is one of the most answered questions. I am running FreeBSD 4.2-STABLE and these are test hostnames. I am testing on this box, and then moving an outdated FBSD 3.2 box over to this one. In addition to one other box. The outdated box runs sendmail 8.9.3, and I have never had any problems like this. Both of my 4.2-STABLE boxes are having this issue. Now here is a transcript of my errors, and my (poor) interpretation of the issue at hand. ----- Transcript of session follows ----- 553 5.3.5 mlss27.cl.msu.edu. config error: mail loops back to me (MX problem?) 554 5.3.5 ... Local configuration error === End Transcript === cloudcity.cl.msu.edu is a nickname for mlss27.cl.msu.edu (that shouldn't be important, but I'm just mentioning it, that I have aliased domains listed on the DNS server) Okay, in the FAQ it says that I have "asked mail to a domain (e.g., domain.net) to be forwarded to a specific host (in this case, relay.domain.net) by using an MX record, but the relay machine doesn't recognize itself as domain.net. Add domain.net to /etc/mail/local-host-names" Well, I created that file and put in "cloudcity.cl.msu.edu" Rebooted, still the same problem. One thing I'm curious about, is I don't recall asking sendmail to forward any mail to a specific host, this is a out of the box Sendmail 8.11.1. Another item in the FAQ says "When relay.domain.net is a secondary (etc.) MX, and the MX mistakenly points to a CNAME or other "non-canonical" name [this gives "config error: mail loops back to me (MX problem?)"]. The proper fix is to point the MX at the actual name, a "work-around" to add the MX target to class w. " That's all fine and dandy, but how do I add the MX target to class w? What's class w? And also, I a.) never asked sendmail to forward mail to a certain host, and b.) am not aware of having a secondary MX (let alone one). There is one line that I read somewhere that said add your domain name to the Cw line in /etc/mail/sendmail.cf I tried that, and that still did not work. The line currently reads: Cwlocalhost but at one point read: Cwlocalhost cloudcity.cl.msu.edu I'm completely lost on this issue, I apologize for being confusing, but I can try and explain it better if you wish to help me :) Also I have this to contribute, if it is any help: > echo '$=w' | sendmail -bt ADDRESS TEST MODE (ruleset 3 NOT automatically invoked) Enter
> [fe80:7::1] cloudcity [35.9.4.127] [fe80:1::250:4ff:fe7a:c938] cloudcity.cl.msu.edu localhost [::1] [127.0.0.1] cloudcity.cl > > Thank you very very much for any information, or pointers on where to look. I appreciate it very much!! ./brm To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message