From owner-freebsd-questions Thu May 28 17:06:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA29156 for freebsd-questions-outgoing; Thu, 28 May 1998 17:06:24 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from fly.HiWAAY.net (root@fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA29138 for ; Thu, 28 May 1998 17:06:17 -0700 (PDT) (envelope-from dkelly@nospam.hiwaay.net) Received: from nospam.hiwaay.net (tnt1-216.HiWAAY.net [208.147.147.216]) by fly.HiWAAY.net (8.8.8/8.8.6) with ESMTP id TAA30342; Thu, 28 May 1998 19:06:15 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by nospam.hiwaay.net (8.8.8/8.8.4) with ESMTP id TAA19345; Thu, 28 May 1998 19:06:13 -0500 (CDT) Message-Id: <199805290006.TAA19345@nospam.hiwaay.net> X-Mailer: exmh version 2.0.2 2/24/98 To: Guillermo Gonzalez cc: freebsd-questions@FreeBSD.ORG From: David Kelly Subject: Re: Help...with popper In-reply-to: Message from Guillermo Gonzalez of "Wed, 27 May 1998 21:13:36 EDT." <356CBA40.80E66DA1@cantv.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 28 May 1998 19:06:13 -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Guillermo Gonzalez writes: > Hi, my name is Guillermo > I'm trying to setting a popper in a server with FreeBSD 2.2.2 > now it's functioning but i see amessage: > " can't get a cannonical name of the client" > What does it means ? It means the machine which is popping email is not in DNS or /etc/hosts. > How can i solve this ? Add the IP address of the remote host(s) to DNS, /etc/hosts, or hack the offending message out of popper. There is one other way, syslogd can be instructed to ignore this class of popper messages. There might be other messages of interest. So if only this one (right now) is causing problems its easiest to delete it in the source code and leave any other possible messages enabled % su # cd /usr/ports/mail/popper # make patch # cd work/qpopper2.41beta1 # grep -i canonical *.c pop_init.c: /* Get the canonical name of the host to whom I am speaking */ pop_init.c: "(v%s) Unable to get canonical name of client, err = %d", # vi pop_init.c /* Get the canonical name of the host to whom I am speaking */ ch = gethostbyaddr((char *) &cs.sin_addr, sizeof(cs.sin_addr), AF_INET); if (ch == NULL){ #ifdef CANONICAL_BELLYACHE pop_log(p,POP_PRIORITY, "(v%s) Unable to get canonical name of client, err = %d", VERSION, errno); #endif p->client = p->ipaddr; } Add the #ifdef/#endif shown above. Don't worry about CANONICAL_BELLYACHE, just chose something thats not defined. # cd ../.. # pwd /usr/ports/mail/popper # pkg_delete qpopper-2.41b1 # make install # make clean # exit % -- David Kelly N4HHE, dkelly@nospam.hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message