Mail protocols SMTP and POP3

About

POP3 and SMTP are bundled together, since one alone is useless. The current implementation uses an interface to maintain users and mail files and possible different implementations for this interface. The provided implementations are making use of a SQL server. An implementation for MSSQL and one for MySQL are supplied.

The POP3 protocol conforms to STD53 (RFC1939) and supports the commands: QUIT, STAT, LIST, RETR, DELE, NOOP, RSET, QUIT, TOP, UIDL, USER, PASS. The usage of SSL is strongly recommended, since user names and passwords are transmitted as clear text.

The SMTP protocol conforms to STD10 (RFC2821) and supports the commands: EHLO or HELO, MAIL, RCPT, DATA, RSET, NOOP, QUIT
It also supports the service extension for authentication (RFC2554) and implements the AUTH LOGIN authentiation.

The IMAP protocol conforms to RFC2060 and supports all commands but SEARCH.

Send bug reports or feature requests to BEJY.ORG.

features
  • full and failsafe POP3 implementation
  • full and failsafe SMTP implementation
  • nearly complete IMAP implementation
  • spam protection: SMTP only after POP with login and/or SMTP with explicit login (AUTH LOGIN)
  • forward lists with recursiv forward list resolving
  • notifications to other mail accounts when mail arrives
  • mails for multiple users are stored once
  • unlimited virtual domains
  • concurrent access to the same mailbox
known issues
IMAP: SEARCH command is not yet implemented
IMAP: BODY, BODYSTRUCTURE and ENVELOPE are not supported
IMAP: HEADERS.FIELDS and HEADERS.FIELDS.NOT are treated as HEADER

Configuration

<mail>mail configuration
<bejy>
  ...
  <mail
    mailDbi="de.bb.bejy.mail.MySQLDbi"
    nameserver="123.123.123.123"
    jdbcUrl="JDBC:mysql://..."
    path="mail"
  />
  ...
</bejy>
mailDbi="..."<mail>classname of the mail implementation
nameserver="..."<mail>name of the used nameserver
jdbcUrl="..."the JDBC url for database connect
path="..."path to store the mail files

 
(c) by Stefan Bebbo Franke in 2000-2001, all rights reserved