The MR/2 ICE Local Deliver Agent (LDA) - MR2ILDA.EXE ==================================================== This LDA, when used as the "MLocal" parameter to sendmail, will deliver mail in a manner that allows MR/2 ICE to be used in SMTP-mode. There is another mode that makes this LDA run in POP3D compatibility mode. In this mode, mr2ilda.exe can be used as a replacement for the shareware utility POP3D's mailsrt.exe LDA. This is not meant to be a feature in itself (although it could be, I guess), but will allow the Secant Technologies POP3 daemon to easily replace POP3D as POP server, if desired. Secant's POP3 daemon will be released shortly as shareware. The default mode for Mr2iLDA is "simple mode". This delivers mail into the "MAIL" sub directory of the defined ETC directory. MR/2 ICE's settings for "mail directory" defaults to this directory when the SMTP read mode is clicked. =================================================================== N O T E S =================================================================== MR/2 ICE has been reported to work just fine with existing setups that make use of the freeware LDA "deliver.exe". If you are using this already in conjunction with some other mailer, try MR/2 ICE without changing the sendmail configuration. Just point the SMTP settings to the directory where new mail is delivered. LAMAIL users should find that MR/2 ICE is a "snap in" replacement for it, too. MR/2 will work very well with sendmail's previously configured to deliver to LAMAIL. For these users, selecting SMTP reading in the ICE settings should be all that's required. ULTIMAIL users should be aware that their sendmail uses a configuration file called "sendmail.uml". See the specific example, below. =================================================================== To install MR2iLDA, simply modify your ETC\sendmail.cf file to contain the following line: Mlocal, P=c:\mr2i\mr2ilda.exe, F=lsDFMP, S=10, R=0, A=-S $u WHERE c:\mr2i reflects the directory in which mr2ilda resides. The -S parameter specifies SIMPLE delivery mode and should be present even though it is the default mode. Everthing after the A= is passed to mr2ilda.exe when mail arrives, the $u is replaced by sendmail with the target user's name. ULTIMAIL users will need to edit the file ETC\sendmail.uml. The existing LDA line will look something like: Mlocal, P=c:\umail\umailer.exe, F=lsDFP, S=10, R=20, [and so on] Comment out the umailer.exe line by preceeding the line with a couple of "#" signs and add the mr2ilda.exe line shown above. Command line parameters (case insensitive): -Afname Address file to use when in POP3 delivery mode. The default in this mode is to use the file "mailaddr" in the directory where mr2ilda.exe resides. -S Specifies "simple" mode (default). Mail is delivered to the "MAIL" sub directory of the specified ETC path. -P Specifies POP3D mode -D Debug mode. This will output various "extra" messages to the sendmail screen to facilitate locating problems. -Ffname File name containing mail to be delivered. If not specificed, the default is to accept the message from stdid (sendmail's delivery mode). -V Verbose mode. Will output some additional informational messages to the sendmail screen. Optional POP3D mode =================== This mode will actually place mail into directories based on a user-name lookup into an address table. By default, the user index file used is called "mailaddr" and should be in the same directory as mr2ilda.exe. This file can be specified on the command line by using the -A flag. An example mailaddr file might look like this: deadmail d:\mail\deadmail nick d:\mail\nick nick john d:\mail\john password fred d:\mail\fred fredster where the first column is the email name to match (part preceeding the "@" sign. For example, for nick@secant.com, the user name is nick). The second column specifies the directory in which to deposit incoming mail. The last column is an (optional) POP3 password. It is not used by MR2iLDA, but allows the same file to be used by POP3d and/or Secant Technologies' POP3 Server. Mail not matching any user in the index is delivered to the first user name in the index. Optionally, a user name of "*" may be used to match ANY name. This should be the LAST line of the index file, and will subsequently receive all "unknown addressee" mail instead of the first user. I believe this utility to be an excellent replacement for the MAILSRT.EXE that comes with POP3D, at least comparing it to the version we used to use. It will not crash on long lines AND will not lose mail on a file-name-from-time collision. Oh, yes, MAILSRT would throw out a message occassionally, if two messages arrived at the same second and thus were given the same file name. I've already confirmed that MR2iLDA handles this properly. QUICK START =========== 1. Edit your sendmail.cf file and insert the "MLocal" line shown above. Make sure to comment out the existing MLocal entry by placing a "#" in front of the line. USE THE SYSTEM E EDITOR, as sendmail.cf is sensitive to tab-formatting and the E editor does not mess this file up. 2. Make sure the ETC environment variable is set correctly. 3. Restart your sendmail daemon (shutdown, then reboot the system if you don't know how). 4. Configure MR/2 ICE. Options->Settings->Network. Click the "SMTP Read" radio button. The SMTP group box "mail path" should be set to the MAIL sub directory of your ETC directory. Confirm this, close the settings notebook. 5. Send yourself a test message. Did it work? :) NOTES: ===== o MR2iLDA will create a MAIL sub directory off of ETC, if one does not exist. o File names will be 8 characters of hex/numeric, with an extension of ".rcv". If a collision occurs, the base file name will remain the same, but the extension will be .001 (or .002 if that file exists, and so on...)