> Raymond Lopez wrote:
>
> I am emailing both the Emerald and IMail lists and both the Emerald and
> IMail support emails with this problem. I have still yet to get Emerald 2/4
> to work with IMail 7.02.
IMail 7.0 is not supported with Emerald 2.5. An updated EmerAuth and set
of stored procedures are required for IMail 7, as the structure between
IMail 7 and the DLL interface (EmerAuth) has changed between IMail 6
and IMail 7.
The EmerAuth that comes with Emerlad 4.1 works with both IMail 6 and 7.
By default it uses the IMail 7 strucuture. There is a registry setting
that makes it work with IMail 6 as well (see below). Do NOT try to use
EmerAuth 4.x with IMail 6 w/out setting the IMail 6 flag, or it will
crash IMail (structure size difference).
> Someone needs to outline all the issues of seeting up virtutals domains and
> email setup with both systems. IMail returns Invalid Users while Emerald
> Auth's log file shows.
>
> === EmerAuth Log ===
> Dec 21 15:23:37 2001 GetUserEntry raytech
> Dec 21 15:23:37 2001 IMailGetUser {CALL
>IMailUsers(1,'raytech','atginternet.com')}
> Dec 21 15:23:38 2001 GetUserEntry raytech
> Dec 21 15:23:38 2001 IMailGetUser {CALL
>IMailUsers(1,'raytech','atginternet.com')}
> Dec 21 15:23:38 2001 DllMain Thread attach
In the Emerald do you have?:
* An External System setup with ID 1, Type Imail?
* 1 or more services assigned to that External System?
* The raytech login assigned to one of the above services?
* The atginternet.com domain configured in IMail for ext DB?
> Does anyone have a step by step setup of how to get both applications to
> work correctly..
Yes. This will be in the EmerAuth updated docs. I just downloaded the
IMail 7 eval and with the Emerald 4.1 update, all functions seems to be
working correctly. I haven't tested everything, though. If you are
stilling having problem with IMail and Emerald after reading the below,
please let me know.
-----------------------------------
EmerAuth 4.0 supports both IMail 6 and IMail 7, with IMail 7 being the
default.
Since the interfaces between the two versions have changed, if you would like
to use IMail 6, you must set the version option to IMail 6 or EAD may cause
IMail 6 to function improperly.
Configuration
To configure IMail to work with EAD, you need to create or change the type
of a virtual host to External. You can do this either through the IMail
Administrator or the IMail control panel. We will be using the IMail
Administrator below.
Please note, you should make sure you have configured EmerAuth to connect
to your Emerald database before configuring IMail. Several times in the
IMail configuration, it will try to connect to the database. If you have
not configured EmerAuth first, the check may hang the IMail administrator.
(Information on how to start the EmerAuth admin and configure EmerAuth is
in the EmerAuth documentation).
Open the IMail Administrator, go to the Global tab, and click the virtual
host admin button. For initial testing, you should create a test domain.
IMail only allows one source for user information per domain. Therefore,
you can not have a virtual domain with users from both the local IMail
database and the External Database. If you switch the type of a virtual
host, you may cause all of the current users to not exist anymore.
When defining the Virtual Host, the FIRST alias defined must be the actual
domain that matches the domain from Emerald. If there is no aliases
listed, the hostname is used (which probably is not correct). For example,
if you are server.my.com, then you should make the first alias "my.com".
For the virtual host, select the "Use External User Database" and click
Save, and then click the configure button to the right. For the "External
Database Implementation DLL" enter the full path to where the EAD is
located (typically this will be c:\program files\emerald\emerauth.dll).
Neither the ODBC DSN nor the Table name is currently used. For
testing, just put the matching domain from Emerald in for both the DSN
and table name. Finally, click OK. As a side note, if you are configuring
a new virtual host, you must save the domain before you can configure it
(the OK button on the External Database configuration will be inactive
until you click save on the Virtual Host Configuration Screen).
If you added a new virtual host, you may need to click on localhost then
hit F5 in order to see the new virtual host listed. Double-check your
host properties, including the External User Database configuration to
make sure the settings were saved.
If you are using IMail6, then you need to create/update the following
Registry entry:
Key: HKEY_LOCAL_MACHINE\Software\IEA\EmerAuth\IMail6
Type: REG_SZ
Value: 1 for IMail 6, 0 for IMail 7
Known Problems and Comments
� Emerald stores additional IMail attributes in the SubAccountData table.
Entries are created on the fly when IMail needs to store additional
attributes that Emerald doesn't have. Some of these attributes are
hidden, while others are shown under the Server custom data section.
� It seems that IMail is loading/unloading the DLL as requests come in.
This could incur extra overhead and performance degradation on heavily
used servers and negates the effectiveness of the EmerAuth cache.
� IMail likes a "root" account for each domain. The requirement of
such account are not known.
� The IMail admin may not list users in your domain. This is typically
caused by it trying to enumerate the list of users by only calling
GetNextUserEntry without calling GetFirstUserEntry first. Since the
handle required in GetNextUserEntry is created in GetFirstUserEntry,
you will see a set of lines in the EmerAuth log like:
Dec 22 00:03:17 2001 DllMain Thread attach
Dec 22 00:03:17 2001 GetNextUserEntry Entering
Dec 22 00:03:17 2001 GetNextUserEntry Invalid connection handle
Dec 22 00:03:17 2001 GetNextUserEntry Leaving
Dec 22 00:03:17 2001 DllMain Thread detach
showing that GetFirstUserEntry is not called.
� Allow web access is defaulted for each user. If you want to change
a user's permissions, you can use the IMail Admin application.
� If you want to expose all the hidden data for services, you can run
this query. This will expose ALL IMail (ExternalSystemType = -2)
fields. You can selectively set the hidden field to 0 for those to
show, and 1 for those to hide:
Update SubAccountDataTypes
Set Hidden = 0 Where ExternalSystemType = -2
� Web messaging may not work correctly by itself. If you log into
the web messaging before using a POP/IMAP client to connect, no
folders are accessible (all are listed as Invalid). However, after
using something like Netscape or Outlook to connect to the account,
all folders show up correctly in web messaging.
� Users must user their fully qualified user@domain for their username
when logging into the Web Messaging services. This is also true for
POP and IMAP username configurations.
� Some Personal preference options may not be saved.
--
Dale E. Reed Jr. Emerald and RadiusNT/X
__________________________________________
IEA Software, Inc. www.iea-software.com
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/