Projects / BEJY


BEJY is a modular server application. It is packaged, by default, as a Web application container and mail server with SSL. It has functionality similar to inetd, and has some helper classes/functions to ease the implementation of new protocols. It provides a generic multithreaded TPC/IP server implementation with optional SSL support, covering the complete connection and thread management. Each supported service provides its protocol implementation. The current version comes with HTTP, SMTP, POP3, and IMAP protocol implementations. The HTTP protocol implementation also contains a servlet engine, a JSP 1.2 engine, a handler to invoke CGI, and other useful things. The mail protocols require a database using JDBC, as MySQL, MSSQL, and others.

Operating Systems

Recent releases

  •  23 Jul 2013 12:18

    Release Notes: This is a maintenance release. The thread scheduler now uses a "sample and hold" mechanism to keep more waiting threads for a while. The HTTP implementation now supports a "not partial" transfer mode. The chunked transfer mode has been fixed. Email Login now has an increasing delay after login errors. IMAP SEARCH has been fixed to return wanted results, instead of all.

    •  25 Jun 2013 09:04

      Release Notes: This maintenance release focuses on the mail component. IMAP now supports AUTHENTICATE PLAIN and IDLE. Range and date handling were fixed in SEARCH. The SMTP part now supports grey listing. HTTP now supports FastCFG and compressed static resources. Issues in the forward/redirect part were fixed.

      •  19 Aug 2012 20:32

        Release Notes: This maintenance release focuses on support for TLS1.1 and TLS1.2 (the example ships a new cert using rsaSha), adds a fallback feature to redirect if it's not an SSL/TLS client (useful to use SSH over 443), improves the decision of when to forward an email message or to send a note to avoid postmaster ping pong (if a forward/note is blocked), adds the proprietary macro %{l} to spf for more convenient filters in extendSpf.xml, fixes reply handling for 301, 302, 303, and 304 in the redirection proxy, and fixes handling of chunked HTTP responses.

        •  17 Sep 2011 10:28

          Release Notes: This maintenance release adds environment changes (the minimum Java version is now J2SE 5.0, the build system is now BNM) HTTP/JSP changes (the JSP compiler uses a better algorithm to search the Java classes for javac), and MAIL/SMTP changes (support for extendSpf.xml and overrideSpf.xml to add missing/override bogus SPF records).

          •  10 Apr 2010 12:30

            Release Notes: This is a maintenance version. HTTP cookies with the same name were added instead of being replaced, resulting in multiple cookies, which caused problems with logout/login mechanisms. This was fixed. A rare race condition that could cause 100% load while unsuccessfully sending an email message was fixed. SPF applied the mx to the wrong domain, thus valid senders were blocked. This was fixed. Now only direct subdomains are accepted as sender for GUESSPERMISSION.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.