diff -ruN ../am222-srcfix/changes ./changes --- ../am222-srcfix/changes 2004-09-09 23:45:47.000000000 -0400 +++ ./changes 2004-09-09 23:49:32.000000000 -0400 @@ -124,3 +124,32 @@ * Some HTML tweaks * Made whole line bold for new messages, through CSS * Limit spam check to unread messages for speed + +Version 2.23 - Laird Bedore + +Functionality: +* Added support and configuration for SSL-encrypted IMAP servers +* Enhanced FORCE_FROM to work with systems where the mail domain is + different than the IMAP_SERVER value - can optionally configure the + SERVER_SUFFIX variable, if different than IMAP_SERVER +* Enhanced local addressing and save-to-sent-items to also use the + SERVER_SUFFIX if defined +* Fixed an infinite loop generated by some inline images +Cosmetics: +* Tweaked the font sizes for better-emphasized readability, forced the + date and size fields to never line-break. +* Adjusted the table layout to adjust to the size of the data first, then + adjust to the size of the screen afterwards +* Tightened display padding in tables to fit better in small browser windows +* Changed background color of table.main (the lines inbetween table cells). + Looks much better on all themes. +* Added missing body style information, greatly simplified the automatic + centering and bordering of the mail table +Features: +* Added option to hide the To: field if it is not desired on folders other + than the sent items folder. +* Added option to force word-wrap when displaying plain text +* Added option to display shorter email address field for addresses that + have the "personal name" defined +* Added option to get rid of duplicate INBOX folder for some IMAP server + configurations diff -ruN ../am222-srcfix/config.inc ./config.inc --- ../am222-srcfix/config.inc 2004-09-09 23:45:50.000000000 -0400 +++ ./config.inc 2004-09-09 23:50:29.000000000 -0400 @@ -34,9 +34,15 @@ // server type should either be "Cyrus" or "UWash" define('IMAP_SERVER_TYPE', "UWash"); -// tcp port where the IMAP server is running - default is 143 +// 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/"); @@ -47,6 +53,26 @@ // 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 //----------------------- diff -ruN ../am222-srcfix/folder.php ./folder.php --- ../am222-srcfix/folder.php 2004-09-09 23:45:52.000000000 -0400 +++ ./folder.php 2004-09-09 20:32:08.000000000 -0400 @@ -54,7 +54,7 @@ sort($mailboxes); $first = "rowoff"; $second = "rowon"; - if (FILTER != "INBOX") + if (FILTER != "INBOX" && NO_INBOX_EXPLICIT != 1) { body_row('class="rowon"'); body_left(); diff -ruN ../am222-srcfix/global.inc ./global.inc --- ../am222-srcfix/global.inc 2004-09-09 23:45:55.000000000 -0400 +++ ./global.inc 2004-09-09 23:57:51.000000000 -0400 @@ -1,12 +1,12 @@ " - . htmlspecialchars(decode_header_string($adr)) - . ""; + . "$linkdisplay"; } return implode(", ", $l); } @@ -112,7 +115,7 @@ { sort($mailboxes); $num_boxes = count($mailboxes); - if (FILTER != "INBOX") { echo "