----- Original Message -----
From: MailingLists <[EMAIL PROTECTED]>
To: inFusion Support List <[EMAIL PROTECTED]>
Sent: Thursday, July 06, 2000 5:01 AM
Subject: [iMS] AUTH Login


> Hello All,
>
> It's taken some time, but I've finally managed to convert my mail
> system from Post.Office to iMS 1.3 beta 14, manually creating 600
> mailboxes (feel my pain).  It works, but more or less hacked
> together.
>
> My problem lies with the SMTP authentication.  I've got no idea
> how to use it.  I've turned it on in the configurator, and put in
> the SMTPAUTH.CFM file that Guillermo Dewey was kind enough to put
> up, but it never seems to ask for authentication when logging in.
>
> There dosen't seem to be much info on it that I've been able to
> find, Howie mentioned directions were in the beta SMTP Server when
> they added the feature in infusionsmpt13beta1.zip, but the file's
> been removed, and I haven't found references in the latest release.
>

Sorry that the readme was no longer available.  I'm attaching a copy to this
mail (the only thing that is not in the readme is that the SMTP server now
also supports AUTH-LOGIN).

> Other problems that I'm seeing are in my NT event logs, I'm getting
> the following errors.
>
> In the System Log:
>
> EventID: 7023:
> The inFusion POP Server service terminated with the following error:
> The system could not find the environment option that was entered.
>
> EventID: 7023:
> The inFusion SMTP Server service terminated with the following error:
> The system cannot find the file specified.
>
> and in the Application Log -
>
> EventID: 0
> The description for Event ID (0) in Source (inFusionPOP) could not
> be found.  It contains the following insertion string(s):
> inFusionPOP error 0, Application Run.
>
> The other 5 errors are the same message, except for the last word
> in the desctiption, they are in order:
> formdestroy.
> done terminate.
> application terminate.
> servicestop.
> ctrlcode=1
>
> Being the type that try's to fix stuff without help, I've been
> reluctant to send out a message, but I'm in over my head here.
> I think it has something to do with the location of templates, which
> are in \iMS\Domains\ right now.
>
> That reminds me that I noticed that if I change the location of the
> templates dir from the configurator, exit and restart the configurator,
> the templates dir has reset to default.  It's probably me... anyhow.
>

You should click on the save button when you make changes to the
configuration.

> Anyone have suggestions?
>

I don't think this has to do with the templates.  Could you try downloading
the latest beta and installing that to see what happens?

Thanks.

Regards,

Howie


> Thanks so much,
>
> Ken Morris
>
>  -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>  = Kenneth D. Morris  -  KDM Consulting Services =
>  -            [EMAIL PROTECTED]             -
>  =                                               =
>  - "Engineers believe that if it ain't broke,    -
>  = it dosen't have enough features yet."         =
>  -                 - Scott Adams                 -
>  =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>

iMS SMTP Server 1.3 beta 2

General
-------

iMS SMTP Server 1.3 now supports the following new features:

- SMTP authentication using CRAM-MD5.  

- Delivery of non-RFC compliant messages


Related RFCs
------------

822, 2104, 2195, 2554


Installation
------------

Stop the iMS SMTP Server.  Make a backup copy of inFusionSMTP.exe and 
Configurator.exe.  Copy the beta versions of the software over the
original versions.


Authentication Configuration
----------------------------

Open the iMS configurator.  There is a new setting on the SMTP page that
enables SMTP authentication.  Check off that setting, save the settings
and restart the SMTP Server.  You should see a line in the log file like:

05/30/2000 03:20:42 PM SMTP Authentication enabled


Create a template called SMTPAUTH.CFM and place it in the iMS\Domains 
directory.  This template is used to look up the password of the user
for authentication.  The template should return two settings:

RESULT=ACCEPT/REJECT
PASSWORD=<password>

Your template will be provided with the user name as a form variable called
SMTPAUTHUSER.

Example template:

<cfquery name="getpassword" datasource="iMS">
select password from pops where user="SMTPAUTHUSER">
</cfquery>

<cfif getpassword.recordcount gt 0>
<cfoutput>
result=accept
password=#getpassword.password#
</cfoutput>
<cfelse>
result=reject
</cfif>


Subsequent templates (MAIL, RCPT and DATA) will have access to additional form
vars as follows:

SMTPAUTHUSER - this will either have the name of the authenticated user or will
               be blank.

SMTPAUTHPASS - this will either have the password of the authenticated user or
               will be blank.

AUTHENTICATED - this will be "YES" or "NO" depending on whether the user has 
                successfully authenticated or not.
                



Configuration for Delivery of Non-RFC Compliant Messages
--------------------------------------------------------

RFC 822 specifies that e-mail messages be terminated with the following sequence:

<CRLF>.<CRLF>

However, some non-compliant mailers do not terminate messages properly.  iMS SMTP
Server 1.3 can now account for these situations and deliver the mail properly.
To accomplish this two new parameters are used:

Deliver Unterminated: Enables this feature

Timeout for Received Message: Number of seconds to wait before considering the 
message to be fully delivered.  Since the message is not terminated properly 
the mail server needs to implement a timeout after which the mail is considered
to be completely delivered.  The default setting is 60 seconds.  You should be
cautious when setting this value as some mailers may be slow in sending a message
and this timeout will effectively terminate the mail sending from the remote server.
You may want to set this value higher than 60 seconds.

The new iMS Configurator (version 1.3 beta 2) has the above settings on the SMTP 
configuration tab.

Reply via email to