From casillas@stanford.edu  Fri Sep 22 15:35:07 2000
Return-Path: <casillas@stanford.edu>
Received: from smtp.Stanford.EDU (smtp.Stanford.EDU [171.64.14.23])
	by hub.freebsd.org (Postfix) with ESMTP id BD4B037B423
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 22 Sep 2000 15:35:06 -0700 (PDT)
Received: from ling-pc6.stanford.edu (ling-pc6.Stanford.EDU [171.64.42.28])
	by smtp.Stanford.EDU (8.9.3/8.9.3) with ESMTP id PAA29979
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 22 Sep 2000 15:35:06 -0700 (PDT)
Received: by ling-pc6.stanford.edu (Postfix, from userid 1000)
	id 7F9A61CFF; Fri, 22 Sep 2000 15:35:04 -0700 (PDT)
Message-Id: <20000922223504.7F9A61CFF@ling-pc6.stanford.edu>
Date: Fri, 22 Sep 2000 15:35:04 -0700 (PDT)
From: casillas@stanford.edu
Reply-To: casillas@stanford.edu
To: FreeBSD-gnats-submit@freebsd.org
Subject: fetchmail KPOP does not work
X-Send-Pr-Version: 3.2

>Number:         21486
>Category:       misc
>Synopsis:       fetchmail KPOP does not work
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 22 15:40:01 PDT 2000
>Closed-Date:    Thu Oct 12 10:16:09 PDT 2000
>Last-Modified:  Thu Oct 12 10:16:41 PDT 2000
>Originator:     Luis Casillas
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
Stanford University
>Environment:

	FreeBSD ling-pc6.Stanford.EDU 4.1-STABLE FreeBSD 4.1-STABLE #2: Fri Sep 22 14:24:41 PDT 2000     root@ling-pc6.Stanford.EDU:/usr/src/sys/compile/LING-PC6  i386

	Default Kerberos 4 installed

>Description:

	Fetchmail fails to fetch mail via KPOP.  My .fecthmailrc is as
follows:


defaults
	keep
#	fetchall


poll	casillas.pobox.stanford.edu
	protocol KPOP
	user casillas
	to casillas


This .fetchmailrc works in another system.  However, on my FreeBSD it
doesn't:

$ fetchmail -v -v
fetchmail: 5.5.2 querying casillas.pobox.stanford.edu (protocol POP3) at Fri, 22 Sep 2000 15:29:43 -0700 (PDT)
fetchmail: fetchmail: getaddrinfo(casillas.pobox.stanford.edu.kpop)
fetchmail: Query status=2 (SOCKET)
fetchmail: Deleting fetchids file.
fetchmail: normal termination, status 2
fetchmail: Deleting fetchids file.

Somehow, .kpop is appendend to the hostname to query.

I built this fetchmail from the ports collection. This is the output
of fetchmail -V:

$ fetchmail -V
This is fetchmail release 5.5.2+POP2+RPA+SDPS+SSL+INET6+NLS
FreeBSD ling-pc6.Stanford.EDU 4.1-STABLE FreeBSD 4.1-STABLE #2: Fri Sep 22 14:24:41 PDT 2000     root@ling-pc6.Stanford.EDU:/usr/src/sys/compile/LING-PC6  i386
Taking options from command line and /home/casillas/.fetchmailrc
Idfile is /home/casillas/.fetchids
Fetchmail will forward misaddressed multidrop messages to casillas.
Options for retrieving from casillas@casillas.pobox.stanford.edu:
  True name of server is pobox1.Stanford.EDU.
  Protocol is KPOP with Kerberos IV authentication (using service kpop).
  Kerberos V4 preauthentication enabled.
  Server nonresponse timeout is 300 seconds (default).
  Default mailbox selected.
  Only new messages will be retrieved (--all off).
  Fetched messages will be kept on the server (--keep on).
  Old messages will not be flushed before message retrieval (--flush off).
  Rewrite of server-local addresses is enabled (--norewrite off).
  Carriage-return stripping is disabled (stripcr off).
  Carriage-return forcing is disabled (forcecr off).
  Interpretation of Content-Transfer-Encoding is enabled (pass8bits off).
  MIME decoding is disabled (mimedecode off).
  Idle after poll is disabled (idle off).
  Nonempty Status lines will be kept (dropstatus off)
  Delivered-To lines will be kept (dropdelivered off)
  Messages will be SMTP-forwarded to: ling-pc6.Stanford.EDU (default)
  Recognized listener spam block responses are: 571 550 501 554
  Single-drop mode: 1 local name(s) recognized.
  No UIDs saved from this host.


>How-To-Repeat:

	Compile the fetchmail-5.5.2 port, use the above .fetchmailrc.

>Fix:

	Not known.


>Release-Note:
>Audit-Trail:

From: Luis Casillas <casillas@stanford.edu>
To: freebsd-gnats-submit@FreeBSD.org
Cc: casillas@stanford.edu
Subject: Re: ports/21486: fetchmail KPOP does not work
Date: Fri, 22 Sep 2000 22:36:48 -0700

 I found the fix for my PR.
 
 Fetchmail depends on there being a line for kpop on /etc/services:
 
 kpop            1109/tcp   # Pop with Kerberos
 
 Adding this line makes the problem go away.
 
 ---
 Luis Casillas
 Department of Linguistics
 Stanford Univeristy
 
Responsible-Changed-From-To: freebsd-ports->freebsd-bugs 
Responsible-Changed-By: ade 
Responsible-Changed-When: Thu Oct 12 10:10:27 PDT 2000 
Responsible-Changed-Why:  
Not a ports issue.  See the audit-trail for a fix, requiring a 
one line addition to /etc/services 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21486 
State-Changed-From-To: open->closed 
State-Changed-By: johan 
State-Changed-When: Thu Oct 12 10:16:09 PDT 2000 
State-Changed-Why:  
Superseeded by PR 21551. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=21486 
>Unformatted:
