Commit Graph

114 Commits

Author SHA1 Message Date
Axel Dörfler
5d12f64c57 I have no idea why it would be a good idea to call ReceiveLine() 200000 times if it didn't
deliver a line back, but I've changed it such that it only does this for R5.
I've enlarged the timeout back to 60 seconds, as I guess that could have been the culprit.
Tested here, and it at least still works.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-31 16:41:06 +00:00
Axel Dörfler
b1c07d8165 * Fixed dumb uses of select() with a hardcoded number of file descriptors.
* Decreased the timeout from 60 to 30 seconds; somehow it seems it waits more
  than just once this time in case something fails over here.
* Cleaned up the messy SSL patch.
* Made the whole thing a bit more compliant to our coding style.
* Got rid of the useless pop3_error() macro.
* Fixed error reporting in ReceiveLine().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-31 16:00:26 +00:00
Hugo Santos
7015d5deaa couple fixes to make MDR addons build with gcc 4.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 10:57:27 +00:00
Ingo Weinhold
1acbe440b8 Removed the obsolete second argument ("relpath") of the Addon rule and
shuffled "isExecutable" to the end. The new order favors the common use
cases. Adjusted all Addon invocations and while at it also removed
separate LinkAgainst invocations.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-07 01:27:19 +00:00
DarkWyrm
870cb85fd0 Added both power and ease-of-use to the Match Header addon. A regular case-sensitive string search is done unless REGEX: appears at the beginning, in which case a full-blown regular expression search is done
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-02 21:53:44 +00:00
DarkWyrm
5618c4e835 Removed another SSL-related timeout crash
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-20 21:09:28 +00:00
DarkWyrm
a50c8842ae Accidentally introduced a bug for non-SSL POP accounts, which this fixes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19558 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-18 23:24:47 +00:00
DarkWyrm
6c05781006 This *should* squish the SSL bug which would crash the mail daemon on connection timeouts
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19557 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-18 20:14:08 +00:00
DarkWyrm
b998307ce0 Some style updates and fixed the layout code -- things look a *lot* better @ 12 point (and probably higher)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-16 23:16:58 +00:00
DarkWyrm
b9a3b1c414 Reverted partial size checkbox simplification change and made according GetPreferredSize changes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19506 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-14 00:10:03 +00:00
DarkWyrm
183a6c2121 Label divider fixes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 23:05:06 +00:00
DarkWyrm
2e44d8ba2d Classify large messages as being bigger than 100Kb (which is large for dial-up users) and simplify by removing the file size specifier
Improved font sensitivity


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19501 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 22:38:34 +00:00
DarkWyrm
32f5c59f50 Slightly simplified label
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-09 03:52:44 +00:00
DarkWyrm
32f2d12260 Slightly simpler label
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-09 03:51:55 +00:00
DarkWyrm
b82780cfed Remove 2 options which are not needed from the settings view
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-09 03:38:11 +00:00
DarkWyrm
fa4cb73d7b Usability tweaks to labels
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-09 02:23:19 +00:00
DarkWyrm
ccf795b406 Another small label tweak
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-08 01:48:33 +00:00
DarkWyrm
595f30a33f Small label tweak
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-08 01:45:31 +00:00
Alexander G.M. Smith
9c91a5f9d6 Now compiles for both Haiku and R5 targets. Also bumped the version
number to 3.0.3, just in case we want to do a new release soon with
this slightly better working version.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-05 22:51:31 +00:00
Alexander G.M. Smith
7f9c73dbd5 Updated mail libmail.so compile and IMAP add-on to use the new build system
and work under both R5 and Haiku (didn't test Bone/Dano but they should work
too).  Still have SMTP, POP3 and a few other things to fix up, but ran out
of time again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-02 03:46:50 +00:00
Ingo Weinhold
0755123f83 Fixed most of the problems when building the MDR package for target R5.
Some add-ons don't build, since they include non-R5 networking headers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-31 14:51:46 +00:00
Ingo Weinhold
338b8dc301 Merged changes from branch build_system_redesign at revision 14573.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-29 16:27:43 +00:00
Oliver Tappe
dd7602bbec fixed off-by-one error in DIGEST-MD5 authentication mechachnism which caused failure with some servers
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-21 13:27:22 +00:00
Alexander G.M. Smith
c4222279ba Spam database manager can add itself to the package.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13958 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-14 01:47:34 +00:00
Alexander G.M. Smith
770fd09b6e Half way through adding some more BeMail related utilities - they use
libmail.so which isn't backwards compatibile so they need recompiling
for Haiku - thus better to include them here.  Also want spam levels
of 1E-6 to be visible for genuine messages.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13955 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-13 23:43:41 +00:00
Alexander G.M. Smith
d9f9a4ac41 Added the resources and file type associations, changed the application
signature and otherwise made the spam detection system work properly again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13952 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-13 19:31:42 +00:00
François Revol
1903443af7 revert last change, as the one before seems to work and doesn't require the select trick.
never assume a bug in a release isn't fixed in HEAD :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13891 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-03 13:27:50 +00:00
François Revol
7c993b4bf1 makes some strange smtp server like 1und1.de to work. Those send the helo reply in 2 parts, the AUTH=PLAIN... being in the 2nd one which we didn't read... ending up to no login.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13889 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-03 12:07:34 +00:00
Bruno G. Albuquerque
7359ef201a Got SMTP to work with some broken SMTP servers.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-15 13:57:03 +00:00
Nathan Whitehorn
a8e03a70ea Why were we using DOS newlines?
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-01 02:23:21 +00:00
Nathan Whitehorn
e4b4e8f554 Included Oliver Tappe's DIGEST-MD5 support and fixes to the CRAM-MD5 mechanism.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11176 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-31 23:15:51 +00:00
Nathan Whitehorn
8408ba055b Fixed SMTP module to give a real hostname in HELO/EHLO
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 00:14:58 +00:00
Nathan Whitehorn
7279b97ee9 Fixed an amazingly moronic mistake that kept anything from working with SSL support compiled in.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-16 02:06:42 +00:00
shatty
4dda1ae47d steps towards ssl for smtp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-16 00:32:54 +00:00
Nathan Whitehorn
bac0321de0 Eliminated some unnecessary code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-15 20:45:13 +00:00
Nathan Whitehorn
90ccec14e5 Fixed net_server compilation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-07 03:41:38 +00:00
Nathan Whitehorn
69d6550b12 Fixed the spam filter so it works correctly now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-07 01:14:05 +00:00
shatty
97306f4286 re-ordered initializers to match declaration order
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 08:41:23 +00:00
shatty
b508187e55 remove unused variables
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 08:38:07 +00:00
shatty
7e8ae0673d address compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 08:36:49 +00:00
shatty
a16c055cb0 address compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 08:27:35 +00:00
shatty
7c069d221a address compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 05:09:18 +00:00
shatty
6040be9931 use NETWORK_LIBS for linking, define BUILDING_R5_LIBNET if necessary
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-20 21:10:54 +00:00
Nathan Whitehorn
919ccaea46 Added AGMS's excellent spam detection software. Still some weirdness with the configuration interface from E-mail prefs.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-12 02:55:05 +00:00
Nathan Whitehorn
985f3b5004 Misplaced the R5 Daemon filter in the package.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9930 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 18:04:49 +00:00
shatty
3df3da2ccc use BONE_COMPATIBLE variable instead of TARGET_PLATFORM to control linking
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9914 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 10:13:34 +00:00
Bruno G. Albuquerque
b6aeabe4f6 AGMS Spam Filter.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 22:23:26 +00:00
Bruno G. Albuquerque
3b672e1c5e Added Spam Filter.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 22:22:16 +00:00
Nathan Whitehorn
fcdc48f1a7 Fixed a nasty bug I introduced when I fixed IMAP that made it impossible to send mail. Apparently I don't send that much.... it's been in there for a good week or so.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 17:19:06 +00:00
Nathan Whitehorn
a8574e9d75 Fixed a crashing bug that would occur when you switched between preferences tabs while adding a Match Header filter.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 01:39:17 +00:00
Nathan Whitehorn
f12d422d6a Fixed POP3 SSL build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9548 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-27 21:55:16 +00:00
shatty
5486bd24bf fitlers -> filters
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9489 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-24 19:35:16 +00:00
Nathan Whitehorn
073e50712a Finally, finally fixed the IMAP zombie chain bug. OpenSSL, as it turns out kills whatever your current thread is if you try to deallocate a connection on an invalid socket. Without saying anything. Which is annoying.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-19 17:58:55 +00:00
shatty
cb14d59346 patches for building for different targets
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-18 02:31:12 +00:00
Nathan Whitehorn
c60f83369f Renamed BMailRemoteStorageProtocol to BRemoteMailStorageProtocol. Because I like it better. This should complete the API modifications from the Haiku import.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-16 17:21:26 +00:00
Nathan Whitehorn
a622d7bb47 Fixed the everlasting IMAP crash-on-timeout bug and the everlasting zombie-chain bug. This eliminates all known bugs in the MDR network layer.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9373 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-16 00:29:32 +00:00
Nathan Whitehorn
b1cec3747c Fixed SSL compilation, a compiler warning, and eliminated a crashing bug that would happen on connection timeouts or failures.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-14 21:03:42 +00:00
Nathan Whitehorn
8cd742e41b Search and replace failed me -- system filters were being placed in the wrong directory. Now fixed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 17:35:02 +00:00
Nathan Whitehorn
45abc8d70d Added SSL compilation support by defining USESSL as an environment variable.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-30 21:24:20 +00:00
Nathan Whitehorn
ebab3a7e9c Fixed some library dependency issues that broke compilation on systems that don't have Haiku MDR installed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-27 19:47:06 +00:00
Nathan Whitehorn
0d21a7f43f Added packaging for the mail daemon, added build support for SSL mode (although it currently relies on manually uncommenting things in the Jamfile). PPP state detection still broken.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9025 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-21 20:23:32 +00:00
Nathan Whitehorn
7835571124 Made POP3 build properly with SSL turned off.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9024 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-21 20:21:08 +00:00
Nathan Whitehorn
fa84ff9eb1 Forgot some files in the MDR import.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9017 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 22:34:03 +00:00
Nathan Whitehorn
f7215ac853 Imported MDR. Some code still not entirely functional -- I haven't been able to figure out how to detect SSL, so IMAP and POP have it turned off. PPP auto-detect is also not functional at the moment. Other than that, it seems to work beautifully. Packaging will come later.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9016 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 22:31:50 +00:00