Bug 257197 - support port-numbers for sieve servers larger than 2000
Summary: support port-numbers for sieve servers larger than 2000
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: 4.5
Platform: openSUSE Linux
: NOR minor
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-17 22:19 UTC by Julian Bäume
Modified: 2010-11-23 12:40 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Bäume 2010-11-17 22:19:12 UTC
Version:           4.5 (using Devel) 
OS:                Linux

The official port for sieve is 4190. The port 2000 has been used by some software (like old kolab versions) but now it had to change, because 2000 is used by something else. At the moment I have to enter the complete url by hand, because I can’t choose any ports larger than 2000. I had a look into the sources and indeed, the maximum value for the SpinBox is set to 2000. This should be changed to 65535, like if’s done for the other port input-boxes.

The files that need to be changed are trunk/KDE/kdepim/resources/imap/setupserverview_*.ui

May be, in time, the default value should also be changed from 2000 to 4190. See  http://www.iana.org/assignments/port-numbers for more details. My version of /etc/services mentions the old sieve port like this:

% cat /etc/services|grep sieve
# Port 2000 is illegal used by sieve
sieve           2000/tcp   # Cyrus SIEVE

Reproducible: Always

Steps to Reproduce:
open configure dialog for imap-server
go to filter page
check "server supports sieve"
try to change the port number to any larger value than 2000

Actual Results:  
doesn’t work

Expected Results:  
i can enter the official port-number
Comment 1 Torgny Nyblom 2010-11-23 12:40:50 UTC
SVN commit 1199967 by tnyblom:

Make sure that any valid port number can be used with sieve.

BUG: 257197


 M  +1 -1      setupserverview_desktop.ui  
 M  +1 -1      setupserverview_mobile.ui  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1199967