AeroMail: Configure
This is the AeroMail Configuration Page. To set up AeroMail for your system, proceed as follows:
  1. If you are installing AeroMail for the first time, either make the AeroMail directory writable by the web server's user, or create an empty, writable config.inc.php.
  2. If you are upgrading from a previous version of AeroMail:
    • Copy the file config.inc.php or config.inc from your old installation to AeroMail's directory.
    • If the file is called config.inc, rename it to config.inc.php.
    • Make sure you have a backup of config.inc.php.
    • Make sure config.inc.php is writable by the web server's user.
  3. Fill in the form below.
  4. When you press the 'Configure' button, a new config.inc.php will be written. The changes will be reflected in the form immediately; if you made changes e.g. to the colours, this page will be coloured differently.
  5. When you are done making changes, choose 'Go to AeroMail'.
  6. If all is working properly, make sure you make the file config.inc.php "read-only".
  7. For extra safety, remove configure.php from the AeroMail directory on your web server.

Go to AeroMail



AeroMail - a web-based e-mail client written in PHP
Copyright (C) 2000 Mark Cushman


This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.


This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.


You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

Server configuration

The name at the top of the window.
PROG_NAME:

The server name or IP address of the IMAP server.
IMAP_SERVER:

TCP port where the IMAP server is running - default is 143, SSL is 993
IMAP_PORT:

IMAP options may be necessary when connecting to an SSL-enabled server.
IMAP_OPTS:

Server type. Use 'Cyrus' if you have a Courier IMAP server.
IMAP_SERVER_TYPE:

Directory for folders to be stored - applies to UWash servers only.
If server type is Cyrus, this var is not used.
PROG_DIR:

Use cookies to login (and explicitly logout). Set to false to use
Basic Authentication.
USE_COOKIES:

Session save path: where your cookies; session data is stored. This should
be a secure directory that your users cannot access. Only used when
USE_COOKIES is on.
SESSION_SAVE_PATH:

URL to redirect to when a user clicks on cancel when logging in.
SERVER_REDIR:

Should AeroMail decide (force) what the user's e-mail address is, or should
AeroMail let sendmail and genericstable figure it out?
FORCE_FROM:

If you are using the FORCE_FROM, AeroMail will complete your e-mail
address with your IMAP_SERVER if necessary.
If your mail domain is different than the IMAP_SERVER setting above,
you can define a server suffix. AeroMail will send as user@SERVER_SUFFIX
instead of user@IMAP_SERVER.
SERVER_SUFFIX:

If you see two INBOX's in your folder list, change the const below to true.
NO_INBOX_EXPLICIT:

If you see headers and double line endings in mail sent from AeroMail,
or if attachments don't work, change this setting to true. qmail and
nullmailer have this problem.
BAD_CRLF:


Extra features

Include possibility to make, delete and use folders.
Set to false if you simply want to read and answer mail, e.g. when you
use POP at home and AeroMail when on the move.
USE_FOLDERS:

Include possibility to write messages.
Set to false if you only want to read messages on the web.
WRITE_MESSAGES:

Include possibility to delete messages.
Setting to false disables deletion of messages.
DELETE_MESSAGES:

Folder to store sent messages in, e.g. "Sent".
Leave empty to disable sent mail storage.
SENT_MAIL:

Folder to store deleted messages in, e.g. "Trash".
Leave empty to disable deleted mail storage.
TRASH:

Include possibility to show e-mail headers.
If false, you can only read the message text.
SHOW_HEADERS:

Spam fighting:

If the subject matches this regular expression, mark message as spam.
This is useful if you have a mail server that can flag spam for you.
Leave empty if you don't want to use this feature.
SPAM_REGEXP:

If the message contains this header, mark message as spam.
This is useful if you have a mail server that can flag spam for you.
Leave empty if you don't want to use this feature.
SPAM_HEADER:

Colon-separated list of spam blacklisters or open relay blacklisters. Keep
the list short, and put the fast ones first. Leave empty if you don't want
probable spam marked.
Example value:

"bl.spamcop.net:list.dsbl.org:dnsbl.njabl.org:relays.visi.com"

More spam blacklisters: bl.spamcop.net, list.dsbl.org, dnsbl.njabl.org,
blackholes.five-ten-sg.com, dialups.visi.com, relays.ordb.org,
blackholes.mail-abuse.org, dialups.mail-abuse.org, relays.mail-abuse.org

Note: some blacklisters are *very* aggressive, check their sites for their
policy.
SPAM_BLACKLISTS:

Automatically move spam to this folder (it will never appear in your
INBOX)
Leave empty if you want to delete manually.
JUNK_MAIL:

Maximum time you want to wait for spam-flagging. When the connection
to spam blacklists is slow, this may hang AeroMail for a long time.
Setting this time will interrupt spam flagging.
Note that the current lookup will be finished.
MAX_SPAMFLAG_SECONDS:

Maximum time you want to wait for spam-flagging for each call. When
a call takes longer than this, the spam blacklist is considered down.
Don't set this value to low, as it may disable checking altogether.
Don't set it too high either, as a slow host may limit the number
of messages considered.
MAX_SPAMFLAG_SECONDS_PER_CALL:

User interface

Change the path to this file to the desired theme file
THEME_FILE:

Set this to your template file.
HTML_TEMPLATE:

Default number of messages to display per screen
MSG_COUNT:

Should AeroMail display the To: field when listing messages in
folders other than Sent Items?
DISPLAY_TO_FIELD:

When displaying a folder list, should we display both the "personal"
name and the email address when available, or just the personal name?
DISPLAY_FULL_ADDR:

If mail is addressed to many people, should AeroMail display the full
list in the overview or just some adresses?
Set to 0 for the full list.
MAX_DISPLAY_ADDRESSES:

Should AeroMail force word-wrap when displaying wide plaintext messages?
FORCE_WRAP:

AeroMail can color text messages, by giving quoted lines and signatures
a different color. Set this empty if you don't want colorization.
Else set it to a colon separated string. The first color is for signatures;
The next list of colors are for quote level [1 .. x]. Colours should be
HTML colours, either by name or by hex code (e.g. #003399). Quoted lines
with a deeper level than the last color specified will be black.
MESSAGE_COLORS:

Multi-message view allows you to check all messages you want to read and
then view them in one window. Set to false if you don't want this feature.
MULTIMESSAGE:

Language

Change the path to this file to the desired language file
LANGUAGE_FILE:


Warning: pressing 'Configure' will rewrite config.inc.php based on the contents of config.inc.php.dist, if that exists. If you previously edited config.inc.php directly and changed anything else than option values, those changes will be lost.
AeroMail