Apache James

Definitions

  • MUA: You construct a message with one or more recipient addresses using a mail user agent (MUA) such as outlook.
  • MTA: Each e-mail client is configured to send mail to a mail transfer agent (MTA). Users can also poll an MTA to fetch e-mail messages sent to the user's address. James is an MTA.
  • POP3: Post Office Protocol (POP) allows users to retrieve messages from the server
  • IMAP: Internet Message Access Protocol allows users to leave emails on the server
  • SMTP: Simple Mail Transfer Protocol is the protocol used to send mail both from the client to the MTA and between MTAs
  • MX Records: E-mail servers rely heavily on DNS and e-mail-specific records called mail transfer (or MX) records
  • JavaMail API: Provides a framework for an MUA.
  • Mailet : Provide a component life cycle and container solution for developing e-mail applications.

Logs

Mail logs are in james_dir/apps/james/logs and phoenix logs in james_dir/logs.

Configuration

  • Add "export JAVA_HOME=/home/xx/jdk1.6.0_16/" to the inside of phoenix.sh if you get JAVA_HOME error.
  • Read: http://wiki.apache.org/james/RunAsService and http://wiki.apache.org/james/JamesQuickstart
  • You can run phoenix.sh instead of run.sh. The first one returns from the execution. You can also make it run as a service.
  • Config file: apps/james/SAR-INF/config.xml
  • Added safe IPs to relay from: <authorizedAddresses>127.0.0.0/8, myhomeip, server_machine_ip/its_mask</authorizedAddresses>
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License