Community Discussions and Support

The perfect forum for general discussions or technical questions about Mercury Mail Server.

Darwin4Ever posted 5 days ago at 2:52 pm


How are messages stored in Mercury ?

Is it in sort of database containing all messages, or are messages stored as single text-files ?

And how are these text-files organised ?

All messages belonging together (inbox - sent a.s.o) in one folder ?

Thank you

Johannes posted Mar 15 at 12:15 am

Mercury 4.91
Mercury S > transaction filter

I am unsure right now HOW the filter is applied.
My filter has a rule to drop the connection immediately when the remote server is announcing itself in the HELO command with localhost.

Using now roundcube and it announces itself with localhost AND the user is successful authenticated, the connection is still drop immediately.

The box underneath the filter "Successful AUTH exempts from filtering" is ticked, as shown in the image. But it is not applied to my successful authenticated user.

Do I missunderstand this, or is this not working correctly ?
To test this, I commented out the rule in the transaction filter and the message was send correctly. Activated it again, failure. smile



Johannes posted Feb 12 at 12:27 am

Hello all,

I got a problem with usernames, either I understand this incorrect, or there is something wrong in Mercury 4.91. smile

According to the Help:

The name the user will give to identify himself to Pegasus Mail or Mercury. By default, this is also the user's address. Usernames cannot contain spaces and must be less than 50 characters in length. Usernames should contain only the letters A…Z, the digits 0…9 and the special characters '.' (period) and '_' (underscore).

I am trying to create a username with a period like this


and Mercury is not accepting this, as by clicking the Add button nothing happens.
Using instead an underscore like


this is accepted.
Using just a name, is ok too.

Problem is, I have to setup a new mail system(Mercury) and have to keep the old email addresses.

Any ideas how to solve this ?

Thank you

recent by Joerg  ·  Mar 16 at 6:21 am
KEIOMAS posted Mar 13 at 2:37 pm

I would like to setup Mercury so when a User logs in they can only send and receive emails from other Users on the same server. There would be no way to send to or receive from any other IP address.

Could someone please explain to me how I would accomplish this using Mercury?

recent by Rolf Lindby  ·  Mar 13 at 5:04 pm
Johannes posted Feb 10 at 1:40 am

Hello All,

too long gone from Mercury, I need a refresher. smile

Mercury-S Compliance tab > exception list

Listing wildcard domains is not a problem *
It is not mentioned in the help, so my question to make sure:
is it possible to have comment lines # to kind of group domains for easier overview? I have quite a listing.


(# business listings

(# privat listings

Please disregard the ( for formatting purposes in the forums editor.
Anyone any ideas ?

Thank you

Johannes posted Feb 6 at 6:22 pm

Hello All,

coming back to Mercury I did a test install with Mercury 4.91 and Roundcube 1.5. Can't use Roundcube 1.6 as the webserver is still running php5.6.40. After install I ran into the following problem:

According to Mercury session log and roundcube imap log I get a * LIST (\Noselect) "/" "" error. User is directly successfully loged out.

Both logs are the same as shown below

[05-Feb-2023 18:55:08 -0600]: <fbaqiuum> [8273] Connecting to
[05-Feb-2023 18:55:08 -0600]: <fbaqiuum> [8273] S: OK IMAP4rev1 Mercury/32 v4.90.299 server ready.
[05-Feb-2023 18:55:08 -0600]: <fbaqiuum> [8273] C: A0001 CAPABILITY
[05-Feb-2023 18:55:08 -0600]: <fbaqiuum> [8273] S:
[05-Feb-2023 18:55:08 -0600]: <fbaqiuum> [8273] S: A0001 OK CAPABILITY complete.
[05-Feb-2023 18:55:08 -0600]: <fbaqiuum> [8273] C: A0002 AUTHENTICATE PLAIN
[05-Feb-2023 18:55:08 -0600]: <fbaqiuum> [8273] S: +
[05-Feb-2023 18:55:08 -0600]: <fbaqiuum> [8273] C: ** [18]
[05-Feb-2023 18:55:08 -0600]: <fbaqiuum> [8273] S: A0002 OK AUTHENTICATE completed.
[05-Feb-2023 18:55:08 -0600]: <fbaqiuum> [8273] C: A0003 LIST "" ""
[05-Feb-2023 18:55:08 -0600]: <fbaqiuum> [8273] S: LIST (\Noselect) "/" ""
[05-Feb-2023 18:55:08 -0600]: <fbaqiuum> [8273] S: A0003 OK LIST completed.
[05-Feb-2023 18:55:08 -0600]: <k3ji8448> [8273] C: A0004 LOGOUT
[05-Feb-2023 18:55:08 -0600]: <k3ji8448> [8273] S:
BYE IMAP4rev1 server terminating connection.
[05-Feb-2023 18:55:08 -0600]: <k3ji8448> [8273] S: A0004 OK LOGOUT completed.

Assuming that I am missing, or have wrong settings in some config settings in Roundcube.
Looking through the forum posts, my particular problem did not come up.
Maybe someone could point me in the right direction.

BTW, Squirrelmail is working fine, but wanted to offer my users something different.


recent by Johannes  ·  Feb 9 at 3:57 am

I migrate from version 4.80 on March 19. (Windows Server 2012 R2). No problems occurred during and after the migration.
For one week I get the following error message in the System log :
The Mercury32 service terminated unexpectedy. It has done this 1 time(s). The following corrective action will be taken in 60000 milliseconds: Restart the service.
The Mercury32 service is restarted either directly by the system or by the Zabbix monitoring system.
The problem is that each time Mercury32 is restarted, a new instance of the clamd.exe process is created and each instance takes 1 Gb of memory.
The only information I can find in the log is the Windows Event ID (7031). Does somebody know where I can find some more information to track the problem ?.
Many thanks for your help

recent by Joerg  ·  Jan 5 at 8:54 am

Hi Rolf,
What are the state of affairs regarding Mercury v5? All in time? smile

At the moment I have to create lots of new user accounts which will be accessed by Roundcube via IMAP. ... and what's annoying me again and again is the limitation to 8 digits for a local user name. Hopefully you got this on your list.


recent by Invictus  ·  Jan 3 at 2:45 pm
Joerg posted Dec 21 '22 at 3:02 pm

Within Pmail you can create additional subfolders for existing folders of a mailbox. And once these "folders in folders" have been created in Pmail, they are also visible and usable without problems via IMAP in Thunderbird when you connect to this mailbox.
But unfortunately the direct creation of these subfolders (folders in folders) in Thunderbird is not possible, although in Thunderbird settings "IMAP Server supports Folders in Folders" is checked.

Has anybody a hint in this regard?
Does Mercury 4.91 better supports "folder in folder"?

recent by Invictus  ·  Jan 3 at 1:30 pm
Invictus posted Dec 28 '22 at 12:14 pm

Hello - we've been using Mercury for some decades now & find it an excellent server - every day's a school day. I was wondering if anyone out there used an email security package with Mercury - some crap will always get through but I'd like to be as tight as poss without losing too much performance. We use the pop3 client to download from 2 wildcard accounts & distribute to users via imap [Tbird Outlook roundcube etc] or using integrated Pegasus.
Any ideas appreciated - looking out in the wild it seems everyone's trying to push to Google or Microsoft....which I don't want to do.

Invictus posted Dec 29 '22 at 4:04 pm

Has anyone successfully set up MLSS on MercuryB Http.
All seems in order - I just keep getting 404 error.
I do have Mercury webtools working over http.
Any insight appreciated.



we have every now and than problems with POP3 fetch. The Mercury POP3 client prints out:
"TCP/IP communication error Network error: delivering anyway"
and gets no other mails after the (mostly spam, often with attachment) mail. We have to delete the mail via WebMail Client and then Mercury gets back to work.

Is there anything we can do? Is there anything known?


kgw posted Nov 15 '22 at 4:49 pm

Is anyone else seeing this? New licensed installation of Mercury installed on Windows Serer 2016, Mercury/32 version: Mercury/32, v4.91.349, 23 Sep 2022

I have set the service set to restart, which it does, but users report disconnections. No other Windows services are reporting this problem.

Any ideas what to do about it?

Log Name: System
Source: Service Control Manager
Date: 11/15/2022 8:02:56 AM
Event ID: 7031
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: -----------------------
The Mercury32 service terminated unexpectedly. It has done this 294 time(s). The following corrective action will be taken in 60000 milliseconds: Restart the service.

recent by kgw  ·  Nov 16 '22 at 6:48 pm
kgw posted Nov 8 '22 at 5:03 pm

I installed the 4.91 upgrade and it looks good. Created a self-signed certificate and that now works.

Everything on the mail server is working properly except it won't accept incoming smtp connections from gmail. It looks like an SSL issue, so I created a certificate request (which also works now, thank you) and purchased a certificate. The Mercury documentation does not quite line up with the certificate provided, and I am having trouble following the instructions. I think some sort of conversion or modification of the certificate may be required in some cases. Also, it is not clear if the old self-signed certificate can remain in place or needs to be revoked or deleted or what.

Could we get some clarity on exactly what the purchased certificate needs to look like, what type, where it should be installed, and any other special instruction?

I hate doing anything with certificates, they always seem to be trouble.

recent by kgw  ·  Nov 9 '22 at 5:23 pm
timbr posted Oct 22 '22 at 11:11 pm

Hello everybody,

probably a fringe use case, but I'm trying to set up Mercury for my personal local (on the same machine only) IMAP use. It is not supposed to retrieve or send any mail from or to or in any other way talk to the outside world at all.

The absolutely only task is to provide an IMAP server that can be accessed by an email client on the same machine to move messages to the IMAP folders for archival purposes.
ATM this only includes email from an external Exchange account. I might include other accounts in the future, but that is not a subject for now.

I installed the MercuryI, W and X modules. No idea whether W and X are of any use in my case, but those were the only additional 2 modules I could not rule out immediately.
Since I don't own a domain or any static (or DYNDNS) IP address, I tried to set the domain in the initial configuration to (for lack of a better idea), but now I'm at a loss and don't know how to proceed any further.
I could not find any instructions regarding my use case in the manual or in the FAQ of this forum.

I'm using the Windows 10 stock mail application. I don't want to change that, for the app's seamless Exchange integration. Unfortunately, I also don't know how to configure an email client to use an IMAP server running on the same machine.

Any help would be greatly appreciated.


recent by Joerg  ·  Nov 3 '22 at 9:10 am
kgw posted Sep 20 '22 at 7:31 pm

I keep looking for it and the docs indicate it exists, but it isn't where the docs say it is.

I have also been unable to find the downloads for Mercury add-ons for this feature.

How do users get Mercury to autorespond with a scheduled "out of office"? All users have Microsoft Outlook.

recent by kgw  ·  Oct 7 '22 at 9:25 pm
kgw posted Aug 29 '22 at 12:58 am

Sorry if this topic has already been covered. I can't see any 'search' feature on the forum, so I might have missed it.

I'm wondering if anyone has any information regarding setting up Mercury for cellphones. I have a licensed copy, installed and working with Outlook clients on the LAN, but I don't seem to be able to get reliable (relatively secure) email send/receive with iPhone and Android cellphones.

I have a self-signed certificate installed and I think I have the correct ports open on the firewall. I prefer IMAP but if necessary then POP is an option.

Anyone know what the settings in Mercury should be and what firewall ports need to be open/forwarded?

Thanks in advance for any hints and advice.

recent by kgw  ·  Oct 7 '22 at 9:19 pm
Hide topic messages
Enable infinite scrolling
1234 ... 114
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft