Commit Graph

8 Commits

Author SHA1 Message Date
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 2cafede975 Use session pointer to denote accounts
Instead of the account details, a pointer to the C structure is used in
Lua, stored as light userdata.

The 1.x deprecated configuration format has been removed, partly due to
the above change, and partly because it has been included for long
enough now.
2012-02-14 22:13:15 +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 ca818203f0 Add support for non-ASCII mailbox names
International mailbox names are specified with the IMAP4rev1 modified
UTF-7 encoding, and the conversion is done automatically.
2011-12-06 16:49:36 +01:00
Lefteris Chatzimparmpas a47605cb61 Add variable to set configuration directory
The IMAPFILTER_HOME is checked in order to set a different than the
default $HOME/.imapfilter configuration directory.
2011-10-30 13:31:04 +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 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