Community Discussions and Support
2 questions about Mercury configuration

Receiving a message from an email client running on the server should be lightning fast. Delivery via MercuryE to some server on the Internet will of course depend on a number of factors, but should in general be very quick as well.

Create session logs from MercuryS and/or MercuryE to find out exactly where the delay happens. Possible reasons for delays could be a misbehaving sending program, or some program interfering with Mercury's access to files or SMTP connections (such as for instance an antivirus program or some spam filter).

/Rolf 

<p>Receiving a message from an email client running on the server should be lightning fast. Delivery via MercuryE to some server on the Internet will of course depend on a number of factors, but should in general be very quick as well.</p><p>Create session logs from MercuryS and/or MercuryE to find out exactly where the delay happens. Possible reasons for delays could be a misbehaving sending program, or some program interfering with Mercury's access to files or SMTP connections (such as for instance an antivirus program or some spam filter).</p><p>/Rolf </p>

Yesterday, I installed mercury out of the XAMPP package. Now, I have two problems:

1.) I want to use a single domain mailbox for any users. I followed the instructions of the online help: In Core Module Configuration, I wrote this entry into the local domains list: localhost or server: "dm=user"; Internet name: "example.com". Is this correct? Do I have to change something else in my configuration?

2.) When I send an Email via SMTP out of the Internet, the connecting process takes about 40 s. If I use exactly the same parameters in the Email client, which runs on the server itself, it only takes 2 s. What's wrong in my configuration? Do you know something about this behavior? Do you need more information? About what?

 

Greets

Noooooooooooos 

<p>Yesterday, I installed mercury out of the XAMPP package. Now, I have two problems:</p><p>1.) I want to use a single domain mailbox for any users. I followed the instructions of the online help: In Core Module Configuration, I wrote this entry into the local domains list: localhost or server: "dm=user"; Internet name: "example.com". Is this correct? Do I have to change something else in my configuration?</p><p>2.) When I send an Email via SMTP out of the Internet, the connecting process takes about 40 s. If I use exactly the same parameters in the Email client, which runs on the server itself, it only takes 2 s. What's wrong in my configuration? Do you know something about this behavior? Do you need more information? About what?</p><p> </p><p>Greets</p><p>Noooooooooooos </p>

> Do you need more information? About what?

We need to see a copy of your mercury.ini file.  Just copy and paste it here.  Next we need to see a copy of the MercuryE/MercuryC, whichever you are using, session log to see what really happening on the sending.

 

<p>> Do you need more information? About what?</p><p>We need to see a copy of your mercury.ini file.  Just copy and paste it here.  Next we need to see a copy of the MercuryE/MercuryC, whichever you are using, session log to see what really happening on the sending.</p><p> </p>

Thanks for responsing my questions. Here is some more information:

 

Currently, i'm using only the modules S, P and E. My settings are here: http://webere.we.funpic.de/MERCURY.INI

1.) I forgot to tell that Mercury fails at delivering a mail, sent to an user, who is not in the local users list. I want such mails to be conducted to my universal user ("anyuser"). The core process' log:

E 20110131 1851 MG000001 freemailer@gmail.com   User <anyuser@example.ch> not known at this site.

O 20110131 1851 MG000003 <>                             freemailer@gmail.com   2254

I 20110131 1851 MG000002 postmaster@example.ch  Admin                           1953

2.) I don't think that the MercuryE log is helpful. The problem lies in the connecting over internet between the Email client and the SMTP server. It takes too much time until the upload of the mail can start. But the uploading process itself is done in a blink.

 

What do you think it's wrong in my configuration? Where is change required?

 

 

Greets

Nooooooooooos 


&lt;p&gt;Thanks for responsing my questions. Here is some more information:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Currently, i&#039;m using only the modules S, P and E.&amp;nbsp;My settings are here: http://webere.we.funpic.de/MERCURY.INI&lt;/p&gt;&lt;p&gt;1.) I forgot to tell that Mercury fails at delivering a mail, sent to an user, who is not in the local users list. I want such mails to be conducted to my universal user (&quot;anyuser&quot;). The core process&#039; log:&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;E 20110131&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;1851 MG000001 freemailer@gmail.com &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;User &amp;lt;anyuser@example.ch&amp;gt; not known at this site.&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;O 20110131&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;1851 MG000003 &amp;lt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;freemailer@gmail.com &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;2254&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;I 20110131&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;1851 MG000002 postmaster@example.ch&amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;Admin &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;1953&lt;/p&gt;&lt;p&gt;2.) I don&#039;t think that the MercuryE log is helpful. The problem lies in the connecting over internet between the Email client and the SMTP server. It takes too much time until the upload of the mail can start. But the uploading process itself is done in a blink.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;What do you think it&#039;s wrong in my configuration? Where is change required?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Greets&lt;/p&gt;&lt;p&gt;Nooooooooooos&amp;nbsp;&lt;/p&gt;&lt;div&gt; &lt;/div&gt;

[quote]1.) I want to use a single domain mailbox for any users. I followed the instructions of the online help: In Core Module Configuration, I wrote this entry into the local domains list: localhost or server: "dm=user"; Internet name: "example.com". Is this correct? Do I have to change something else in my configuration?[/quote]

Yes, that is the correct syntax.  It should work, assuming you've set "user" to be a valid mailbox on your system.

[quote]2.) When I send an Email via SMTP out of the Internet, the connecting process takes about 40 s. If I use exactly the same parameters in the Email client, which runs on the server itself, it only takes 2 s. What's wrong in my configuration? Do you know something about this behavior? Do you need more information? About what?[/quote]

The queue is only polled every so often.  Look in the module's configuration and you should see a line about "poll every x seconds" and adjust x to what you'd like.  Mine is set for 30 seconds, which I believe might be the default.

&lt;p&gt;[quote]1.) I want to use a single domain mailbox for any users. I followed the instructions of the online help: In Core Module Configuration, I wrote this entry into the local domains list: localhost or server: &quot;dm=user&quot;; Internet name: &quot;example.com&quot;. Is this correct? Do I have to change something else in my configuration?[/quote]&lt;/p&gt;&lt;p&gt;Yes, that is the correct syntax.&amp;nbsp; It should work, assuming you&#039;ve set &quot;user&quot; to be a valid mailbox on your system. &lt;/p&gt;&lt;p&gt;[quote]2.) When I send an Email via SMTP out of the Internet, the connecting process takes about 40 s. If I use exactly the same parameters in the Email client, which runs on the server itself, it only takes 2 s. What&#039;s wrong in my configuration? Do you know something about this behavior? Do you need more information? About what?[/quote]&lt;/p&gt;&lt;p&gt;The queue is only polled every so often.&amp;nbsp; Look in the module&#039;s configuration and you should see a line about &quot;poll every x seconds&quot; and adjust x to what you&#039;d like.&amp;nbsp; Mine is set for 30 seconds, which I believe might be the default. &lt;/p&gt;

Thanks for answering my questions! 

 

[quote user="Quin"]Yes, that is the correct syntax.  It should work, assuming you've set "user" to be a valid mailbox on your system.[/quote]

A mail to user@example.com works fine. But other usernames are still "unknown" and their mails are not forwarded to user@example.com. What could cause this behavior?

[quote]The queue is only polled every so often.  Look in the module's configuration and you should see a line about "poll every x seconds" and adjust x to what you'd like.  Mine is set for 30 seconds, which I believe might be the default.[/quote]

Are you sure, that it is a queue problem? The connecting process between the mail client and MercuryS takes a long time. But once the client is connected to the MercuryS, the mail is immediately sent by MercuryE.

In the connection history, MercuryS lists the connection to the e-mail client at 23:55:44. After 36 seconds, the Mercury Core gets the mail and creates an outgoing job. Eight seconds later MercuryE reports that the e-mail was sent successfully. But then, I have to wait some further seconds, until the connection history from MercuryS is displayed. The entry, which I "quoted" above, appears together with the following message: "60 sec. elapsed, connection closed Wed Feb 02 23:56:44 2011". Is this normal? Whats wrong in my configuration?

 

 

Nooooooooooos 

&lt;p&gt;Thanks for answering my questions!&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;[quote user=&quot;Quin&quot;]Yes, that is the correct syntax.&amp;nbsp; It should work, assuming you&#039;ve set &quot;user&quot; to be a valid mailbox on your system.[/quote]&lt;/p&gt;&lt;p&gt;A mail to user@example.com works fine. But other usernames are still &quot;unknown&quot; and their mails are not forwarded to user@example.com. What could cause this behavior?&lt;/p&gt;&lt;p&gt;[quote]The queue is only polled every so often.&amp;nbsp; Look in the module&#039;s configuration and you should see a line about &quot;poll every x seconds&quot; and adjust x to what you&#039;d like.&amp;nbsp; Mine is set for 30 seconds, which I believe might be the default.[/quote]&lt;/p&gt;&lt;p&gt;Are you sure, that it is a queue problem? The connecting process between the mail client and MercuryS takes a long time. But once the client is connected to the MercuryS, the mail is immediately sent by MercuryE.&lt;/p&gt;&lt;p&gt;In the connection history, MercuryS lists the connection to the e-mail client at 23:55:44. After 36 seconds, the Mercury Core gets the mail and creates an outgoing job. Eight seconds later MercuryE reports that the e-mail was sent successfully.&amp;nbsp;But then, I have to wait some further seconds, until the connection history from MercuryS is displayed.&amp;nbsp;The entry, which I &quot;quoted&quot; above, appears together with the following message: &quot;60 sec. elapsed, connection closed Wed Feb 02 23:56:44 2011&quot;.&amp;nbsp;Is this normal? Whats wrong in my configuration?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Nooooooooooos&amp;nbsp;&lt;/p&gt;

I am not sure what your Mercury problem is - those timings don't seem very unusual.

As Thomas said earlier, if you need any configuration help you will have to post your mercury.ini file.

 

&lt;P&gt;I am not sure what your Mercury problem is - those timings don&#039;t seem very unusual.&lt;/P&gt; &lt;P&gt;As Thomas said earlier, if you need any configuration help you will have to post your mercury.ini file.&lt;/P&gt; &lt;P mce_keep=&quot;true&quot;&gt;&amp;nbsp;&lt;/P&gt;

he HAS posted his .ini:

 

http://webere.we.funpic.de/MERCURY.INI

 

&lt;p&gt;he HAS posted his .ini:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;http://webere.we.funpic.de/MERCURY.INI&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;

[quote user="ral"]

he HAS posted his .ini:

 

http://webere.we.funpic.de/MERCURY.INI

 

[/quote]

Thanks, I missed that

[quote user=&quot;ral&quot;] &lt;P&gt;he HAS posted his .ini:&lt;/P&gt; &lt;P mce_keep=&quot;true&quot;&gt;&amp;nbsp;&lt;/P&gt; &lt;P&gt;http://webere.we.funpic.de/MERCURY.INI&lt;/P&gt; &lt;P mce_keep=&quot;true&quot;&gt;&amp;nbsp;&lt;/P&gt; &lt;P&gt;[/quote]&lt;/P&gt; &lt;P&gt;Thanks, I missed that&lt;/P&gt;

Sorry, I've no clue why your dm= configuration isn't working.  You've munged the entries in your posted .ini file, but assuming the user and the domain are valid, then it should work.

[quote]Are you sure, that it is a queue problem? The connecting process between the mail client and MercuryS takes a long time. But once the client is connected to the MercuryS, the mail is immediately sent by MercuryE.

In the connection history, MercuryS lists the connection to the e-mail client at 23:55:44. After 36 seconds, the Mercury Core gets the mail and creates an outgoing job. Eight seconds later MercuryE reports that the e-mail was sent successfully. But then, I have to wait some further seconds, until the connection history from MercuryS is displayed. The entry, which I "quoted" above, appears together with the following message: "60 sec. elapsed, connection closed Wed Feb 02 23:56:44 2011". Is this normal? Whats wrong in my configuration?[/quote]

Am I sure?  No, Its just a guess.  Your earlier post said there was a delay before MercuryE sent the mail, but once it connected all was fine.  Thus my thought that there was a pause before it polled the queue.

Based upon the times you've posted here, though, I'm not really seeing any delays in the Mercury processing.  The MercuryS connection seems to be held open for an excessive amount of time, but that would be your email client doing that rather than Mercury. Am I misunderstanding the question?  Because I'm not really seeing the issue ...

&lt;p&gt;Sorry, I&#039;ve no clue why your dm= configuration isn&#039;t working.&amp;nbsp; You&#039;ve munged the entries in your posted .ini file, but assuming the user and the domain are valid, then it should work. &lt;/p&gt; &lt;p&gt; [quote]Are you sure, that it is a queue problem? The connecting process between the mail client and MercuryS takes a long time. But once the client is connected to the MercuryS, the mail is immediately sent by MercuryE. In the connection history, MercuryS lists the connection to the e-mail client at 23:55:44. After 36 seconds, the Mercury Core gets the mail and creates an outgoing job. Eight seconds later MercuryE reports that the e-mail was sent successfully.&amp;nbsp;But then, I have to wait some further seconds, until the connection history from MercuryS is displayed.&amp;nbsp;The entry, which I &quot;quoted&quot; above, appears together with the following message: &quot;60 sec. elapsed, connection closed Wed Feb 02 23:56:44 2011&quot;.&amp;nbsp;Is this normal? Whats wrong in my configuration?[/quote]&lt;/p&gt; &lt;p&gt;Am I sure?&amp;nbsp; No, Its just a guess.&amp;nbsp; Your earlier post said there was a delay before MercuryE sent the mail, but once it connected all was fine.&amp;nbsp; Thus my thought that there was a pause before it polled the queue.&lt;/p&gt; &lt;p&gt;Based upon the times you&#039;ve posted here, though, I&#039;m not really seeing any delays in the Mercury processing.&amp;nbsp; The MercuryS connection seems to be held open for an excessive amount of time, but that would be your email client doing that rather than Mercury. Am I misunderstanding the question?&amp;nbsp; Because I&#039;m not really seeing the issue ... &lt;/p&gt;

Comments to some of the settings in Mercury.ini:

[General]
myname: example.ch # Canonical name for this server.

Is this the real domain?

[MercuryE]
Session_logging : D:\
Session_logmode : 1

Session logging should only be switched on when tracking a specific error. You may want to specify a directory to avoid cluttering the disk root.

[MercuryS]
Debug : 1
Logfile : D:\Server\MERCURYMAIL\Logs\MERCURYS.LOG
Timeout : 30
Relay : 0
Strict_Relay : 0

Strict relaying restrictions should be used if the system is connected to the Internet

[Domains]
localhost: localhost
localhost: localhost.net
localhost: localhost.org
localhost: localhost.com
localhost: example.ch
localhost: example2.ch
dm=testuser: example.ch

Is the name of the server really "localhost"? Do you own all the domains in the list? Should the domain example.ch be treated as a domain mailbox or as an ordinary local domain? Please see Mercury help for details about how to specify local domains.

/Rolf

&lt;p&gt;Comments to some of the settings in Mercury.ini:&lt;/p&gt; &lt;blockquote&gt; &lt;pre&gt;&lt;i&gt;[General] myname: example.ch # Canonical name for this server.&lt;/i&gt;&lt;/pre&gt;&lt;/blockquote&gt; &lt;p&gt;Is this the real domain?&lt;i&gt;&lt;/i&gt;&lt;/p&gt; &lt;blockquote&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;[MercuryE]&lt;/i&gt; &lt;i&gt;Session_logging : D:\&lt;/i&gt; &lt;i&gt;Session_logmode : 1&lt;/i&gt;&lt;/blockquote&gt; Session logging should only be switched on when tracking a specific error. You may want to specify a directory to avoid cluttering the disk root. &lt;blockquote&gt;&lt;i&gt;[MercuryS]&lt;/i&gt; &lt;i&gt;Debug : 1&lt;/i&gt; &lt;i&gt;Logfile : D:\Server\MERCURYMAIL\Logs\MERCURYS.LOG&lt;/i&gt; &lt;i&gt;Timeout : 30&lt;/i&gt; &lt;i&gt;Relay : 0&lt;/i&gt; &lt;i&gt;Strict_Relay : 0&lt;/i&gt;&lt;/blockquote&gt; Strict relaying restrictions should be used if the system is connected to the Internet &lt;blockquote&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;[Domains]&lt;/i&gt; &lt;i&gt;localhost: localhost&lt;/i&gt; &lt;i&gt;localhost: localhost.net&lt;/i&gt; &lt;i&gt;localhost: localhost.org&lt;/i&gt; &lt;i&gt;localhost: localhost.com&lt;/i&gt; &lt;i&gt;localhost: example.ch&lt;/i&gt; &lt;i&gt;localhost: example2.ch&lt;/i&gt; &lt;i&gt;dm=testuser: example.ch&lt;/i&gt;&lt;/blockquote&gt; &lt;p&gt;Is the name of the server really &quot;localhost&quot;? Do you own all the domains in the list? Should the domain example.ch be treated as a domain mailbox or as an ordinary local domain? Please see Mercury help for details about how to specify local domains.&lt;/p&gt; &lt;p&gt;/Rolf &lt;/p&gt;

@Rolf Lindby: 

No, "example.ch" is not my real domain. I changed it, because I don't want that my new domain is soon visible everywhere in the web.

I only switched on session logging temporarily because I wanted to know exactly how Mercury works. 

I switched off restrictions, because I was not 100% sure, that relaying options aren't responsible for my problems.

You were right with the local domains: After deleting all entries except "dm=tesuser: example.ch", domain mailboxing works!!

 

But do you all really think sending a e-mail can take a whole minute? When I connect my e-mail client with a freemailer, sending an e-mail just takes a few seconds!

 

Nooooooos 

&lt;p&gt;@Rolf Lindby:&amp;nbsp;&lt;/p&gt;&lt;p&gt;No, &quot;example.ch&quot; is not my real domain. I changed it, because I don&#039;t want that my new domain is soon visible everywhere in the web.&lt;/p&gt;&lt;p&gt;I only switched on session logging temporarily because I wanted to know exactly how Mercury works.&amp;nbsp;&lt;/p&gt;&lt;p&gt;I switched off restrictions, because I was not 100% sure, that relaying options aren&#039;t responsible for my problems.&lt;/p&gt;&lt;p&gt;You were right with the local domains: After deleting all entries except &quot;dm=tesuser: example.ch&quot;, domain mailboxing works!!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;But do you all really think sending a e-mail can take a whole minute? When I connect my e-mail client with a freemailer, sending an e-mail just takes a few seconds!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Nooooooos&amp;nbsp;&lt;/p&gt;
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft