Community Discussions and Support
Internal administrative notices being relayed?

This (internet name for this system, and local domains) has unfortunately always been rather confusing. Mercury uses the internet name for this system to shape outbound system messages. That fact often creates a "conflict" in response to the answer if MercuryS host (announce myself as) is not entered. The help file is also quite vague here, since the help for MercuryS announce myself as refers to "value in the Mercury My Name field" - that field doesn't exist - but I guess David refers to the Internet name.

What we have done is the following:

Internet name is: mail.praktit.se
MercuryS announce myself is: mail.praktit.se

DNS domain is praktit.se
Host is mail.praktit.se
MX pointer is set to incoming gateway (currently another host)

Domains section therefore read:
mail    praktit.se
mail    mail.praktit.se

The problem is, the bounce messages, that will not return unless the domains section has both entries.

I would have preferred if Internet Name was split into a global setting of Host name, and, server domain be specified separately - but it works the way it is, though ... not clear enough.

<P>This (internet name for this system, and local domains) has unfortunately always been rather confusing. Mercury uses the internet name for this system to shape outbound system messages. That fact often creates a "conflict" in response to the answer if MercuryS host (announce myself as) is not entered. The help file is also quite vague here, since the help for MercuryS announce myself as refers to "value in the Mercury My Name field" - that field doesn't exist - but I guess David refers to the Internet name.</P> <P>What we have done is the following:</P> <P>Internet name is: mail.praktit.se MercuryS announce myself is: mail.praktit.se</P> <P>DNS domain is praktit.se Host is mail.praktit.se MX pointer is set to incoming gateway (currently another host)</P> <P>Domains section therefore read: mail    praktit.se mail    mail.praktit.se</P> <P>The problem is, the bounce messages, that will not return unless the domains section has both entries.</P> <P>I would have preferred if Internet Name was split into a global setting of Host name, and, server domain be specified separately - but it works the way it is, though ... not clear enough.</P>

Hi,

We just recently placed MecuryMail (v4.52) into service to process our membership email via phplist.

Our list is in dire need of cleaning and our 'shared-host' provider had no method for us to receive returned mail (bounces) from phplist script generated mail.

So we decided to use our own hardware and software for 'just' this purpose.

Mercury has generated plenty of error messages for the admin (over 8000 so far). But I had to take Mercury offline when I realized it was trying to 'relay' these messages.

I have the server setup to be a second mail server for the main domain (A record and IP listed in spf/txt record) and I have the admin account created in Mercury ... so why are the messages being relayed when they are already 'at' there destination? What additional settings would be necessary to keep the messages on Mercury? I really don't need 8000+ messages being relayed to our shared-host!

Thanks in advance for any assistance.

Regards,

 

dasanco
 

<p>Hi,</p><p>We just recently placed MecuryMail (v4.52) into service to process our membership email via phplist.</p><p>Our list is in dire need of cleaning and our 'shared-host' provider had no method for us to receive returned mail (bounces) from phplist script generated mail.</p><p>So we decided to use our own hardware and software for 'just' this purpose.</p><p>Mercury has generated plenty of error messages for the admin (over 8000 so far). But I had to take Mercury offline when I realized it was trying to 'relay' these messages.</p><p>I have the server setup to be a second mail server for the main domain (A record and IP listed in spf/txt record) and I have the admin account created in Mercury ... so why are the messages being relayed when they are already 'at' there destination? What additional settings would be necessary to keep the messages on Mercury? I really don't need 8000+ messages being relayed to our shared-host!</p><p>Thanks in advance for any assistance.</p><p>Regards,</p><p> </p><p>dasanco  </p>

Your local domains section must be wrong, and/or the internet name for this system can also be wrong.

Your local domains section must be wrong, and/or the internet name for this system can also be wrong.

I have the server setup to be a second mail server for the main domain

(A record and IP listed in spf/txt record) and I have the admin account

created in Mercury ... so why are the messages being relayed when they

are already 'at' there destination?

I suspect there is a problem with the sending address being non-local or the domain not being in the domains list.  We need to see the headers of one of the bounced messages and the [Domains] section of the mercury.ini.  Host names and IP addresses would also be useful.

 

<blockquote>I have the server setup to be a second mail server for the main domain (A record and IP listed in spf/txt record) and I have the admin account created in Mercury ... so why are the messages being relayed when they are already 'at' there destination?</blockquote><p>I suspect there is a problem with the sending address being non-local or the domain not being in the domains list.  We need to see the headers of one of the bounced messages and the [Domains] section of the mercury.ini.  Host names and IP addresses would also be useful. </p><p> </p>

Thanks guys for the response.

Here is the current DOMAIN section in my mercury.ini (anonymized, of course) 

 [Domains]

MX2: MX2

MX2: MX2.MYDOMAIN.COM

MX2: [222.222.222.222]

 

I'm not quite sure if this the an example of the bounced message header you're looking for or not. I found this in the queue folder after I halted the SMTP service (again, anonymized) ...

To: Electronic Postmaster <Admin@MYDOMAIN.COM>
From: Electronic Postmaster <postmaster@MYDOMAIN.COM>
Date: Sat, 25 Oct 2008 15:48:25 -0400
Subject: Postmaster Notify: Delivery Failure.
MIME-Version: 1.0
Content-type: Text/Plain; charset=US-ASCII
Content-Disposition: Inline
Content-Description: Reason for delivery failure.

The attached message has failed delivery and has been referred
to you as postmaster. The following error report or reports
were given to explain the problem:

   *** Admin@MYDOMAIN.COM
   Temporary error 249 (temporary MX resolution error) resolving 'MYDOMAIN.COM'.
   Temporary error 249 (temporary MX resolution error) resolving 'MYDOMAIN.COM'.
   Temporary error 249 (temporary MX resolution error) resolving 'MYDOMAIN.COM'.

 

Here's the general info you requested; 

HOST name: MX2

HOST IP (VALID): 222.222.222.222

HOST IP (INVALID): 10.10.10.10 

DOMAIN name: MYDOMAIN.COM

Pertinent DNS;

MYDOMAIN.COM.    TXT    "v=spf1 ip4:66.66.66.66 ip4:222.222.222.222 a mx ptr include:<sharedHostName>.com ?all"

MX2    A    222.222.222.222

 

There is no MX record for this IP since it is not in place to serve external STMP clients. This 'may' create rejection issues when sending to some STMP servers, but that is another issue for another day.

 

The overall intention is;

Send mail to our members.

Through the return address in the message, allow them to reply to the main (shared-host) SMTP server

But keep all 'Mercury-generated' mail within Mercury.

Use the Mercury's POP3 service just for retrieving those admin/postmaster messages with a local mail client.

 

I'm I close?

 

Thanks again for the help!
 


 

&lt;p&gt;Thanks guys for the response.&lt;/p&gt;&lt;p&gt;Here is the current DOMAIN section in my mercury.ini (anonymized, of course)&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;[Domains]&lt;/p&gt;&lt;p&gt;MX2: MX2&lt;/p&gt;&lt;p&gt;MX2: MX2.MYDOMAIN.COM&lt;/p&gt;&lt;p&gt;MX2: [222.222.222.222]&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&#039;m not quite sure if this the an example of the bounced message header you&#039;re looking for or not. I found this in the queue folder after I halted the SMTP service (again, anonymized) ...&lt;/p&gt;&lt;p&gt;To: Electronic Postmaster &amp;lt;Admin@MYDOMAIN.COM&amp;gt; From: Electronic Postmaster &amp;lt;postmaster@MYDOMAIN.COM&amp;gt; Date: Sat, 25 Oct 2008 15:48:25 -0400 Subject: Postmaster Notify: Delivery Failure. MIME-Version: 1.0 Content-type: Text/Plain; charset=US-ASCII Content-Disposition: Inline Content-Description: Reason for delivery failure. The attached message has failed delivery and has been referred to you as postmaster. The following error report or reports were given to explain the problem: &amp;nbsp;&amp;nbsp; *** Admin@MYDOMAIN.COM &amp;nbsp;&amp;nbsp; Temporary error 249 (temporary MX resolution error) resolving &#039;MYDOMAIN.COM&#039;. &amp;nbsp;&amp;nbsp; Temporary error 249 (temporary MX resolution error) resolving &#039;MYDOMAIN.COM&#039;. &amp;nbsp;&amp;nbsp; Temporary error 249 (temporary MX resolution error) resolving &#039;MYDOMAIN.COM&#039;.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Here&#039;s the general info you requested;&amp;nbsp;&lt;/p&gt;&lt;p&gt;HOST name: MX2&lt;/p&gt;&lt;p&gt;HOST IP (VALID): 222.222.222.222&lt;/p&gt;&lt;p&gt;HOST IP (INVALID): 10.10.10.10&amp;nbsp;&lt;/p&gt;&lt;p&gt;DOMAIN name: MYDOMAIN.COM&lt;/p&gt;&lt;p&gt;Pertinent DNS;&lt;/p&gt;&lt;p&gt;MYDOMAIN.COM. &amp;nbsp;&amp;nbsp; TXT&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;v=spf1 ip4:66.66.66.66 ip4:222.222.222.222 a mx ptr include:&amp;lt;sharedHostName&amp;gt;.com ?all&quot;&lt;/p&gt;&lt;p&gt;MX2 &amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; 222.222.222.222&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;There is no MX record for this IP since it is not in place to serve external STMP clients. This &#039;may&#039; create rejection issues when sending to some STMP servers, but that is another issue for another day.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The overall intention is;&lt;/p&gt;&lt;p&gt;Send mail to our members.&lt;/p&gt;&lt;p&gt;Through the return address in the message, allow them to reply to the main (shared-host) SMTP server&lt;/p&gt;&lt;p&gt;But keep all &#039;Mercury-generated&#039; mail within Mercury. &lt;/p&gt;&lt;p&gt;Use the Mercury&#039;s POP3 service just for retrieving those admin/postmaster messages with a local mail client.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&#039;m I close?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks again for the help! &amp;nbsp;&lt;/p&gt;&lt;p&gt; &amp;nbsp;&lt;/p&gt;

[quote user="dasanco"] [Domains]

MX2: MX2

MX2: MX2.MYDOMAIN.COM

MX2: [222.222.222.222][/quote]

Somewhere on the RHS you have to have the domain you are handling mail for.  In your case probably 'mydomain.com' .  Without that, it's going to try to forward on any mail it gets for that domain.

[quote user=&quot;dasanco&quot;] [Domains]&lt;p&gt;MX2: MX2&lt;/p&gt;&lt;p&gt;MX2: MX2.MYDOMAIN.COM&lt;/p&gt;&lt;p&gt;MX2: [222.222.222.222][/quote]&lt;/p&gt;&lt;p&gt;Somewhere on the RHS you have to have the domain you are handling mail for.&amp;nbsp; In your case probably &#039;mydomain.com&#039; .&amp;nbsp; Without that, it&#039;s going to try to forward on any mail it gets for that domain.&lt;/p&gt;

Thank you for the post Paul,

You are probably very close (if not right on) the source of the issue.

Although, I do have the following setting CHECKED;

Mercury SMTP Server --> Connection control --> Relaying control --> Do not permit SMTP relaying of non-local mail 

Relaying is the same as forwarding, I think? And should/would prevent Mercury from trying to forward, no?

The HELP file for and the note within the "Mercury Core Module Configuration" indicate that the setup of the "Local Domains" section is EXTREMELY important to proper operation. And I think this section is the source of the [Domains] section of the Mercury.ini file? However, it FAILS miserably to describe exactly what it is that is required. I used the example as best I could to provide that info.

 
But I agree, Mercury needs to be aware of the domain(s) it is servicing as 'local'. It just is not clear now that information needs to be conveyed?

 
BTW: Although I grasp the general idea of your message, I have no idea what the abbreviation "RHS" stands for. If it significant to the meaning of your message, please let me know.

 

Thanks again ... and I welcome any other input that might clear my confusion!
 

&lt;p&gt;Thank you for the post Paul,&lt;/p&gt;&lt;p&gt;You are probably very close (if not right on) the source of the issue.&lt;/p&gt;&lt;p&gt;Although, I do have the following setting CHECKED;&lt;/p&gt;&lt;p&gt;Mercury SMTP Server --&amp;gt; Connection control --&amp;gt; Relaying control --&amp;gt; Do not permit SMTP relaying of non-local mail&amp;nbsp;&lt;/p&gt;&lt;p&gt;Relaying is the same as forwarding, I think? And should/would prevent Mercury from trying to forward, no? &lt;/p&gt;&lt;p&gt;The HELP file for and the note within the &quot;Mercury Core Module Configuration&quot; indicate that the setup of the &quot;Local Domains&quot; section is EXTREMELY important to proper operation. And I think this section is the source of the [Domains] section of the Mercury.ini file? However, it FAILS miserably to describe exactly what it is that is required. I used the example as best I could to provide that info.&lt;/p&gt;&lt;p&gt;&amp;nbsp; But I agree, Mercury needs to be aware of the domain(s) it is servicing as &#039;local&#039;. It just is not clear now that information needs to be conveyed?&lt;/p&gt;&lt;p&gt;&amp;nbsp; BTW: Although I grasp the general idea of your message, I have no idea what the abbreviation &quot;RHS&quot; stands for. If it significant to the meaning of your message, please let me know.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks again ... and I welcome any other input that might clear my confusion! &amp;nbsp;&lt;/p&gt;

[quote user="dasanco"]

Thank you for the post Paul,

You are probably very close (if not right on) the source of the issue.

Although, I do have the following setting CHECKED;

Mercury SMTP Server --> Connection control --> Relaying control --> Do not permit SMTP relaying of non-local mail 

Relaying is the same as forwarding, I think? And should/would prevent Mercury from trying to forward, no?[/quote]No. Relaying is accepting (via SMTP server) and passing on (via SMTP client) mail for NON-LOCAL addresses.[quote]

The HELP file for and the note within the "Mercury Core Module Configuration" indicate that the setup of the "Local Domains" section is EXTREMELY important to proper operation. And I think this section is the source of the [Domains] section of the Mercury.ini file? However, it FAILS miserably to describe exactly what it is that is required. I used the example as best I could to provide that info.

 
But I agree, Mercury needs to be aware of the domain(s) it is servicing as 'local'. It just is not clear now that information needs to be conveyed?

 
BTW: Although I grasp the general idea of your message, I have no idea what the abbreviation "RHS" stands for. If it significant to the meaning of your message, please let me know.[/quote]Right Hand Side [:)][quote]

 

Thanks again ... and I welcome any other input that might clear my confusion!
 

[/quote]

You have an inherent problem in your setup, in that you are trying to have your Mercury server handle mail for a domain that is *actually* handled elsewhere.

If you ONLY send to external (i.e. NOT *@mydomain.com) addresses via mercury this should be workable, with any bounces coming back via your registered MX host.

Any mail that Mercury sees addressed to user@mydomain.com, it will attempt to deliver locally, and fail if that user does not exist.


[quote user=&quot;dasanco&quot;]&lt;p&gt;Thank you for the post Paul,&lt;/p&gt;&lt;p&gt;You are probably very close (if not right on) the source of the issue.&lt;/p&gt;&lt;p&gt;Although, I do have the following setting CHECKED;&lt;/p&gt;&lt;p&gt;Mercury SMTP Server --&amp;gt; Connection control --&amp;gt; Relaying control --&amp;gt; Do not permit SMTP relaying of non-local mail&amp;nbsp;&lt;/p&gt;&lt;p&gt;Relaying is the same as forwarding, I think? And should/would prevent Mercury from trying to forward, no?[/quote]No. Relaying is accepting (via SMTP server) and passing on (via SMTP client) mail for NON-LOCAL addresses.[quote] &lt;/p&gt;&lt;p&gt;The HELP file for and the note within the &quot;Mercury Core Module Configuration&quot; indicate that the setup of the &quot;Local Domains&quot; section is EXTREMELY important to proper operation. And I think this section is the source of the [Domains] section of the Mercury.ini file? However, it FAILS miserably to describe exactly what it is that is required. I used the example as best I could to provide that info.&lt;/p&gt;&lt;p&gt;&amp;nbsp; But I agree, Mercury needs to be aware of the domain(s) it is servicing as &#039;local&#039;. It just is not clear now that information needs to be conveyed?&lt;/p&gt;&lt;p&gt;&amp;nbsp; BTW: Although I grasp the general idea of your message, I have no idea what the abbreviation &quot;RHS&quot; stands for. If it significant to the meaning of your message, please let me know.[/quote]&lt;b&gt;R&lt;/b&gt;ight &lt;b&gt;H&lt;/b&gt;and &lt;b&gt;S&lt;/b&gt;ide [:)][quote] &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks again ... and I welcome any other input that might clear my confusion! &amp;nbsp;&lt;/p&gt;&lt;p&gt;[/quote]&lt;/p&gt;&lt;p&gt;You have an inherent problem in your setup, in that you are trying to have your Mercury server handle mail for a domain that is *actually* handled elsewhere.&lt;/p&gt;&lt;p&gt;If you &lt;b&gt;ONLY&lt;/b&gt; send to external (i.e. NOT *@mydomain.com) addresses via mercury this should be workable, with any bounces coming back via your registered MX host.&lt;/p&gt;&lt;p&gt;Any mail that Mercury sees addressed to user@mydomain.com, it will attempt to deliver locally, and fail if that user does not exist. &lt;/p&gt;&lt;p&gt; &lt;/p&gt;

[quote user="dasanco"]But I agree, Mercury needs to be aware of the domain(s) it is servicing as 'local'. It just is not clear now that information needs to be conveyed?[/quote]

mx2:   mydomain.com  is the one single entry you must have.

You won't need the mx2.mydomain.com entry unless you are receiving mail for that domain.

 

&lt;p&gt;[quote user=&quot;dasanco&quot;]But I agree, Mercury needs to be aware of the domain(s) it is servicing as &#039;local&#039;. It just is not clear now that information needs to be conveyed?[/quote]&lt;/p&gt;&lt;p&gt;mx2: &amp;nbsp; mydomain.com&amp;nbsp; is the one single entry you must have. &lt;/p&gt;&lt;p&gt;You won&#039;t need the mx2.mydomain.com entry unless you are receiving mail for that domain. &lt;/p&gt;&lt;p&gt;&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