@Mail Exim Configuration
1 Introduction: What is Exim
2 Configuring Exim for @Mail
2.1 Verify configuration
2.2 How Exim receives emails
3 Contact Information
1 Introduction: What is Exim?
Exim is an SMTP (Simple Mail Transfer Protocol) Server for UNIX. Exim
is a replacment for Sendmail. Exim is vastly improved over Sendmail
in many ways. The most notable is ease configuration.
2 Configuring Exim for @Mail
If Exim is not currently installed, download and uncompress the tar
file. Make sure to edit the Local/Makefile and declare your Spool directory
and all your needed options.
Open the /usr/exim/configure file.
If the main configuration section:
Change the variable declarations to match your system as described
on the file. Make sure that you add your domains to /etc/localdomains
At the bottom of the main configuration section, add the following.
# Change your webserver username
trusted_users = nobody
ATMAIL_HOME = /usr/local/atmail/
ATMAIL_SAVEEMAIL = /www/atmail3/saveemail.pl
ATMAIL_UID = nobody
ATMAIL_GID = nobody
In the Transports configuration section, add the following:
atmail:
driver = pipe
command = ATMAIL_SAVEEMAIL ${lc:$local_part}@$domain
current_directory = ATMAIL_HOME
home_directory = ATMAIL_HOME
user = ATMAIL_UID
group = ATMAIL_GID
At the top of the Directors section, add the following.:
all:
driver = smartuser
transport = atmail
If you are running the @Mail POP3 server and want to use the POP before SMTP method to add accepted relay domains to your allowed hosts, add the following line to your Exim configuration. See the POP3 section of the docs for more information on running the @Mail POP3 Server
host_accept_relay = localhost : hostname : /usr/exim/relay-access
2.1 Verify the configure file and Start / Restart Exim.
Verify the configure file.
root# /usr/exim/bin/exim -C /usr/exim/configure -bV
You should receive similar to:
Exim version 3.32 #4 built 27-Feb-2002 07:38:43
Copyright (c) University of Cambridge 2001
If you recieve any errors, check your syntax in the configure file.
root# killall -HUP exim
or, if exim is not running:
root# /usr/exim/bin/exim -d2 -bd -q30m
Now open @Mail in your webbrower, go to the webadmin and configure
the sendmail binary for exim. (using the command above, without '-d2'
for debugging)
root# tail -f /var/spool/exim/log/mainlog
To see if there are any errors.
2.2 How @Mail receives emails
By configuring the exim with a new rule, all emails to the destination
hostname are sent to the @Mail saveemail.pl script for delivery.
The saveemail.pl script receives the recipient of the email via the
command line , the headers and body of the message are sent via STDIN.
3 Contact Support
For additional support, please visit our web site, http://webbasedemail.com
Or send us an eMail : support@CalaCode.com
|