Commit Graph

12 Commits

Author SHA1 Message Date
Lefteris Chatzimparmpas c082ae4ddc Parse server responses less strictly
Some servers send responses that are not standards compliant, but
contain extra SPACE, CR or LF characters, and by ignoring those
characters it might be possible to parse their responses.
2012-08-24 23:01:07 +02:00
Lefteris Chatzimparmpas 7dec2a8ec7 Enable extra compiler checks and correct warnings. 2012-08-20 20:22:54 +02:00
Lefteris Chatzimparmpas 2dd1b5ebc6 Forward the BYE response properly all the way up
Some methods didn't return the correct value when a BYE response was
received from the server.
2012-02-27 01:10:56 +01:00
Lefteris Chatzimparmpas 644d6988ed Correct the TRYCREATE functionality
It's better not to continuesly try to create a mailbox, when the server
continues to report TRYCREATE.

When appending messages it failed to create a mailbox when the mailbox
didn't exist and the server responded with TRYCREATE.
2012-02-19 14:58:36 +01:00
Lefteris Chatzimparmpas e907fe5fdf Make OpenSSL a mandatory requirement
There is no point in having SSL/TLS IMAP support as optional, it's as
useful if not more than the the non-encrypted connections.

The Makefile was better organized to make it easier to change some
options during compile.

The SHAREDIR variable passed as configuration option has changed name.
2012-02-19 12:36:44 +01:00
Lefteris Chatzimparmpas 820e9db522 Correct some small details here and there. 2012-02-16 18:49:57 +01:00
Lefteris Chatzimparmpas df1e0c172b Refactor the code that handles the client requests
The functions that send the client requests to the server have been
simplified, as a layer of abstraction has been removed.
2012-02-12 22:00:18 +01:00
Lefteris Chatzimparmpas 18b012c2a2 Improve robustness and recoverability
Many extensive changes were made to better handle network errors, while
on some cases it is now possible to recover from previously fatal
failures.
2012-02-11 22:47:08 +01:00
Lefteris Chatzimparmpas dae82ff5af Fix matching problems in the regular expressions
Past refactoring of the regular expressions caused some failures in the
matching.
2011-12-05 19:40:57 +01:00
Lefteris Chatzimparmpas 5c1f83f7c0 Change debug option to take filename as argument
Don't create a debug file in ~/.imapfilter, but instead create the
specified file.
2011-08-06 14:53:47 +02:00
Lefteris Chatzimparmpas 26cecaed64 Refactor regular expressions syntax. 2011-08-04 21:34:24 +02:00
Lefteris Chatzimparmpas 4fe1a3d649 Change file and directory structure
Move the source code to the src dir, the man pages to the doc dir, and
the example configuration files to the samples dir, and update all
relevant files to reflect the changes.
2011-03-06 13:34:44 +01:00