Community Discussions and Support
Can 2 Mercury's communicate across 2 networks..?

Thomas,

Thank you, sir. It's always interesting to read your informative comments.

Best wishes.

Stephen S.

<P>Thomas,</P> <P>Thank you, sir. It's always interesting to read your informative comments.</P> <P>Best wishes.</P> <P>Stephen S.</P>

We have Pmail and Mercury (modules C, D, X) handling our email
services on an "external" network. Mercury runs on a PC connected to this
network and the mailboxes are hosted by the server. Users can send
messages directly to each other directly with Pmail username addressing
(eg. From: fredb >>> To: sallyk). Internet addressing (eg. From:
fred.bloggs@ourhost.com >>> To: webname@webdomain.com) is handled by
Mercury using synonyms.

We also have Pmail handling email on an "internal" network, simply
using direct username addressing and the mailboxes are hosted by a
different server. So, we have 2 separate networks with a PC acting as a
gateway between them.

Some of the users on the "internal" network now have to be able to
send and receive internet messages. If I setup the gateway PC to run
Mercury and handle the internet addressing (as I have done for the
"external" network) how do I get the 2 Mercury's to relay messages to each
other..? Is this possible to get 2 Mercury's to work together..? Do I use
secondary mail queues or do I need to setup other protocol modules..?

If somebody could point me in the right direction, I could probably
work out the rest, but at the moment I'm a bit stumped..!

Thanks for any guidance.

Stephen S. 

<p>We have Pmail and Mercury (modules C, D, X) handling our email services on an "external" network. Mercury runs on a PC connected to this network and the mailboxes are hosted by the server. Users can send messages directly to each other directly with Pmail username addressing (eg. From: fredb >>> To: sallyk). Internet addressing (eg. From: fred.bloggs@ourhost.com >>> To: webname@webdomain.com) is handled by Mercury using synonyms. We also have Pmail handling email on an "internal" network, simply using direct username addressing and the mailboxes are hosted by a different server. So, we have 2 separate networks with a PC acting as a gateway between them. Some of the users on the "internal" network now have to be able to send and receive internet messages. If I setup the gateway PC to run Mercury and handle the internet addressing (as I have done for the "external" network) how do I get the 2 Mercury's to relay messages to each other..? Is this possible to get 2 Mercury's to work together..? Do I use secondary mail queues or do I need to setup other protocol modules..? If somebody could point me in the right direction, I could probably work out the rest, but at the moment I'm a bit stumped..!</p><p>Thanks for any guidance.</p><p>Stephen S. </p>

On 19 Sep 2008 12:45 Pegasus Mail & Mercury - Automated Email <NoReply@praktit.se> wrote:

> We have Pmail and Mercury (modules C, D, X) handling our email services
> on an "external" network. Mercury runs on a PC connected to this network
> and the mailboxes are hosted by the server. Users can send messages
> directly to each other directly with Pmail username addressing (eg. From:
> fredb >>> To: sallyk). Internet addressing (eg. From:
> fred.bloggs@ourhost.com >>> To: webname@webdomain.com) is handled by
> Mercury using synonyms.
>
> We also have Pmail handling email on an "internal" network, simply using
> direct username addressing and the mailboxes are hosted by a different
> server. So, we have 2 separate networks with a PC acting as a gateway
> between them.
>
> Some of the users on the "internal" network now have to be able to send
> and receive internet messages. If I setup the gateway PC to run Mercury
> and handle the internet addressing (as I have done for the "external"
> network) how do I get the 2 Mercury's to relay messages to each other..?
> Is this possible to get 2 Mercury's to work together..? Do I use
> secondary mail queues or do I need to setup other protocol modules..?

1.    Point MercuryC on the internal system to the Mercury gateway system.  

2.    Provide an account for the users on the internal system on the gateway system.

3.     Use MercuryD to download the mail from the gateway system to the internal system.  

4.    Use a domain like internal.mydomain.com on the internal server and alias all of the users on this server to this domain.  This is so internal mail is not sent to the other server.

Now when a internal user sends mail to user@domain.com that is not on the local system it goes to MercuryC and sent to the gateway server.   The gateway server will send it to the internet is requires.

You should force all mail through the Mercury/32 server and you should probably quit using the local deliver via simple usernames since if these local usernames get out on the internet they can cause problems.

>
> If somebody could point me in the right direction, I could probably work
> out the rest, but at the moment I'm a bit stumped..!
>
> Thanks for any guidance.
>
> Stephen S.


On 19 Sep 2008 12:45 Pegasus Mail &amp;amp; Mercury - Automated Email &amp;lt;NoReply@praktit.se&amp;gt; wrote: &amp;gt; We have Pmail and Mercury (modules C, D, X) handling our email services &amp;gt; on an &quot;external&quot; network. Mercury runs on a PC connected to this network &amp;gt; and the mailboxes are hosted by the server. Users can send messages &amp;gt; directly to each other directly with Pmail username addressing (eg. From: &amp;gt; fredb &amp;gt;&amp;gt;&amp;gt; To: sallyk). Internet addressing (eg. From: &amp;gt; fred.bloggs@ourhost.com &amp;gt;&amp;gt;&amp;gt; To: webname@webdomain.com) is handled by &amp;gt; Mercury using synonyms. &amp;gt; &amp;gt; We also have Pmail handling email on an &quot;internal&quot; network, simply using &amp;gt; direct username addressing and the mailboxes are hosted by a different &amp;gt; server. So, we have 2 separate networks with a PC acting as a gateway &amp;gt; between them. &amp;gt; &amp;gt; Some of the users on the &quot;internal&quot; network now have to be able to send &amp;gt; and receive internet messages. If I setup the gateway PC to run Mercury &amp;gt; and handle the internet addressing (as I have done for the &quot;external&quot; &amp;gt; network) how do I get the 2 Mercury&#039;s to relay messages to each other..? &amp;gt; Is this possible to get 2 Mercury&#039;s to work together..? Do I use &amp;gt; secondary mail queues or do I need to setup other protocol modules..? 1.&amp;nbsp;&amp;nbsp; &amp;nbsp;Point MercuryC on the internal system to the Mercury gateway system. &amp;nbsp; 2.&amp;nbsp;&amp;nbsp; &amp;nbsp;Provide an account for the users on the internal system on the gateway system. 3.&amp;nbsp;&amp;nbsp; &amp;nbsp; Use MercuryD to download the mail from the gateway system to the internal system. &amp;nbsp; 4.&amp;nbsp;&amp;nbsp; &amp;nbsp;Use a domain like internal.mydomain.com on the internal server and alias all of the users on this server to this domain.&amp;nbsp; This is so internal mail is not sent to the other server. Now when a internal user sends mail to user@domain.com that is not on the local system it goes to MercuryC and sent to the gateway server.&amp;nbsp;&amp;nbsp; The gateway server will send it to the internet is requires. You should force all mail through the Mercury/32 server and you should probably quit using the local deliver via simple usernames since if these local usernames get out on the internet they can cause problems. &amp;gt; &amp;gt; If somebody could point me in the right direction, I could probably work &amp;gt; out the rest, but at the moment I&#039;m a bit stumped..! &amp;gt; &amp;gt; Thanks for any guidance. &amp;gt; &amp;gt; Stephen S.

Thomas,

Thank you for your guidance. As always, constructive and very helpful. I should be able to work out what to do - like you say, I will need to move away from using local usernames.

 Best regards. Stephen.

&lt;P&gt;Thomas,&lt;/P&gt; &lt;P&gt;Thank you for your guidance. As always, constructive and very&amp;nbsp;helpful. I should be able to work out what to do - like you say, I will need to move away from using&amp;nbsp;local usernames.&lt;/P&gt; &lt;P&gt;&amp;nbsp;Best regards. Stephen.&lt;/P&gt;

Ok, maybe I'm not as clever as I thought:

"3. Use MercuryD to download...etc... etc..."

Surely for this to work, the gateway system needs to be running MercuryP, otherwise how does MercuryD request the users mail from their mailbox?

Thanks.

Stephen S.

&lt;P&gt;Ok, maybe I&#039;m not as clever as I thought:&lt;/P&gt; &lt;P&gt;&quot;3. Use MercuryD to download...etc... etc...&quot;&lt;/P&gt; &lt;P&gt;Surely for this to work, the gateway system needs to be running MercuryP, otherwise how does MercuryD request the users mail from their mailbox?&lt;/P&gt; &lt;P&gt;Thanks.&lt;/P&gt; &lt;P&gt;Stephen S.&lt;/P&gt;

Surely for this to work, the gateway system needs to be running

MercuryP, otherwise how does MercuryD request the users mail from their

mailbox?

Sorry for not being clear.  Of course MercuryP must be running for MercuryD to get the mail.

 

&lt;blockquote&gt;Surely for this to work, the gateway system needs to be running MercuryP, otherwise how does MercuryD request the users mail from their mailbox?&lt;/blockquote&gt;&lt;p&gt;Sorry for not being clear.&amp;nbsp; Of course MercuryP must be running for MercuryD to get the mail.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;

Thomas,

Thanks for your guidance, I can now see how to setup 2 Mercury's across 2 networks.

Having gone through it all, I have discovered that I don't need to run 2 Mercury's: I can write a simple gateway program to transfer CNM files from a dummy mailbox on the "external" network to the real mailbox on the "internal" network. For outgoing mail, I can setup a PMGATE.SYS gateway so that the 101 files can be accessed by the existing Mercury. It may be not as tidy as running 2 Mercury's, but it's a viable alternative (... also, I don't need to purchase another license).

 Regards.

Stephen S.

&lt;P&gt;Thomas,&lt;/P&gt; &lt;P&gt;Thanks for your guidance, I can now see how to setup 2 Mercury&#039;s across 2 networks.&lt;/P&gt; &lt;P&gt;Having&amp;nbsp;gone through it all, I have discovered that I don&#039;t need to run 2 Mercury&#039;s: I can write a simple gateway program to transfer CNM files from a dummy mailbox on the &quot;external&quot; network to the real&amp;nbsp;mailbox on the &quot;internal&quot; network. For outgoing mail, I can setup a&amp;nbsp;PMGATE.SYS gateway&amp;nbsp;so that&amp;nbsp;the 101 files can be accessed by the existing Mercury. It may be not&amp;nbsp;as tidy as running 2 Mercury&#039;s, but it&#039;s a viable alternative (... also,&amp;nbsp;I&amp;nbsp;don&#039;t need to purchase another license).&lt;/P&gt; &lt;P&gt;&amp;nbsp;Regards.&lt;/P&gt; &lt;P&gt;Stephen S.&lt;/P&gt;

Thomas,

I did just try this, but I get a "file creation error" on the POP3 client. Why?

Any ideas?

Regards. Stephen S. 

&lt;P&gt;Thomas,&lt;/P&gt; &lt;P&gt;I did just try this, but I get a &quot;file creation error&quot; on the POP3 client. Why?&lt;/P&gt; &lt;P&gt;Any ideas?&lt;/P&gt; &lt;P&gt;Regards. Stephen S.&amp;nbsp;&lt;/P&gt;

[quote user="cadcambrafe"]

Thomas,

I did just try this, but I get a "file creation error" on the POP3 client. Why?

Any ideas?

Regards. Stephen S. 

[/quote]

 

A path error?  Different drive mapping?  What exactly did you do?

 

[quote user=&quot;cadcambrafe&quot;]&lt;p&gt;Thomas,&lt;/p&gt; &lt;p&gt;I did just try this, but I get a &quot;file creation error&quot; on the POP3 client. Why?&lt;/p&gt; &lt;p&gt;Any ideas?&lt;/p&gt; &lt;p&gt;Regards. Stephen S.&amp;nbsp;&lt;/p&gt;&lt;p&gt;[/quote]&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;A path error?&amp;nbsp; Different drive mapping?&amp;nbsp; What exactly did you do?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;

Hello again, Thomas, 

I loaded the pop3 server on one PC and the pop3 client on the other. Setup a new user with pop3 password and sent an email. The log files on both PC's tell me that the user was recognised, the password was accepted and one message was found. The client PC then reports "File creation error. Delivering anyway." I have only ever seen this before when the network is down or the broadband connection is lost, but the network must be live for the client and server to communicate.

???

Regards. Stephen S.

&lt;P&gt;Hello again,&amp;nbsp;Thomas,&amp;nbsp;&lt;/P&gt; &lt;P&gt;I loaded the pop3 server on one PC and the pop3 client on the other. Setup a new user with pop3&amp;nbsp;password and sent an email. The log files on both PC&#039;s&amp;nbsp;tell me that the user was recognised, the password was accepted and one message was found. The client PC then reports &quot;File creation error. Delivering anyway.&quot; I have only ever seen this before when the network is down or the broadband connection is lost, but the network must be live for the client and server to communicate.&lt;/P&gt; &lt;P&gt;???&lt;/P&gt; &lt;P&gt;Regards. Stephen S.&lt;/P&gt;

Check out the MercuryD POP3 client file and directory specs.  This sounds like MercuryD can't write to a users mail or the work directory.  This is normally c:\mercury\scratch for the work directory so make sure this directory exists.

 

&lt;p&gt;Check out the MercuryD POP3 client file and directory specs.&amp;nbsp; This sounds like MercuryD can&#039;t write to a users mail or the work directory.&amp;nbsp; This is normally c:\mercury\scratch for the work directory so make sure this directory exists. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;

Thanks, Thomas for that suggestion.

I'll check it out.

 Regards. Stephen S.

&lt;P&gt;Thanks, Thomas for that suggestion.&lt;/P&gt; &lt;P&gt;I&#039;ll&amp;nbsp;check it out.&lt;/P&gt; &lt;P&gt;&amp;nbsp;Regards. Stephen S.&lt;/P&gt;

Thomas,

You were correct - there was a typo error in the working directory of the pop3 client.

So, everything works, the client collects from the remote user account via the pop3 server and delivers to the specified local user. Then, on the next test, it delivers to the postmaster. So, I re-test, and it delivers to the correct user, but then it delivers to the postmaster again.

How bizarre... The retrieved messages get randomly delivered to the correct local user or the postmaster..! Has anybody ever come across this oddity..?

Thanks. Stephen S.

&lt;P&gt;Thomas,&lt;/P&gt; &lt;P&gt;You were correct - there was a typo error&amp;nbsp;in the working directory of the pop3&amp;nbsp;client.&lt;/P&gt; &lt;P&gt;So, everything works, the client collects from the remote&amp;nbsp;user account via the pop3 server and delivers&amp;nbsp;to the specified local user. Then, on the next test, it delivers&amp;nbsp;to the postmaster. So, I re-test, and&amp;nbsp;it delivers to the correct user, but then it delivers to the postmaster again.&lt;/P&gt; &lt;P&gt;How bizarre... The retrieved messages get randomly&amp;nbsp;delivered to the correct local user or the postmaster..! Has anybody ever&amp;nbsp;come across this oddity..?&lt;/P&gt; &lt;P&gt;Thanks. Stephen S.&lt;/P&gt;

Not sure what you are saying. 

How are you receiving the mail on the primary system?  MercuryS?   MercuryD? 

Are you using the X-Envelope-To: header on the secondary system  to deliver the mail?

 

&lt;p&gt;Not sure what you are saying.&amp;nbsp; &lt;/p&gt;&lt;p&gt;How are you receiving the mail on the primary system?&amp;nbsp; MercuryS? &amp;nbsp; MercuryD?&amp;nbsp; &lt;/p&gt;&lt;p&gt;Are you using the X-Envelope-To: header on the secondary system&amp;nbsp; to deliver the mail?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;

Hi Thomas,

I'm using MercuryD on the primary system. The pop3 client on the secondary is delivering to a named user, so it ignores all headers.

Confession:

The problem has been solved: It was my fault, because another gateway program that I have running on the secondary network was interfering with the final delivery - it occasionally moved the message to the postmaster account for inspection. It was all a matter of timing as to which got hold of the message first and acted on it. I stopped this other gateway program and all works fine.

I do one another question: Is it okay to have the primary Mercury pop3 client and the secondary pop3 client using the same port 110..? Will they interfere at some point (if they happen to be connecting at the same time) or can Mercury handle the two connections without getting confused..?

Regards.

&lt;P&gt;Hi Thomas,&lt;/P&gt; &lt;P&gt;I&#039;m using MercuryD on the primary system. The pop3 client on the secondary is delivering to a named user, so it ignores all headers.&lt;/P&gt; &lt;P&gt;Confession:&lt;/P&gt; &lt;P&gt;The problem has been solved: It was my fault, because another gateway program that I have running on the secondary network was interfering with the final delivery - it&amp;nbsp;occasionally moved the message to the postmaster account for inspection. It was all a matter of timing as to which got hold of the message first and acted on it. I stopped this other gateway program and all works fine.&lt;/P&gt; &lt;P&gt;I do one another question: Is it okay to have the primary Mercury&amp;nbsp;pop3 client&amp;nbsp;and the secondary&amp;nbsp;pop3 client using the same port 110..? Will they interfere at some point (if they happen to be connecting at the same time)&amp;nbsp;or can Mercury handle the two connections without getting confused..?&lt;/P&gt; &lt;P&gt;Regards.&lt;/P&gt;

I do one another question: Is it okay to have the primary Mercury pop3

client and the secondary pop3 client using the same port 110..? Will

they interfere at some point (if they happen to be connecting at the

same time) or can Mercury handle the two connections without getting

confused..?

The only time it will get confused is when they are both running on the same computer.  The port 110 can only be bound once and the first one running gets it.
&lt;blockquote&gt;I do one another question: Is it okay to have the primary Mercury&amp;nbsp;pop3 client&amp;nbsp;and the secondary&amp;nbsp;pop3 client using the same port 110..? Will they interfere at some point (if they happen to be connecting at the same time)&amp;nbsp;or can Mercury handle the two connections without getting confused..?&lt;/blockquote&gt;The only time it will get confused is when they are both running on the same computer.&amp;nbsp; The port 110 can only be bound once and the first one running gets it.
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