Community Discussions and Support
AW: AW: configure Adressformat

I found a solution that works:

 

I'm running the Mercury and XAMPP on a windows-machine. I don't know why, but the mail-function of php don't work correct on xampp v. 1.7.2.

The function added always <> to the senderaddress and sometimes to the receiveraddress.

I activate the sendmail-function under xampp and all messages will be send correctly to mercury. Sender and receiver-addresses come in

into the mercury with the right format.

&lt;p&gt;I found a solution that works:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&#039;m running the Mercury and XAMPP on a windows-machine. I don&#039;t know why, but the mail-function of php don&#039;t work correct on xampp v. 1.7.2.&lt;/p&gt;&lt;p&gt;The function added always &amp;lt;&amp;gt; to the senderaddress and sometimes to the receiveraddress. &lt;/p&gt;&lt;p&gt;I activate the sendmail-function under xampp and all messages will be send correctly to mercury. Sender and receiver-addresses come in&lt;/p&gt;&lt;p&gt;into the mercury with the right format. &lt;/p&gt;

Hi, i have a little problem and no suggestions to search:

If i send from pegasus mailclient to a local address, the adresses looks like this:

MAIL FROM: <mobi@bighubi.de>
RCPT TO: <joerg_huber@raykiel.com>

both mailaddresses ok, no error message generated on mercury coremodul

 

If i send from a local phpbb3 to a local user the addresses looks like this:

MAIL FROM:<<fs@bighubi.de>>
RCPT TO:<mobi@bighubi.de>

The coremodul produce a message, that mail from address ist invalid, but he send the message to the reciptien.

 

If i send a message from another php-application (phpmyfaq), the two lines looks so:

MAIL FROM:<<newuser@bighubi.de>>
RCPT TO:<<admin@bighubi.de>>

The coremodul tells me, that both adresses are invalid, and no message was send.

I don't know, is it a misconfiguration of mercury or is it a misconfiguration from php?

I use the xampp version 1.7.2 and mercury/32 Version 4.72

It would be nice if you have any suggestions for me.[:D] 

 

 

&lt;p&gt;Hi, i have a little problem and no suggestions to search:&lt;/p&gt;&lt;p&gt;If i send from pegasus mailclient to a local address, the adresses looks like this:&lt;/p&gt;&lt;p&gt;MAIL FROM: &amp;lt;mobi@bighubi.de&amp;gt; RCPT TO: &amp;lt;joerg_huber@raykiel.com&amp;gt;&lt;/p&gt;&lt;p&gt;both mailaddresses ok, no error message generated on mercury coremodul&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;If i send from a local phpbb3 to a local user the addresses looks like this:&lt;/p&gt;&lt;p&gt; MAIL FROM:&amp;lt;&amp;lt;fs@bighubi.de&amp;gt;&amp;gt; RCPT TO:&amp;lt;mobi@bighubi.de&amp;gt;&lt;/p&gt;&lt;p&gt;The coremodul produce a message, that mail from address ist invalid, but he send the message to the reciptien.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;If i send a message from another php-application (phpmyfaq), the two lines looks so:&lt;/p&gt;&lt;p&gt;MAIL FROM:&amp;lt;&amp;lt;newuser@bighubi.de&amp;gt;&amp;gt; RCPT TO:&amp;lt;&amp;lt;admin@bighubi.de&amp;gt;&amp;gt; &lt;/p&gt;&lt;p&gt;The coremodul tells me, that both adresses are invalid, and no message was send.&lt;/p&gt;&lt;p&gt;I don&#039;t know, is it a misconfiguration of mercury or is it a misconfiguration from php?&lt;/p&gt;&lt;p&gt;I use the xampp version 1.7.2 and mercury/32 Version 4.72&lt;/p&gt;&lt;p&gt;It would be nice if you have any suggestions for me.[:D]&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &lt;/p&gt;

Hi,

I believe your problem is that there is no associated mailbox for those addresses.

For example, if fs@bighubi.de does not have an associated existing mailbox where ever your mail boxes exist, the server does not consider them as LOCAL and you get that error.

Create a mailbox for those email address and this will correct. 

OR, in some of my cases, I just add an alais.  I get a CORE error that the address is not valid, but it still sends the mail to where ever I want.

EX: create alais fs@bighubi.de with REAL ADDRESS as admin, and the mail will goto admin account with CORE invalid message, but mail is still delivered.

Hope this helps,

Mark 

&lt;P&gt;Hi,&lt;/P&gt; &lt;P&gt;I believe your problem is that there is no associated mailbox for those addresses.&lt;/P&gt; &lt;P&gt;For example, if &lt;A href=&quot;mailto:fs@bighubi.de&quot;&gt;fs@bighubi.de&lt;/A&gt;&amp;nbsp;does not have an associated&amp;nbsp;existing mailbox&amp;nbsp;where ever your mail boxes exist, the&amp;nbsp;server does not consider them as LOCAL and you get that error.&lt;/P&gt; &lt;P&gt;Create a&amp;nbsp;mailbox for those email address and this will correct.&amp;nbsp; &lt;/P&gt; &lt;P&gt;OR, in some of my cases, I just add an alais.&amp;nbsp; I get&amp;nbsp;a CORE error that the address is not valid, but it still sends the mail to where ever I want.&lt;/P&gt; &lt;P&gt;EX: create alais&amp;nbsp;&lt;A href=&quot;mailto:fs@bighubi.de&quot;&gt;fs@bighubi.de&lt;/A&gt;&amp;nbsp;with REAL ADDRESS as admin, and the mail will goto admin account with CORE&amp;nbsp;invalid message, but mail is still delivered.&lt;/P&gt; &lt;P&gt;Hope this helps,&lt;/P&gt; &lt;P&gt;Mark&amp;nbsp;&lt;/P&gt;

[quote user="Jörg"]

MAIL FROM:<<fs@bighubi.de>>
MAIL FROM:<<newuser@bighubi.de>>
RCPT TO:<<admin@bighubi.de>>

The coremodul tells me, that both adresses are invalid

[/quote]

Listen to your coremodul [:)]

Your php scripts are broken and are inserting 2 x < , which is invalid.

[quote user=&quot;J&ouml;rg&quot;]&lt;p&gt;MAIL FROM:&amp;lt;&amp;lt;fs@bighubi.de&amp;gt;&amp;gt; MAIL FROM:&amp;lt;&amp;lt;newuser@bighubi.de&amp;gt;&amp;gt; RCPT TO:&amp;lt;&amp;lt;admin@bighubi.de&amp;gt;&amp;gt; &lt;/p&gt;&lt;p&gt;The coremodul tells me, that both adresses are invalid&lt;/p&gt;&lt;p&gt;[/quote]&lt;/p&gt;&lt;p&gt;Listen to your coremodul [:)]&lt;/p&gt;&lt;p&gt;Your php scripts are broken and are inserting 2 x &amp;lt; , which is invalid. &lt;/p&gt;

[quote user="Mrpush"]

Hi,

I believe your problem is that there is no associated mailbox for those addresses.

For example, if fs@bighubi.de does not have an associated existing mailbox where ever your mail boxes exist, the server does not consider them as LOCAL and you get that error.

Create a mailbox for those email address and this will correct. 

OR, in some of my cases, I just add an alais.  I get a CORE error that the address is not valid, but it still sends the mail to where ever I want.

EX: create alais fs@bighubi.de with REAL ADDRESS as admin, and the mail will goto admin account with CORE invalid message, but mail is still delivered.

Hope this helps,

Mark 

[/quote]

 Hi Mrpush, every Address has an own user. But is a good idea to attemp it with an alias.

 

[quote user="dilberts_left_nut"][quote user="Jörg"]

MAIL FROM:<<fs@bighubi.de>>
MAIL FROM:<<newuser@bighubi.de>>
RCPT TO:<<admin@bighubi.de>>

The coremodul tells me, that both adresses are invalid

[/quote]

Listen to your coremodul [:)]

Your php scripts are broken and are inserting 2 x < , which is invalid.

[/quote]

Other Mailing systems have no trouble with that. I have not modifyed the scripts. [*-)]

 

[quote user=&quot;Mrpush&quot;]&lt;p&gt;Hi,&lt;/p&gt; &lt;p&gt;I believe your problem is that there is no associated mailbox for those addresses.&lt;/p&gt; &lt;p&gt;For example, if &lt;a href=&quot;mailto:fs@bighubi.de&quot; mce_href=&quot;mailto:fs@bighubi.de&quot;&gt;fs@bighubi.de&lt;/a&gt;&amp;nbsp;does not have an associated&amp;nbsp;existing mailbox&amp;nbsp;where ever your mail boxes exist, the&amp;nbsp;server does not consider them as LOCAL and you get that error.&lt;/p&gt; &lt;p&gt;Create a&amp;nbsp;mailbox for those email address and this will correct.&amp;nbsp; &lt;/p&gt; &lt;p&gt;OR, in some of my cases, I just add an alais.&amp;nbsp; I get&amp;nbsp;a CORE error that the address is not valid, but it still sends the mail to where ever I want.&lt;/p&gt; &lt;p&gt;EX: create alais&amp;nbsp;&lt;a href=&quot;mailto:fs@bighubi.de&quot; mce_href=&quot;mailto:fs@bighubi.de&quot;&gt;fs@bighubi.de&lt;/a&gt;&amp;nbsp;with REAL ADDRESS as admin, and the mail will goto admin account with CORE&amp;nbsp;invalid message, but mail is still delivered.&lt;/p&gt; &lt;p&gt;Hope this helps,&lt;/p&gt; &lt;p&gt;Mark&amp;nbsp;&lt;/p&gt;&lt;p&gt;[/quote]&lt;/p&gt;&lt;p&gt;&amp;nbsp;Hi Mrpush, every Address has an own user. But is a good idea to attemp it with an alias. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;[quote user=&quot;dilberts_left_nut&quot;][quote user=&quot;J&ouml;rg&quot;]&lt;/p&gt;&lt;p&gt;MAIL FROM:&amp;lt;&amp;lt;fs@bighubi.de&amp;gt;&amp;gt; MAIL FROM:&amp;lt;&amp;lt;newuser@bighubi.de&amp;gt;&amp;gt; RCPT TO:&amp;lt;&amp;lt;admin@bighubi.de&amp;gt;&amp;gt; &lt;/p&gt;&lt;p&gt;The coremodul tells me, that both adresses are invalid&lt;/p&gt;&lt;p&gt;[/quote]&lt;/p&gt;&lt;p&gt;Listen to your coremodul [:)]&lt;/p&gt;&lt;p&gt;Your php scripts are broken and are inserting 2 x &amp;lt; , which is invalid. &lt;/p&gt;&lt;p&gt;[/quote]&lt;/p&gt;&lt;p&gt;Other Mailing systems have no trouble with that. I have not modifyed the scripts.&amp;nbsp;[*-)] &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;

Other Mailing systems have no trouble with that. I have not modifyed the scripts.

Turn on session logging in MercuryS to verify what is coming in from your PHP script.  If this script is sending <<user@domain>> in the MAIL FROM: and RCPT TO: addresses then every valid SMTP/ESMTP server is going to have problems with this PHP script.  Quite possibly you have entered the e-mail addresses with the <> and then the sending script is adding the <> as well.

Here a valid MercuryS session log without the actual data part.  This is coming from GMail where this server is being used as the SMTP host for GMail.  I've munged the authentication username and password.

20:58:21.859: Connection from 209.85.217.209, Sun Oct 18 20:58:21 2009<lf>
20:58:21.859: << 220 tstephenson.com ESMTP server ready.<cr><lf>
20:58:21.968: >> EHLO mail-gx0-f209.google.com<cr><lf>
20:58:21.968: << 250-tstephenson.com Hello mail-gx0-f209.google.com; ESMTPs are:<cr><lf>250-TIME<cr><lf>
20:58:21.968: << 250-SIZE 0<cr><lf>
20:58:21.968: << 250-AUTH CRAM-MD5 LOGIN<cr><lf>
20:58:21.968: << 250-AUTH=LOGIN<cr><lf>
20:58:21.968: << 250-STARTTLS<cr><lf>
20:58:21.968: << 250 HELP<cr><lf>
20:58:22.203: >> STARTTLS<cr><lf>
20:58:22.203: << 220 OK, begin SSL/TLS negotiation now.<cr><lf>
20:58:22.468: [*] SSL/TLS session established: 3DES, CBC mode, keysize 192 bits
20:58:22.578: >> EHLO mail-gx0-f209.google.com<cr><lf>
20:58:22.578: << 250-tstephenson.com Hello mail-gx0-f209.google.com; ESMTPs are:<cr><lf>250-TIME<cr><lf>
20:58:22.578: << 250-AUTH CRAM-MD5 LOGIN<cr><lf>
20:58:22.578: << 250-AUTH=LOGIN<cr><lf>
20:58:22.578: << 250 HELP<cr><lf>
20:58:22.703: >> AUTH LOGIN<cr><lf>
20:58:22.703: << 334 VXNlcm5hbWU6<cr><lf>
20:58:22.812: >> ddXNlcj2U1Mlw==<cr><lf>
20:58:22.812: << 334 UdGFzcl3dvc3mQ6<cr><lf>
20:58:22.906: >> cGdFzclzE4O2DM=<cr><lf>
20:58:22.906: << 235 Authentication successful.<cr><lf>
20:58:22.031: >> MAIL FROM:<thomas@tstephenson.com><cr><lf>
20:58:22.031: << 250 Sender OK - send RCPTs.<cr><lf>
20:58:23.140: >> RCPT TO:<techsupp@tstephenson.com><cr><lf>
20:58:23.140: << 250 Recipient OK - send RCPT or DATA.<cr><lf>
20:58:23.234: >> DATA<cr><lf>
20:58:23.234: << 354 OK, send data, end with CRLF.CRLF<cr><lf>
&lt;blockquote&gt;Other Mailing systems have no trouble with that. I have not modifyed the scripts.&lt;/blockquote&gt;&lt;p&gt;Turn on session logging in MercuryS to verify what is coming in from your PHP script.&amp;nbsp; If this script is sending &amp;lt;&amp;lt;user@domain&amp;gt;&amp;gt; in the MAIL FROM: and RCPT TO: addresses then every valid SMTP/ESMTP server is going to have problems with this PHP script.&amp;nbsp; Quite possibly you have entered the e-mail addresses with the &amp;lt;&amp;gt; and then the sending script is adding the &amp;lt;&amp;gt; as well. &lt;/p&gt;&lt;p&gt;Here a valid MercuryS session log without the actual data part.&amp;nbsp; This is coming from GMail where this server is being used as the SMTP host for GMail.&amp;nbsp; I&#039;ve munged the authentication username and password. &lt;/p&gt;20:58:21.859: Connection from 209.85.217.209, Sun Oct 18 20:58:21 2009&amp;lt;lf&amp;gt; 20:58:21.859: &amp;lt;&amp;lt; 220 tstephenson.com ESMTP server ready.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:58:21.968: &amp;gt;&amp;gt; EHLO mail-gx0-f209.google.com&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:58:21.968: &amp;lt;&amp;lt; 250-tstephenson.com Hello mail-gx0-f209.google.com; ESMTPs are:&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt;250-TIME&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:58:21.968: &amp;lt;&amp;lt; 250-SIZE 0&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:58:21.968: &amp;lt;&amp;lt; 250-AUTH CRAM-MD5 LOGIN&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:58:21.968: &amp;lt;&amp;lt; 250-AUTH=LOGIN&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:58:21.968: &amp;lt;&amp;lt; 250-STARTTLS&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:58:21.968: &amp;lt;&amp;lt; 250 HELP&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:58:22.203: &amp;gt;&amp;gt; STARTTLS&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:58:22.203: &amp;lt;&amp;lt; 220 OK, begin SSL/TLS negotiation now.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:58:22.468: [*] SSL/TLS session established: 3DES, CBC mode, keysize 192 bits 20:58:22.578: &amp;gt;&amp;gt; EHLO mail-gx0-f209.google.com&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:58:22.578: &amp;lt;&amp;lt; 250-tstephenson.com Hello mail-gx0-f209.google.com; ESMTPs are:&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt;250-TIME&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:58:22.578: &amp;lt;&amp;lt; 250-AUTH CRAM-MD5 LOGIN&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:58:22.578: &amp;lt;&amp;lt; 250-AUTH=LOGIN&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:58:22.578: &amp;lt;&amp;lt; 250 HELP&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:58:22.703: &amp;gt;&amp;gt; AUTH LOGIN&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:58:22.703: &amp;lt;&amp;lt; 334 VXNlcm5hbWU6&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:58:22.812: &amp;gt;&amp;gt; ddXNlcj2U1Mlw==&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:58:22.812: &amp;lt;&amp;lt; 334 UdGFzcl3dvc3mQ6&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:58:22.906: &amp;gt;&amp;gt; cGdFzclzE4O2DM=&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:58:22.906: &amp;lt;&amp;lt; 235 Authentication successful.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; &lt;b&gt;20:58:22.031: &amp;gt;&amp;gt; MAIL FROM:&amp;lt;thomas@tstephenson.com&amp;gt;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt;&lt;/b&gt; 20:58:22.031: &amp;lt;&amp;lt; 250 Sender OK - send RCPTs.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; &lt;b&gt;20:58:23.140: &amp;gt;&amp;gt; RCPT TO:&amp;lt;techsupp@tstephenson.com&amp;gt;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt;&lt;/b&gt; 20:58:23.140: &amp;lt;&amp;lt; 250 Recipient OK - send RCPT or DATA.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:58:23.234: &amp;gt;&amp;gt; DATA&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 20:58:23.234: &amp;lt;&amp;lt; 354 OK, send data, end with CRLF.CRLF&amp;lt;cr&amp;gt;&amp;lt;lf&amp;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