[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#663755: marked as done (libkio5: Tries to speak SMTP over HTTP proxy)



Your message dated Fri, 25 Jul 2014 09:55:16 +0200
with message-id <20140725075516.GE3745@gnuservers.com.ar>
and subject line Re: libkio5: Tries to speak SMTP over HTTP proxy
has caused the Debian Bug report #663755,
regarding libkio5: Tries to speak SMTP over HTTP proxy
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
663755: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=663755
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libkio5
Version: 4:4.7.4-4
Severity: normal

This is somewhat related to #663528 but probably a different issue.
Since 4:4.7.4-4 kmail does not crash anymore (thanks for the quick
fix!), but sending mail does still not work.

I use a proxy PAC file for proxy configuration. The host name of my SMTP
server causes the PAC script to return a proxy (i.e. not DIRECT). Kmail
now tries to send SMTP over that proxy:

PUT smtp://my.smtp.server.example.com:25/send?headers=0&from=sf%40sfritsch.de&to=sf%40sfritsch.de&size=343 HTTP/1.1
Host: my.smtp.server.example.com:25
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (X11; Linux) KHTML/4.7.4 (like Gecko) Konqueror/4.7
Pragma: no-cache
Cache-control: no-cache
Accept: text/html, text/*;q=0.9, image/jpeg;q=0.9, image/png;q=0.9, image/*;q=0.9, */*;q=0.8
Accept-Encoding: gzip, deflate, x-gzip, x-deflate
Accept-Charset: iso-8859-1,*;q=0.5
Accept-Language: de,en-US;q=0.9,en;q=0.8
Content-Length: 327

From: Stefan Fritsch <sf@sfritsch.de>
To: sf@sfritsch.de
Subject: test4
Date: Tue, 13 Mar 2012 21:47:35 +0100
User-Agent: KMail/1.13.7 (Linux/3.2.0-2-amd64; KDE/4.7.4; x86_64; ; )
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-Id: <201203132147.35244.sf@sfritsch.de>


Kmail of course fails with an error message. I have never heard of a
HTTP proxy that supports SMTP. The pac file should not be used for SMTP.
If I add

  if (shExpMatch(url,"smtp:*"))
                  return "DIRECT";

to my pac file, sending mail with kmail works.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages libkio5 depends on:
ii  libacl1             2.2.51-5
ii  libattr1            1:2.4.46-5
ii  libc6               2.13-27
ii  libgcc1             1:4.6.3-1
ii  libkdecore5         4:4.7.4-4
ii  libkdeui5           4:4.7.4-4
ii  libnepomuk4         4:4.7.4-4
ii  libqt4-dbus         4:4.7.4-2
ii  libqt4-network      4:4.7.4-2
ii  libqt4-svg          4:4.7.4-2
ii  libqt4-xml          4:4.7.4-2
ii  libqtcore4          4:4.7.4-2
ii  libqtgui4           4:4.7.4-2
ii  libsolid4           4:4.7.4-4
ii  libstdc++6          4.6.3-1
ii  libstreamanalyzer0  0.7.7-1.1
ii  libx11-6            2:1.4.4-4
ii  libxrender1         1:0.9.6-2

Versions of packages libkio5 recommends:
ii  kdelibs5-plugins  4:4.7.4-4

libkio5 suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Hi,

This may be counter intuitive, but it's working as intended, other users use
this feature (also present in thunderbird) to avoid network limitations. So,
the proxy pac needs to match http:// and ftp:// urls explicitly, instead of
sending all the traffic through the cache proxy.

-- 
"Get your data structures correct first, and the rest of the program will
write itself"
-- David Jones
Saludos /\/\ /\ >< `/

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: