<?php

//    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 config section
//-----------------------

// controls the name at the top of the window
define('PROG_NAME', "AeroMail");

// directory for folders to be stored - applies to UWash servers only
// if server type is Cyrus, this var is not used
define('PROG_DIR', "~/");

// this is the server name or ip address of the IMAP server
define('IMAP_SERVER', "localhost");

// server type should either be "Cyrus" or "UWash"
define('IMAP_SERVER_TYPE', "UWash");

// tcp port where the IMAP server is running - default is 143, SSL is 993
define('IMAP_PORT', "143");

// IMAP options may be necessary when connecting to an SSL-enabled server
define('IMAP_OPTS',"");
//define('IMAP_OPTS',"/imap");
//define('IMAP_OPTS',"/imap/ssl");
//define('IMAP_OPTS',"/imap/ssl/novalidate-cert");

// url to redirect to when a user clicks on cancel when loggin in
define('SERVER_REDIR', "http://aeromail.nicolaas.net/");

// default number of messages to display per screen
define('MSG_COUNT', 25);

// should AeroMail decide what the user's e-mail address is, or should
// AeroMail let sendmail and genericstable figure it out (0=no 1=yes)
define('FORCE_FROM', 1);

// If you are using the FORCE_FROM but your path to your mail domain is
// different than the IMAP_SERVER setting above, you can define a server 
// suffix. It will send as user@SERVER_SUFFIX instead of user@IMAP_SERVER
// define('SERVER_SUFFIX',"mydomain.com");

// Should AeroMail display the To: field when listing messsages in 
// folders other than Sent Items? 0 is no, 1 is yes (default)
define('DISPLAY_TO_FIELD',1);

// should AeroMail force word-wrap when displaying plaintext messages?
// 0 to disable. Default is 81 characters.
define('WRAP_AT_COLUMN',81);

// When displaying a folder list, should we display both the "personal"
// name and the email address when available, or just the personal name?
define('DISPLAY_FULL_ADDR',0);

// If you see two INBOX's in your folder list, change the line below to 1.
define('NO_INBOX_EXPLICIT',0);

//-----------------------
// extra features
//-----------------------

// include possibility to make, delete and use folders.
// set to 0 if you simply want to read and answer mail, e.g. when you
// use POP at home and this when on the move.
define('USE_FOLDERS', 1);

// default folder to store sent messages in
// set to 0 to disable sent mail storage
define('SENT_MAIL', "Sent mail");

// default folder to store deleted messages in
// set to 0 to disable deleted mail storage
define('TRASH', "Trash");

// spam blacklists
// colon-separated list of spam blacklisters or open relay blacklisters.
// Keep the list short, and put the fast ones first.
// set to 0 if you don't want probable spam marked
//define('SPAM_BLACKLISTS', "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");
define('SPAM_BLACKLISTS', "bl.spamcop.net:list.dsbl.org:dnsbl.njabl.org");

//------------------------
// user interface section
//------------------------

// change the path to this file to the desired theme file
include("themes/default.theme.inc");
// Set this to your template file
define('HTML_TEMPLATE', "themes/default.template.inc");

//------------------
// language section
//------------------

// change the path to this file to the desired language file
include("lang/en.lang.inc");

?>
