How to change the MailEnable services to x64

Discussions on webmail and the Professional version.
Post Reply
bigreddastud
Posts: 46
Joined: Tue Apr 19, 2005 7:30 pm

How to change the MailEnable services to x64

Post by bigreddastud »

In the KB article ME020595 you show how to move to x64 services manually, but I have a couple issues/questions on the directions.

1) I've looked at the "c:\Program Files (x86)\Mail Enable\bin64" folder, and there are no executables in that folder as there are in the x32 version, I only see DLLs in there. Should I expect to see EXEs that will be installed as a service? If so, where do I get them, because they aren't there.

2) By following your directions, what user account will they be installed under? It looks like they get installed under the "LocalSystem" account and not the restricted IME_* accounts that run with limited privileges. Installing them under the system account seems like a security risk. Which account *should* they be run under?

3) Side note: Wouldn't x64 users need to change the system path environmental variable so that the x64 folder is listed BEFORE the x32 for example: "c:\Program Files (x86)\Mail Enable\bin64;c:\Program Files (x86)\Mail Enable\bin" to ensure the x64 binary is used first if it's found and then checks for an x32 version or doesn't it matter?

Answers to #1 & #2 would be greatly appreciated.

Code: Select all

C:\PROGRA~2\MAILEN~1\Bin64>ls
total 12M
-rw-r----a  1 Administrators   3.9M May  6 18:49 HTTPMailLib.dll
-rw-r----a  1 Administrators    55k May  6 18:51 MEAIAM.dll
-rw-r----a  1 Administrators    31k May  6 18:51 MEAIAMTD.dll
-rw-r----a  1 Administrators   363k May  6 18:51 MEAIAU.dll
-rw-r----a  1 Administrators    43k May  6 18:51 MEAIAUTD.dll
-rw-r----a  1 Administrators   916k May  6 18:51 MEAICP.dll
-rw-r----a  1 Administrators   110k May  6 18:50 MEAIDP.dll
-rw-r----a  1 Administrators    37k May  6 18:50 MEAIDPTD.dll
-rw-r----a  1 Administrators    54k May  6 18:46 MEAILS.dll
-rw-r----a  1 Administrators    53k May  6 18:47 MEAILSTD.dll
-rw-r----a  1 Administrators    49k May  6 18:50 MEAIMF.dll
-rw-r----a  1 Administrators    71k May  6 18:50 MEAIMFTD.dll
-rw-r----a  1 Administrators   159k May  6 18:46 MEAINFY.dll
-rw-r----a  1 Administrators    49k May  6 18:46 MEAIPC.dll
-rw-r----a  1 Administrators    39k May  6 18:46 MEAIPCTD.dll
-rw-r----a  1 Administrators    91k May  6 18:45 MEAIPO.dll
-rw-r----a  1 Administrators    64k May  6 18:45 MEAIPOTD.dll
-rw-r----a  1 Administrators    61k May  6 18:46 MEAIPS.dll
-rw-r----a  1 Administrators    37k May  6 18:46 MEAIPSTD.dll
-rw-r----a  1 Administrators    35k May  6 18:43 MEAIQUE.DLL
-rw-r----a  1 Administrators    86k May  6 18:44 MEAISM.dll
-rw-r----a  1 Administrators    53k May  6 18:45 MEAISMTD.dll
-rw-r----a  1 Administrators   340k May  6 18:44 MEAISO.dll
-rw-r----a  1 Administrators    14k May  6 18:43 MEAISOTD.dll
-rw-r----a  1 Administrators   726k May  6 18:44 MEAISP.dll
-rw-r----a  1 Administrators    48k May  6 18:44 MEAISV.dll
-rw-r----a  1 Administrators    23k May  6 18:44 MEAISVTD.dll
-rw-r----a  1 Administrators    97k May  6 18:51 MEAVGEN.dll
-rw-r----a  1 Administrators    48k May  6 18:43 MEFLTMSA.DLL
-rw-r----a  1 Administrators   133k Apr 21  2008 MELPWMTF.dll
-rw-r----a  1 Administrators    43k May  6 18:43 MEMSCAB.DLL
-rw-r----a  1 Administrators   747k May  6 18:51 MEMTAFilter.DLL
-rw-r----a  1 Administrators    39k May  6 18:46 MENTLM.DLL
-rw-r----a  1 Administrators    46k May  6 18:43 MESSL.DLL
-rw-r----a  1 Administrators    52k May  6 18:43 MEUPDATE.DLL
-rw-r----a  1 Administrators   560k Feb 12  2010 sqlceca35.dll
-rw-r----a  1 Administrators   115k Feb 12  2010 sqlcecompact35.dll
-rw-r----a  1 Administrators   144k Feb 12  2010 sqlceer35EN.dll
-rw-r----a  1 Administrators    87k Feb 12  2010 sqlceme35.dll
-rw-r----a  1 Administrators   251k Feb 12  2010 sqlceoledb35.dll
-rw-r----a  1 Administrators   1.1M Feb 12  2010 sqlceqp35.dll
-rw-r----a  1 Administrators   655k Feb 12  2010 sqlcese35.dll

MailEnable-Ian
Site Admin
Posts: 9738
Joined: Mon Mar 22, 2004 4:44 am
Location: Melbourne, Victoria, Australia

Re: How to change the MailEnable services to x64

Post by MailEnable-Ian »

Hi,
1) I've looked at the "c:\Program Files (x86)\Mail Enable\bin64" folder, and there are no executables in that folder as there are in the x32 version, I only see DLLs in there. Should I expect to see EXEs that will be installed as a service? If so, where do I get them, because they aren't there.
There should definitely be executable's for each service. Perhaps try to install/upgrade again and see if the missing files are copied. Otherwise will need to check the install log files located within the BIN folder. Probably would be best lodging a support ticket at this point.
2) By following your directions, what user account will they be installed under? It looks like they get installed under the "LocalSystem" account and not the restricted IME_* accounts that run with limited privileges. Installing them under the system account seems like a security risk. Which account *should* they be run under?
You can use the meinstaller.exe utility and execute the option "Apply strict server policy" once you have set the services to run as 64bit mode.
3) Side note: Wouldn't x64 users need to change the system path environmental variable so that the x64 folder is listed BEFORE the x32 for example: "c:\Program Files (x86)\Mail Enable\bin64;c:\Program Files (x86)\Mail Enable\bin" to ensure the x64 binary is used first if it's found and then checks for an x32 version or doesn't it matter?
The services themselves load DLLs using the path to the application from the Windows registry.
Regards,

Ian Margarone
MailEnable Support

bigreddastud
Posts: 46
Joined: Tue Apr 19, 2005 7:30 pm

Re: How to change the MailEnable services to x64

Post by bigreddastud »

The x64 executable don't get installed by running the insaller, only the DLLs. I was able to manually extract the x64 executables directly from the installer archive package using Universal Extractor but there seems to be some issue with the installer. Every time I re-run the installer, it replaces my x64 versions of the services with x32 versions.

How does the installer determine if you want x32 or x64? It is obstinately determined for me to continue using x32 even though I also changed the "Application Directory" registry value to be "C:\PROGRA~2\MAILEN~1\Bin64". The installer forces it back to x32 path whenever I run it (for example to upgrade or re-run security fix as you suggested.)

If you know there's an issue, but the workaround provided in ME020595 seems to only be temporary. Once you install a new version, it reverts and the workaround must be reapplied. Is there some way to fix this permanently?

Maur0V
Posts: 50
Joined: Thu May 09, 2013 10:26 am

Re: How to change the MailEnable services to x64

Post by Maur0V »

I've the same problem of bigreddastud
in my installation no executable in bi64 forlder. on a different test server only a part of executable are present (no meimaps.exe)
both system are Windows 2008R2 64 bit with service pack 1
and both are localized version (italian )
I belive that installer is having some trouble.....
Thank's

Maur0V
Posts: 50
Joined: Thu May 09, 2013 10:26 am

Re: How to change the MailEnable services to x64

Post by Maur0V »

i've installed the new 7.08 version but the problem is not changed.

It's possible that the executable in the bin64 forlder where created only by the 7.00 version? I've not installed the 7.00 but, if I remeber, the first of the version 7 I instaled was 7.05

thank's

Maur0V
Posts: 50
Joined: Thu May 09, 2013 10:26 am

Re: How to change the MailEnable services to x64

Post by Maur0V »

installed 7.09 but problem still here.
Any idea? The server is an Italian version. Can this be the problem?

Maur0V
Posts: 50
Joined: Thu May 09, 2013 10:26 am

Re: How to change the MailEnable services to x64

Post by Maur0V »

installed 7.09 but problem still here.
Any idea? The server is an Italian version. Can this be the problem?

bigreddastud
Posts: 46
Joined: Tue Apr 19, 2005 7:30 pm

Re: How to change the MailEnable services to x64

Post by bigreddastud »

Maur0V wrote:installed 7.09 but problem still here.
Any idea? The server is an Italian version. Can this be the problem?
I don't think it's the language that's the issue. I'm still having this issue on v7.09 and am using English version.

I just have to install the new version, then manually extract the x64 bin folder using the method I mentioned above. It's really quite annoying - I wish they would fix this issue.

bigreddastud
Posts: 46
Joined: Tue Apr 19, 2005 7:30 pm

Re: How to change the MailEnable services to x64

Post by bigreddastud »

MailEnable-Ian wrote:Hi,
2) By following your directions, what user account will they be installed under? It looks like they get installed under the "LocalSystem" account and not the restricted IME_* accounts that run with limited privileges. Installing them under the system account seems like a security risk. Which account *should* they be run under?
You can use the meinstaller.exe utility and execute the option "Apply strict server policy" once you have set the services to run as 64bit mode.
Actually, I can't use the utility to re-apply the restricted accounts after manually installing the x64 services. The meinstaller.exe utility thinks strict mode is already in place and so I can't re-apply it. It only gives me the option to remove the strict policy, which I'm not interested in doing. (see this screen shot)

Image

bigreddastud
Posts: 46
Joined: Tue Apr 19, 2005 7:30 pm

Re: How to change the MailEnable services to x64

Post by bigreddastud »

FYI - I was able to get the manually installed x64 services running under the IME_* accounts and not the system account.

I had to first remove the strict server security policy using the meinstaller.exe utility & then re-run the utility and choose "Apply strict server security policy"

This process has to be re-run EVERY time you update ME, which is really a PITA, but works.

Maur0V
Posts: 50
Joined: Thu May 09, 2013 10:26 am

Re: How to change the MailEnable services to x64

Post by Maur0V »

finally the problem seems to be solved.
the new 7.50 version create all the x64 version of the services and it's also activating them by default ( at least on my installation).
strange, but no notes in the change log....

Post Reply