Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9048 - fetchmail pop3/tls problems
Summary: fetchmail pop3/tls problems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High enhancement (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-12 15:33 UTC by Jens Finkhäuser
Modified: 2006-02-04 06:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to introduce the 'nostls' flag (fetchmail-5.9.14-stls_patch.diff,5.24 KB, patch)
2002-10-12 15:34 UTC, Jens Finkhäuser
Details | Diff
same patch, but for 6.1.1 (fetchmail-6.1.1-stls_patch.diff,4.74 KB, patch)
2002-10-24 09:48 UTC, Jens Finkhäuser
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Finkhäuser 2002-10-12 15:33:48 UTC
hi!

not sure whether you want to consider this a bug or not, but in fetchmail 5.9.14
i get a problem connecting to one specific pop3 server (the others work fine),
where calling STSL terminates the connection. i can replicate the behaviour
using telnet on port 110 on that server, so it's really a server bug, but it
annoys the hell out of me, and i can hardly change the server.

i have a patch that introduces a 'nostls' flag you can use with some servers. i
should warn that i'm not 100% sure that my patch doesn't destroy anything, but
for my setup it works fine (1 server uses the STLS command, one i switch it off
for and two don't list it in their CAPAbilities).

the thing probably also applies to non-ppc versions, but i didn't check.

have fun. i'll submit this to the fetchmail people, maybe they'll introduce it.
Comment 1 Jens Finkhäuser 2002-10-12 15:34:27 UTC
Created attachment 4641 [details, diff]
patch to introduce the 'nostls' flag

see original bug post
Comment 2 Nick Hadaway 2002-10-13 04:45:57 UTC
have you tried fetchmail-6.1.0 which is currently unmasked in portage?
Comment 3 Jens Finkhäuser 2002-10-13 17:00:19 UTC
hello again!

erm, when i got the problem i tried to emerge the build but it said it was still
masked... haven't tried since then. i suppose i could use ebuild to merge it.
will try tomorrow.
Comment 4 Nick Hadaway 2002-10-14 11:35:03 UTC
emerge rsync
emerge fetchmail

When you do an rsync... you should find the new fetchmail unmasked
Comment 5 Jens Finkhäuser 2002-10-14 15:46:58 UTC
hi again!

the new fetchmail wasn't unmasked on my system (at least emerge fetchmail built
5.9.14), but i built the new one with ebuild merge. as i suspected, it has the
same problems (i.e. 6.1.0). i'm still using my patched 5.9.14 now... i'll write
the people hosting the mailserver in question, maybe it's a known bug there...
hopefully.
Comment 6 Nick Hadaway 2002-10-23 16:33:34 UTC
6.1.1 has been relased into portage.  Not to bore you with the same question 
again, but can you let me know if this new version fixes the problem? 
Comment 7 Jens Finkhäuser 2002-10-24 09:47:40 UTC
hi!

yeah, same problems. i posted my patch on the fetchmail-friends mailinglist, but
to no avail (didn't appear in the archives...) the patch works well enough on
the 6.1.1 tree, but i'll include a new patch here, in case you're interested.

have fun,
jens
Comment 8 Jens Finkhäuser 2002-10-24 09:48:40 UTC
Created attachment 4972 [details, diff]
same patch, but for 6.1.1
Comment 9 Nick Hadaway 2002-11-06 02:11:30 UTC
Have you gotten any responses from fetchmail maintainers regarding your patch?
Comment 10 Jens Finkhäuser 2002-11-11 08:28:48 UTC
hello. no, i'm sad to say that there was no response so far.
Comment 11 Nick Hadaway 2002-11-23 09:42:50 UTC
And now fetchmail-6.1.2 is available with supposedly some TLS fixes... again...
it work for you?  any response regarding your patch?
Comment 12 Nick Hadaway 2003-01-16 13:18:30 UTC
And of course... a new version has been released again.  Please let me know if 6.2.1 works or contains your workaround :)

The sad part of this story is that on the fetchmail site he welcomes code additions to fetchmail.  You would think that the least you would get is a response... 
Comment 13 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:20:03 UTC
db fix
Comment 14 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:24:56 UTC
db fix
Comment 15 Jens Finkhäuser 2003-04-04 03:36:49 UTC
sorry for not answering so long, my net access was limited. yes, 6.2.2 does fix my problem, though it does not seem to be my patch that fixes it. *shrugs* as long as it works... :)
Comment 16 Jens Finkhäuser 2003-05-26 09:46:15 UTC
hi!

i know it's been some time, but i'd like to add a little something... i've recently updated my system, again with the same bug. a quick check (after a few days of little email traffic) confirmed that fetchmail had been downgraded to 5.9.14 again - 6.2.2 works fine on my ppc, and i'd like to propose that it at least goes ~ppc

take care,
jens