Community Discussions and Support
Simple but again? Multiple domains in one install

I solved it! For the others that have same problems:

Its an windows routing problem... For each IP Windows adds an default route. To see type in CMD: "nestat -rn"

Windows takes the route with the smallest "cost", the metric value. By default all 3 default routes have the same

metric and the second route is taken by random. Now i changed the metric of the route with the wanted outgoing IP -1.

(Before: 256, Now: 255) An nice tool for changing the routes ist "NetRouteView" for Windows. Now everything works! :)

Thanks dilbert_left_nut!

<P>I solved it! For the others that have same problems:</P> <P>Its an windows routing problem... For each IP Windows adds an default route. To see type in CMD: "nestat -rn"</P> <P>Windows takes the route with the smallest "cost", the metric value. By default all 3 default routes have the same</P> <P>metric and the second route is taken by random. Now i changed the metric of the route with the wanted outgoing IP -1.</P> <P>(Before: 256, Now: 255) An nice tool for changing the routes ist "NetRouteView" for Windows. Now everything works! :)</P> <P>Thanks dilbert_left_nut!</P>

Hi everybody,

i tried to understand the posts before but i did not. I only want to use my working mercury server install with several domains.
I have one server with one licenced mercury install. This one Server have 3 IPs that I all use for MX Records.

So is this setting correct??

[Domains]
liktor: liktor
liktor: localhost
liktor: maindomain.de
liktor: [85.88.13.39]
liktor: [85.88.13.129]
liktor: [78.111.72.209]
liktor: domain2.de
liktor: domain3.de
liktor: domain4.de

Thanks Michael

<P>Hi everybody,</P> <P>i tried to understand the posts before but i did not. I only want to use my working mercury server install with several domains. I have one server with one licenced mercury install. This one Server have 3 IPs that I all use for MX Records. So is this setting correct??</P> <P>[Domains] liktor: liktor liktor: localhost liktor: maindomain.de liktor: [85.88.13.39] liktor: [85.88.13.129] liktor: [78.111.72.209] liktor: domain2.de liktor: domain3.de liktor: domain4.de </P> <P>Thanks Michael</P>

Thanks... But... :)

 I get some strange Header things... I send an Email from an user of domain1.de but
in the receive information I get an Received from domain2.de and EHLO maindomain.de
maindomain.de is okay I think but I dont know why i get domain2 in an domain1 email?

From: "Michael Klar" <user@domain1.de>
Delivered-To: GMX delivery to xxxx@gmx.de
Received: (qmail invoked by alias); 27 Apr 2010 18:40:10 -0000
Received: from domain2.de (EHLO maindomain.de) [85.88.13.129]
  by mx0.gmx.net (mx094) with SMTP; 27 Apr 2010 20:40:10 +0200
Received: from Spooler by maindomain.de (Mercury/32 v4.72) ID MO000016;
    27 Apr 2010 20:39:44 +0200
Received: from spooler by maindomain.de (Mercury/32 v4.72); 27 Apr 2010 20:39:29 +0200

So I think there must be an configuration problem... :( Any idea?

 

Thanks Michael

&lt;P&gt;Thanks... But... :)&lt;/P&gt; &lt;P&gt;&amp;nbsp;I get some strange Header things... I send an Email from an user of domain1.de but in the receive information I get an Received from domain2.de and EHLO maindomain.de maindomain.de is okay I think but I dont know why i get domain2 in an domain1 email? From: &quot;Michael Klar&quot; &amp;lt;user@domain1.de&amp;gt; Delivered-To: GMX delivery to &lt;A href=&quot;mailto:xxxx@gmx.de&quot; mce_href=&quot;mailto:xxxx@gmx.de&quot;&gt;xxxx@gmx.de&lt;/A&gt; Received: (qmail invoked by alias); 27 Apr 2010 18:40:10 -0000 Received: from domain2.de (EHLO maindomain.de) [85.88.13.129] &amp;nbsp; by mx0.gmx.net (mx094) with SMTP; 27 Apr 2010 20:40:10 +0200 Received: from Spooler by maindomain.de (Mercury/32 v4.72) ID MO000016; &amp;nbsp;&amp;nbsp;&amp;nbsp; 27 Apr 2010 20:39:44 +0200 Received: from spooler by maindomain.de (Mercury/32 v4.72); 27 Apr 2010 20:39:29 +0200 So I think there must be an configuration problem... :( Any idea?&lt;/P&gt; &lt;P mce_keep=&quot;true&quot;&gt;&amp;nbsp;&lt;/P&gt; &lt;P&gt;Thanks Michael&lt;/P&gt;

Well it looks like you have 'maindomain.de' as the 'internet name for this system' and/or 'announce myself as' in MercS.

The "Recieved from: domain2.de" is added by the GMX server after doing a reverse lookup on your connecting ip address.

If you want different configurations for each sending domain you will need to run seperate instances of Mercury.

&lt;p&gt;Well it looks like you have &#039;maindomain.de&#039; as the &#039;internet name for this system&#039; and/or &#039;announce myself as&#039; in MercS.&lt;/p&gt;&lt;p&gt;The &quot;Recieved from: domain2.de&quot; is added by the GMX server after doing a reverse lookup on your connecting ip address.&lt;/p&gt;&lt;p&gt;If you want different configurations for each sending domain you will need to run seperate instances of Mercury. &lt;/p&gt;

Okay, so the domain2.de ist because of the PTR of the connection IP (85.88.13.129)? Thats right, thats setted!

But why is domain2.de`s IP the connection IP ? Thats not correct! I have 3 IPs and I always want to take maindomain.de
(PTR setted to 85.88.13.39) for connections (OR the correct emailsenders domain1.de`s IP (From: xxx@domain1.de))
but NOT the IP and domain2.de of another client. Where do I have to configure that?

&lt;P&gt;Okay, so the domain2.de ist because of the PTR of the connection IP (85.88.13.129)? Thats right, thats setted!&lt;/P&gt; &lt;P&gt;But why is domain2.de`s IP&amp;nbsp;the connection IP ? Thats not correct! I have 3 IPs and I always want to take maindomain.de (PTR setted to 85.88.13.39) for connections (OR the correct emailsenders domain1.de`s IP (From: &lt;A href=&quot;mailto:xxx@domain1.de&quot; mce_href=&quot;mailto:xxx@domain1.de&quot;&gt;xxx@domain1.de&lt;/A&gt;)) but NOT the IP and domain2.de of another client. Where do I have to configure that?&lt;/P&gt;

In windows I suspect.

I'm not able to check Merc (quickly) at the moment, but I don't recall being able to bind the MercE client to a specific interface, unlike the server modules.

I think it just asks windows for an outgoing connection.

You may have to fiddle with the routing table (metrics etc.) to set your preferred interface as the default.

&lt;p&gt;In windows I suspect.&lt;/p&gt;&lt;p&gt;I&#039;m not able to check Merc (quickly) at the moment, but I don&#039;t recall being able to bind the MercE client to a specific interface, unlike the server modules.&lt;/p&gt;&lt;p&gt;I think it just asks windows for an outgoing connection.&lt;/p&gt;&lt;p&gt;You may have to fiddle with the routing table (metrics etc.) to set your preferred interface as the default. &lt;/p&gt;

Mhmm... so you are right, it seems that Mercury binds to the wrong IP... is there non possibility to do that?

I checked windows and this wrong ip is not setted as first and not at last, so it doesnt make sense to choose that.

I MercuryE there is the setting "identify myself as"... is that an chance? Or set the IP here with [right_IP]?

&lt;P&gt;Mhmm... so you are right, it seems that Mercury binds to the wrong IP... is there non possibility to do that?&lt;/P&gt; &lt;P&gt;I checked windows and this wrong ip is not setted as first and not at last, so it doesnt make sense to choose that.&lt;/P&gt; &lt;P&gt;I MercuryE there is the setting &quot;identify myself as&quot;... is that an chance? Or set the IP here with [right_IP]?&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