From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,df2ea30625a7455 X-Google-Attributes: gidfee84,public From: Nikola Milutinovic Subject: Re: SENDMAIL problems Date: 1999/01/13 Message-ID: <369C6A5B.86E359F5@ev.co.yu>#1/1 X-Deja-AN: 432078087 Content-Transfer-Encoding: 7bit References: <369B7143.23D6C3F7@bgl.psycha.upenn.edu> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: EPS JP Elektrovojvodina Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 Nicholas Guido wrote: > > I am getting the following message in my mail.log: > > Unable to get canonical name of client, err=1 > > I am not sure what this means or if it is even causing any problems. > The propper canonical name is in the /etc/hosts file and the hostname > command gives the right canonical name. We have had some recent > difficulty with outgoing mail sent outside of the mail server, but I am > not sure iof the cause. Any help is appreciated. This error message is not from sendmail, it is from QPopper - Qualcomm's POP3 server. The "problem" is in that QPopper cannot get hostname for an IP address that contacted it. I say "problem", because it doesn't interfere with QPopper's activity. Only that message appears in the mail.log. How to find out who is causing it? The only way is to modify qpopper source, namely pop_init.c, line 284 FROM: --------------------------------------------------------------------------- pop_log(p,POP_PRIORITY, "(v%s) Unable to get canonical name of client, err = %d", VERSION, errno); --------------------------------------------------------------------------- TO: --------------------------------------------------------------------------- pop_log(p,POP_PRIORITY, "(v%s) Unable to get canonical name of client, IP=%s err = %d", VERSION, p->ipaddr, errno); --------------------------------------------------------------------------- Then rebuild it. What to do then? Add that IP adress to the DNS or /etc/hosts, depending on what you use. Nix.