Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 161530 - x11-plugins/wmpop3lb fixes
Summary: x11-plugins/wmpop3lb fixes
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Dockapp Team
Depends on:
Reported: 2007-01-11 12:52 UTC by roma1390
Modified: 2007-01-18 09:22 UTC (History)
0 users

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

full recv and STAT if LAST fail patch (wmpop3lb-2.4.2-corect-recv-response-from-server-and-try-STAT-if-LAST-wont-work.patch,5.54 KB, patch)
2007-01-11 12:53 UTC, roma1390
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description roma1390 2007-01-11 12:52:01 UTC
wmpop3lb has some "bugs/nasty things"

1. if we have a "buggy" POP3 server which doesn't support LAST command
wmpop3lb doesn't have fall back to STAT command.

2. incorect receiving responces from server. this short strace log says all.
recv(5, "+OK dovecot ready.", 1024, 0)  = 18
send(5, "USER xxxxx\r\n", 12, 0)        = 12
recv(5, "\r\n", 1024, 0)                = 2
send(5, "quit\r\n", 6, 0)               = 6
recv(5, "+OK\r\n", 1024, 0)             = 5

as you see, after user it recv's "\r\n" which belongs to greeting message.

Reproducible: Always

Steps to Reproduce:
Comment 1 roma1390 2007-01-11 12:53:29 UTC
Created attachment 106544 [details, diff]
full recv and STAT if LAST fail patch

this patch contains:
1. full recv
2. use STAT if LAST fails
3. close socket
Comment 2 Michele Noberasco (RETIRED) gentoo-dev 2007-01-17 11:19:56 UTC
In Portage (as new package revision). Thanks for the submission!