Bug 46294

Summary: /etc/services has obsolete/bogus information for IMAP
Product: Base System Reporter: Larry Rosenman <ler>
Component: confAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.7-STABLE   
Hardware: Any   
OS: Any   

Description Larry Rosenman freebsd_committer freebsd_triage 2002-12-16 19:20:01 UTC
/etc/services lists ports that are not now valid for IMAP stuff, per below 
news posting from Mark Crispin.


    From mrc@CAC.Washington.EDU Mon Dec 16 13:11:30 CST 2002
    Article: 15971 of comp.mail.imap
    Path: lerami!lerami.lerctr.org!egsner!dfw-feed.news.verio.net!phl-feed.news.verio.net!newsmaster.cc.columbia.edu!panix!news-out.cwix.com!newsfeed.cwix.com!logbridge.uoregon.edu!news.u.washington.edu!140.142.17.34.MISMATCH!news.u.washington.edu!shiva0.cac.washington.edu!mrc
    From: Mark Crispin <mrc@CAC.Washington.EDU>
    Newsgroups: comp.mail.imap
    Subject: Re: basic IMAP questions
    Date: Mon, 16 Dec 2002 10:42:15 -0800
    Organization: Networks and Distributed Computing
    Lines: 23
    Message-ID: <Pine.LNX.4.51.0212161037320.24671@shiva0.cac.washington.edu>
    References: <258BA3CB81631B83.A54FB99329FE21B0.E764716AC1FEA384@lp.airnews.net>
     <atl2e8$odp$1@lerami.lerctr.org>
    NNTP-Posting-Host: shiva0.cac.washington.edu
    Mime-Version: 1.0
    Content-Type: TEXT/PLAIN; charset=US-ASCII
    X-Trace: nntp6.u.washington.edu 1040064137 101764 (None) 140.142.17.39
    X-Complaints-To: help@cac.washington.edu
    In-Reply-To: <atl2e8$odp$1@lerami.lerctr.org>
    Content-Length: 314159 (believe this at your own risk)
    Xref: lerami!lerami.lerctr.org comp.mail.imap:15971
    
    On Mon, 16 Dec 2002, Larry Rosenman wrote:
    > IMAP uses port 143 by default, and
    > imap		143/tcp	   imap2 imap4 #Interim Mail Access Protocol v2
    > imap		143/udp	   imap2 imap4 #Interim Mail Access Protocol v2
    > imap3		220/tcp	   #Interactive Mail Access Protocol v3
    > imap3		220/udp	   #Interactive Mail Access Protocol v3
    > imap4-ssl	585/tcp	   #IMAP4+SSL (use of 585 is not recommended,
    > imap4-ssl	585/udp	   #		use 993 instead)
    > imaps		993/tcp			# imap4 protocol over TLS/SSL
    > imaps		993/udp
    
    Some corrections: there has never been a UDP IMAP.  ports r220 and 585 were
    never used and never should have been allocated.
    
    The correct data is simply:
    
    imap		143/tcp	   imap2 imap4	#Internet Message Access Protocol
    imaps		993/tcp			# imap4 protocol over TLS/SSL
    
    -- Mark --
    
    http://staff.washington.edu/mrc
    Science does not emerge from voting, party politics, or public debate.

Fix: 

Remove offending lines?
How-To-Repeat: See above
Comment 1 Jens Schweikhardt freebsd_committer freebsd_triage 2003-01-04 16:05:59 UTC
State Changed
From-To: open->closed

I've commented out ports r220 and 585 with a reference to this PR. 
Entries for udp along with tcp are, however, custom IANA procedure, 
so I left 143/udp and 993/udp. MFC in two weeks if nothing breaks. Thanks!