Community Discussions and Support
Non-standard X-Envelope-To: header line

The "FOR" designation in trace fields records the recipients for which an SMTP mailer accepted responsibility.  It's rarely used, often not provided, is optional according to spec, and is in any case only permitted to hold one forward-path (multiple forward-paths long deprecated for security reasons).  The FOR clause doesn't record the mailbox to which the mail was delivered - that will be handled by a Mail Delivery Agent and isn't the responsibility of the MTA since it has no function to SMTP mail delivery (Mercury uses a different X-line for this).

 

Cheers,

Sabahattin

 

<P>The "FOR" designation in trace fields records the recipients for which an SMTP mailer accepted responsibility.  It's rarely used, often not provided, is optional according to spec, and is in any case only permitted to hold one forward-path (multiple forward-paths long deprecated for security reasons).  The FOR clause doesn't record the mailbox to which the mail was delivered - that will be handled by a Mail Delivery Agent and isn't the responsibility of the MTA since it has no function to SMTP mail delivery (Mercury uses a different X-line for this).</P> <P mce_keep="true"> </P> <P>Cheers,</P> <P>Sabahattin</P> <P mce_keep="true"> </P>

This line is inserted by Mercury to preserve the Envelope address to help POP3 delivery.

Unfortunately this  is not a standard recognised by a mail server that collects via POP3 from the Mercury mailbox.

I understand that the universal standard is to include in the headers a line of the format

     Received: from xxxxxx by yyyyyyyy  for <envelope address>

 Unfortunately, it seems that Mercury does not add the "for" part.

Is there any way to make Mercury do this?

&lt;p&gt;This line is inserted by Mercury to preserve the Envelope address to help POP3 delivery.&lt;/p&gt;&lt;p&gt;Unfortunately this&amp;nbsp; is not a standard recognised by a mail server that collects via POP3 from the Mercury mailbox.&lt;/p&gt;&lt;p&gt;I understand that the universal standard is to include in the headers a line of the format&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Received: from xxxxxx by yyyyyyyy&amp;nbsp; for &amp;lt;envelope address&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Unfortunately, it seems that Mercury does not add the &quot;for&quot; part.&lt;/p&gt;&lt;p&gt;Is there any way to make Mercury do this? &lt;/p&gt;

As a SMTP message can have any number of recipients at the same destination server (To, Cc, and Bcc addresses) I don't see a way to add that information reliably in the Received header during the SMTP session. The X-Envelope-To header is added in the next step when Mercury core delivers the message to each recipient's mailbox.

Mercury's POP3 client is configurable to recognize different headers containing delivery address information. Perhaps the mail server that collects mail from your server can be configured in a similar way?

/Rolf 

&lt;p&gt;As a SMTP message can have any number of recipients at the same destination server (To, Cc, and Bcc addresses) I don&#039;t see a way to add that information reliably in the Received header during the SMTP session. The X-Envelope-To header is added in the next step when Mercury core delivers the message to each recipient&#039;s mailbox.&lt;/p&gt;&lt;p&gt;Mercury&#039;s POP3 client is configurable to recognize different headers containing delivery address information. Perhaps the mail server that collects mail from your server can be configured in a similar way?&lt;/p&gt;&lt;p&gt;/Rolf&nbsp;&lt;/p&gt;

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 11"><meta name="Originator" content="Microsoft Word 11"><link href="file:///C:%5CDOCUME%7E1%5CLESLIE%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C06%5Cclip_filelist.xml" rel="File-List"><!--[if gte mso 9]><xml> </p><p> <w:WordDocument> </p><p> <w:View>Normal</w:View> </p><p> <w:Zoom>0</w:Zoom> </p><p> <w:PunctuationKerning/> </p><p> <w:ValidateAgainstSchemas/> </p><p> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> </p><p> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> </p><p> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> </p><p> <w:Compatibility> </p><p> <w:BreakWrappedTables/> </p><p> <w:SnapToGridInCell/> </p><p> <w:WrapTextWithPunct/> </p><p> <w:UseAsianBreakRules/> </p><p> <w:DontGrowAutofit/> </p><p> </w:Compatibility> </p><p> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </p><p> </w:WordDocument> </p><p></xml><![endif]--><!--[if gte mso 9]><xml> </p><p> <w:LatentStyles DefLockedState="false" LatentStyleCount="156"> </p><p> </w:LatentStyles> </p><p></xml><![endif]--><style> </style>

<!-- </p><p> /* Style Definitions */ </p><p> p.MsoNormal, li.MsoNormal, div.MsoNormal </p><p> {mso-style-parent:""; </p><p> margin:0in; </p><p> margin-bottom:.0001pt; </p><p> mso-pagination:widow-orphan; </p><p> font-size:12.0pt; </p><p> font-family:"Times New Roman"; </p><p> mso-fareast-font-family:"Times New Roman"; </p><p> mso-ansi-language:EN-GB;} </p><p>p </p><p> {mso-margin-top-alt:auto; </p><p> margin-right:0in; </p><p> mso-margin-bottom-alt:auto; </p><p> margin-left:0in; </p><p> mso-pagination:widow-orphan; </p><p> font-size:12.0pt; </p><p> font-family:"Times New Roman"; </p><p> mso-fareast-font-family:"Times New Roman";} </p><p>@page Section1 </p><p> {size:8.5in 11.0in; </p><p> margin:1.0in 1.25in 1.0in 1.25in; </p><p> mso-header-margin:.5in; </p><p> mso-footer-margin:.5in; </p><p> mso-paper-source:0;} </p><p>div.Section1 </p><p> {page:Section1;} </p><p>-->

<!--[if gte mso 10]> </p><p><style> </p><p> /* Style Definitions */ </p><p> table.MsoNormalTable </p><p> {mso-style-name:"Table Normal"; </p><p> mso-tstyle-rowband-size:0; </p><p> mso-tstyle-colband-size:0; </p><p> mso-style-noshow:yes; </p><p> mso-style-parent:""; </p><p> mso-padding-alt:0in 5.4pt 0in 5.4pt; </p><p> mso-para-margin:0in; </p><p> mso-para-margin-bottom:.0001pt; </p><p> mso-pagination:widow-orphan; </p><p> font-size:10.0pt; </p><p> font-family:"Times New Roman"; </p><p> mso-ansi-language:#0400; </p><p> mso-fareast-language:#0400; </p><p> mso-bidi-language:#0400;} </p><p></style> </p><p><![endif]-->My understanding of the SMTP protocol is that a message destined for many

recipients will result in several "RCPT TO" lines during the initial

handshake and the receiving server will then save a separate unique copy for

each recipient.

The fact that Mercury can write an  "X-Envelope-To" header

means that it could equally well write a standards compliant

"Received:" line.

Our mail client is standards compliant but unfortunately cannot be changed

to cope with non-standard headers.

Is there a mechanism  to feed change requests back to the author?

&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;&lt;meta name=&quot;ProgId&quot; content=&quot;Word.Document&quot;&gt;&lt;meta name=&quot;Generator&quot; content=&quot;Microsoft Word 11&quot;&gt;&lt;meta name=&quot;Originator&quot; content=&quot;Microsoft Word 11&quot;&gt;&lt;link href=&quot;file:///C:%5CDOCUME%7E1%5CLESLIE%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C06%5Cclip_filelist.xml&quot; rel=&quot;File-List&quot;&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt; &lt;w:WordDocument&gt; &lt;w:View&gt;Normal&lt;/w:View&gt; &lt;w:Zoom&gt;0&lt;/w:Zoom&gt; &lt;w:PunctuationKerning/&gt; &lt;w:ValidateAgainstSchemas/&gt; &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt; &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt; &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt; &lt;w:Compatibility&gt; &lt;w:BreakWrappedTables/&gt; &lt;w:SnapToGridInCell/&gt; &lt;w:WrapTextWithPunct/&gt; &lt;w:UseAsianBreakRules/&gt; &lt;w:DontGrowAutofit/&gt; &lt;/w:Compatibility&gt; &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt; &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt; &lt;w:LatentStyles DefLockedState=&quot;false&quot; LatentStyleCount=&quot;156&quot;&gt; &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:&quot;&quot;; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:&quot;Times New Roman&quot;; mso-fareast-font-family:&quot;Times New Roman&quot;; mso-ansi-language:EN-GB;} p {mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; mso-pagination:widow-orphan; font-size:12.0pt; font-family:&quot;Times New Roman&quot;; mso-fareast-font-family:&quot;Times New Roman&quot;;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt; /* Style Definitions */ table.MsoNormalTable {mso-style-name:&quot;Table Normal&quot;; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:&quot;&quot;; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:&quot;Times New Roman&quot;; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;My understanding of the SMTP protocol is that a message destined for many recipients will result in several &quot;RCPT TO&quot; lines during the initial handshake and the receiving server will then save a separate unique copy for each recipient.&lt;o:p&gt;&lt;/o:p&gt; &lt;p&gt;The fact that Mercury can write an&amp;nbsp; &quot;X-Envelope-To&quot; header means that it could equally well write a standards compliant &quot;Received:&quot; line.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p&gt;Our mail client is standards compliant but unfortunately cannot be changed to cope with non-standard headers. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p&gt;Is there a mechanism&amp;nbsp; to feed change requests back to the author?&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

My understanding of the SMTP protocol is that a message destined for many

recipients will result in several "RCPT TO" lines during the initial

handshake and the receiving server will then save a separate unique copy for

each recipient.

Mercury does this but it is not required by the RFC to do this.  Many older SMTP systems same message to each mailbox, nothing in the RFC 2822 headers then will indicate the original RCPT TO: addresses.

The fact that Mercury can write an  "X-Envelope-To" header

means that it could equally well write a standards compliant

"Received:" line.

Mercury is writing a standards compliant Received line.   It is an SMTP server operating IAW RFC 2821.  There is no requirement that I can find in RFC 2821 to add the RCPT TO: address to any RFC 2822 message Received: line.  There is a section in the RFC that talks gatewaying and adding the original SMTP addresses to the RFC 2822 message body.  I personally consider mail going from the SMTP to the POP3 system mail gatewaying, many do not..

3.8.1 Header Fields in Gatewaying

Header fields MAY be rewritten when necessary as messages are
gatewayed across mail environment boundaries. This may involve
inspecting the message body or interpreting the local-part of the
destination address in spite of the prohibitions in section 2.4.1.

Other mail systems gatewayed to the Internet often use a subset of
RFC 822 headers or provide similar functionality with a different
syntax, but some of these mail systems do not have an equivalent to
the SMTP envelope. Therefore, when a message leaves the Internet
environment, it may be necessary to fold the SMTP envelope
information into the message header. A possible solution would be to
create new header fields to carry the envelope information (e.g.,
"X-SMTP-MAIL:" and "X-SMTP-RCPT:"); however, this would require
changes in mail programs in foreign environments and might risk
disclosure of private information (see section 7.2).

Our mail client is standards compliant but unfortunately cannot be changed

to cope with non-standard headers.

What mail client?  What standards compliant headers specified by RFC 2821 does this mail client support?

Is there a mechanism  to feed change requests back to the author?

If you can cite an RFC that provides a requirement for anything I'm quite sure that David Harris would change the program to bring it into compliance.

&lt;blockquote&gt;&lt;p&gt;My understanding of the SMTP protocol is that a message destined for many recipients will result in several &quot;RCPT TO&quot; lines during the initial handshake and the receiving server will then save a separate unique copy for each recipient.&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Mercury does this but it is not required by the RFC to do this.&amp;nbsp; Many older SMTP systems same message to each mailbox, nothing in the RFC 2822 headers then will indicate the original RCPT TO: addresses. &lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;The fact that Mercury can write an&amp;nbsp; &quot;X-Envelope-To&quot; header means that it could equally well write a standards compliant &quot;Received:&quot; line.&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Mercury is writing a standards compliant Received line. &amp;nbsp; It is an SMTP server operating IAW RFC 2821.&amp;nbsp; There is no requirement that I can find in RFC 2821 to add the RCPT TO: address to any RFC 2822 message Received: line.&amp;nbsp; There is a section in the RFC that talks gatewaying and adding the original SMTP addresses to the RFC 2822 message body.&amp;nbsp; I personally consider mail going from the SMTP to the POP3 system mail gatewaying, many do not.. &lt;/p&gt;&lt;pre&gt;&lt;font size=&quot;2&quot; face=&quot;courier new,courier&quot;&gt;3.8.1 Header Fields in Gatewaying Header fields MAY be rewritten when necessary as messages are gatewayed across mail environment boundaries. This may involve inspecting the message body or interpreting the local-part of the destination address in spite of the prohibitions in section 2.4.1. Other mail systems gatewayed to the Internet often use a subset of RFC 822 headers or provide similar functionality with a different syntax, but some of these mail systems do not have an equivalent to the SMTP envelope. Therefore, when a message leaves the Internet environment, it may be necessary to fold the SMTP envelope information into the message header. A possible solution would be to create new header fields to carry the envelope information (e.g., &quot;X-SMTP-MAIL:&quot; and &quot;X-SMTP-RCPT:&quot;); however, this would require changes in mail programs in foreign environments and might risk disclosure of private information (see section 7.2).&lt;/font&gt; &lt;/pre&gt;&lt;blockquote&gt;&lt;p&gt;Our mail client is standards compliant but unfortunately cannot be changed to cope with non-standard headers. &lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;What mail client?&amp;nbsp; What standards compliant headers specified by RFC 2821 does this mail client support? &lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;Is there a mechanism&amp;nbsp; to feed change requests back to the author?&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;If you can cite an RFC that provides a requirement for anything I&#039;m quite sure that David Harris would change the program to bring it into compliance. &lt;/p&gt;

Thank you for the comprehensive response.  I was quoting what I had been told by others rather than from my own knowledge. I will go back and investigate.

However, I have looked again at many message headers and I do see the format I quoted being used by many ISPs where each time the message is forwarded the "Received:" line has appended to it "for for <xxxx@yyyy.com>" either just after or just before the ID.

A random sample is below - originating from AOL.  You will see that every Received: header contains the "for" clause

My local email system (Turnpike/Connect from Demon) collects mail from Mercury and would work better if the "for" clause were present.

----------------------

Received: from punt3.mail.demon.net by mailstore
    for leslie@xxxxx.demon.co.uk id 1K9hEO-3pFknw-02-DFf;
    Fri, 20 Jun 2008 14:04:48 +0000
Received: from [194.217.242.72] (lhlo=anchor-hub.mail.demon.net)
    by punt3.mail.demon.net with lmtp id 1K9hEO-3pFknw-02
    for leslie@xxxxx.demon.co.uk; Fri, 20 Jun 2008 14:04:48 +0000
Received: from [213.162.97.75] (helo=mail.metronet.co.uk)
    by anchor-hub.mail.demon.net with esmtp id 1K9hEM-0002Tv-Lf
    for leslie@xxxxx.demon.co.uk; Fri, 20 Jun 2008 14:04:48 +0000
Received: from imo-d23.mx.aol.com (imo-d23.mx.aol.com [205.188.139.137])
    by mail.metronet.co.uk (MetroNet Mail) with ESMTP id 7CA101448F8
    for <leslie@xxxxx.com>; Fri, 20 Jun 2008 15:04:38 +0100 (BST)
Received: from zzzzz@aol.com
    by imo-d23.mx.aol.com (mail_out_v38_r9.4.) id m.ce2.30f1c48c (37122)
     for <leslie@xxxxx.com>; Fri, 20 Jun 2008 10:03:01 -0400 (EDT)
 

&lt;p&gt;Thank you for the comprehensive response.&amp;nbsp; I was quoting what I had been told by others rather than from my own knowledge. I will go back and investigate.&lt;/p&gt;&lt;p&gt;However, I have looked again at many message headers and I do see the format I quoted being used by many ISPs where each time the message is forwarded the &quot;Received:&quot; line has appended to it &quot;for for &amp;lt;xxxx@yyyy.com&amp;gt;&quot; either just after or just before the ID.&lt;/p&gt;&lt;p&gt;A random sample is below - originating from AOL.&amp;nbsp; You will see that every Received: header contains the &quot;for&quot; clause &lt;/p&gt;&lt;p&gt;My local email system (Turnpike/Connect from Demon) collects mail from Mercury and would work better if the &quot;for&quot; clause were present. &lt;/p&gt;&lt;p&gt;---------------------- &lt;/p&gt;&lt;p&gt;Received: from punt3.mail.demon.net by mailstore &amp;nbsp;&amp;nbsp;&amp;nbsp; for leslie@xxxxx.demon.co.uk id 1K9hEO-3pFknw-02-DFf; &amp;nbsp;&amp;nbsp;&amp;nbsp; Fri, 20 Jun 2008 14:04:48 +0000 Received: from [194.217.242.72] (lhlo=anchor-hub.mail.demon.net) &amp;nbsp;&amp;nbsp;&amp;nbsp; by punt3.mail.demon.net with lmtp id 1K9hEO-3pFknw-02 &amp;nbsp;&amp;nbsp;&amp;nbsp; for leslie@xxxxx.demon.co.uk; Fri, 20 Jun 2008 14:04:48 +0000 Received: from [213.162.97.75] (helo=mail.metronet.co.uk) &amp;nbsp;&amp;nbsp;&amp;nbsp; by anchor-hub.mail.demon.net with esmtp id 1K9hEM-0002Tv-Lf &amp;nbsp;&amp;nbsp;&amp;nbsp; for leslie@xxxxx.demon.co.uk; Fri, 20 Jun 2008 14:04:48 +0000 Received: from imo-d23.mx.aol.com (imo-d23.mx.aol.com [205.188.139.137]) &amp;nbsp;&amp;nbsp;&amp;nbsp; by mail.metronet.co.uk (MetroNet Mail) with ESMTP id 7CA101448F8 &amp;nbsp;&amp;nbsp;&amp;nbsp; for &amp;lt;leslie@xxxxx.com&amp;gt;; Fri, 20 Jun 2008 15:04:38 +0100 (BST) Received: from zzzzz@aol.com &amp;nbsp;&amp;nbsp;&amp;nbsp; by imo-d23.mx.aol.com (mail_out_v38_r9.4.) id m.ce2.30f1c48c (37122) &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;for &amp;lt;leslie@xxxxx.com&amp;gt;; Fri, 20 Jun 2008 10:03:01 -0400 (EDT) &amp;nbsp; &lt;/p&gt;

My local email system (Turnpike/Connect from Demon) collects mail from

Mercury and would work better if the "for" clause were present.

Agreed, however your case is pretty unique, since many people using a POP3 domain mailbox complain there is no why to determine who the mail was originally addressed in the SMTP RCPT TO: header.   Most people find that having the RCPT TO: address added to the RFC 2822 message headers works infinitely better than trying to filter on one of the RCPT TO: lines especially is the RCPT TO: address is in there multiple times as when a message is bounced to a different address.  Again, having a mail client that is servicing a POP3 domain account trying to figure out what is the intended delivery address is a lot easier when it's been added to the message when delivered to the POP3 mailbox.

 FWIW, have you talked to the people at Turnpike/Connect and asked them if they had some way to support the requirements of mail gateways as specified in the RFC? 

Edit:  BTW, I assume you are using Turnpike connect to get the mail from a POP3 'domain' account  from a remote system running Mercury/32.  Is there any reason you could not use Mercury/32 running MercuryD to do this instead of Turnpike/Connect?

 

 

&lt;blockquote&gt;&lt;p&gt;My local email system (Turnpike/Connect from Demon) collects mail from Mercury and would work better if the &quot;for&quot; clause were present.&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Agreed, however your case is pretty unique, since many people using a POP3 domain mailbox complain there is no why to determine who the mail was originally addressed in the SMTP RCPT TO: header. &amp;nbsp; Most people find that having the RCPT TO: address added to the RFC 2822 message headers works infinitely better than trying to filter on one of the RCPT TO: lines especially is the RCPT TO: address is in there multiple times as when a message is bounced to a different address.&amp;nbsp; Again, having a mail client that is servicing a POP3 domain account trying to figure out what is the intended delivery address is a lot easier when it&#039;s been added to the message when delivered to the POP3 mailbox.&lt;/p&gt;&lt;p&gt;&amp;nbsp;FWIW, have you talked to the people at Turnpike/Connect and asked them if they had some way to support the requirements of mail gateways as specified in the RFC?&amp;nbsp; &lt;/p&gt;&lt;p&gt;Edit:&amp;nbsp; BTW, I assume you are using Turnpike connect to get the mail from a POP3 &#039;domain&#039; account&amp;nbsp; from a remote system running Mercury/32.&amp;nbsp; Is there any reason you could not use Mercury/32 running MercuryD to do this instead of Turnpike/Connect?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;

I have been told that the relevant SMTP RFC is 5321, which superseded RFC 2821

Section 4.4 there has the structure of the "Received:" line which contains the field:

   Opt-info = [Via] [With] [ID] [For]

 

&lt;p&gt;I have been told that the relevant SMTP RFC is 5321, which superseded RFC 2821&lt;/p&gt;&lt;p&gt;Section 4.4 there has the structure of the &quot;Received:&quot; line which contains the field: &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; Opt-info = [Via] [With] [ID] [For] &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;

[quote user="Thomas R. Stephenson"]

 FWIW, have you talked to the people at Turnpike/Connect and asked them if they had some way to support the requirements of mail gateways as specified in the RFC? 

[/quote]

Yes.  My post a few minutes ago originated from them.  The RFC you were quoting seems to have been replaced with 5321which seems to support their view.

[quote user="Thomas R. Stephenson"]

 

Edit:  BTW, I assume you are using Turnpike connect to get the mail from a POP3 'domain' account  from a remote system running Mercury/32.  Is there any reason you could not use Mercury/32 running MercuryD to do this instead of Turnpike/Connect?

[/quote]

I like Turnpike too much as a mail client and that requires Connect.  Previously Connect would collect mail from my ISP but I got fed up with delays introduced by my mail being forwarded from my domains to my ISP so I have now changed my MX records and run my own mail server.

Connect now collects mail from Mercury via POP3 and sends out mail via Mercury.

Connect can also receive mail via SMTP and I have considered setting Mercury to relay direct to Connect but havn't taken the plunge yet.  If POP3 works  well I will probably leave it at that.

[quote user=&quot;Thomas R. Stephenson&quot;]&lt;p&gt;&amp;nbsp;FWIW, have you talked to the people at Turnpike/Connect and asked them if they had some way to support the requirements of mail gateways as specified in the RFC?&amp;nbsp; &lt;/p&gt;&lt;p&gt;[/quote]&lt;/p&gt;&lt;p&gt;Yes.&amp;nbsp; My post a few minutes ago originated from them.&amp;nbsp; The RFC you were quoting seems to have been replaced with 5321which seems to support their view.&lt;/p&gt;&lt;p&gt;[quote user=&quot;Thomas R. Stephenson&quot;] &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Edit:&amp;nbsp; BTW, I assume you are using Turnpike connect to get the mail from a POP3 &#039;domain&#039; account&amp;nbsp; from a remote system running Mercury/32.&amp;nbsp; Is there any reason you could not use Mercury/32 running MercuryD to do this instead of Turnpike/Connect?&lt;/p&gt;&lt;p&gt;[/quote]&lt;/p&gt;&lt;p&gt;I like Turnpike too much as a mail client and that requires Connect.&amp;nbsp; Previously Connect would collect mail from my ISP but I got fed up with delays introduced by my mail being forwarded from my domains to my ISP so I have now changed my MX records and run my own mail server. &lt;/p&gt;&lt;p&gt;Connect now collects mail from Mercury via POP3 and sends out mail via Mercury.&lt;/p&gt;&lt;p&gt;Connect can also receive mail via SMTP and I have considered setting Mercury to relay direct to Connect but havn&#039;t taken the plunge yet.&amp;nbsp; If POP3 works&amp;nbsp; well I will probably leave it at that. &lt;/p&gt;

[quote user="LesD"][quote user="Thomas R. Stephenson"]

 FWIW, have you talked to the people at Turnpike/Connect and asked them if they had some way to support the requirements of mail gateways as specified in the RFC? 

[/quote]

Yes.  My post a few minutes ago originated from them.  The RFC you were quoting seems to have been replaced with 5321 which seems to support their view.

The date of this RFC is October 2008, I doubt if there are very many SMTP hosts out there currently in use that support this RFC.   In addition, I just checked 30 messages in my inbox.  They were sent by Sendmail, QMail, ListServ, Postfix,  and only one had a RCPT TO: address listed and it was from "Joke of the day" using Postfix.  ;-)   FWIW, none of them had a Recieved: line that met all of the MUST requirements of RC 5321 so I suspect that they all are really RFC 2821 compliant. 

Then again you might ask them about the SHOULD requirements of the RFC 5321 that talks about adding the MAIL FROM and RCPT TO: headers.  The developers of a "domain" mailbox downloading tool should be able to support the additional X-headers (structure not specified) that servers add IAW paragraph 3.7.  Since Connect is used to download mail from multi-user POP3 mailbox and POP3 is a singe user protocol they should be able to handle the requirements of the RFC that specify how this is done.  ;-)

[quote user="Thomas R. Stephenson"]

 Edit:  BTW, I assume you are using Turnpike connect to get the mail from a POP3 'domain' account  from a remote system running Mercury/32.  Is there any reason you could not use Mercury/32 running MercuryD to do this instead of Turnpike/Connect?

[/quote]

I like Turnpike too much as a mail client and that requires Connect.  Previously Connect would collect mail from my ISP but I got fed up with delays introduced by my mail being forwarded from my domains to my ISP so I have now changed my MX records and run my own mail server.

Connect now collects mail from Mercury via POP3 and sends out mail via Mercury.

Connect can also receive mail via SMTP and I have considered setting Mercury to relay direct to Connect but haven't taken the plunge yet.  If POP3 works  well I will probably leave it at that.

This is the solution though since you will be delivering the mail using the SMTP RCPT TO: addresses.  If you check out the Mercury/32 addons downloads for the Petr Jaklin daemons and programs you'll find 3 ways to forward the mail to a second server via SMTP.  http://community.pmail.com/files/folders/mercadd/default.aspx

[/quote]
[quote user=&quot;LesD&quot;][quote user=&quot;Thomas R. Stephenson&quot;]&lt;blockquote&gt;&lt;p&gt;&amp;nbsp;FWIW, have you talked to the people at Turnpike/Connect and asked them if they had some way to support the requirements of mail gateways as specified in the RFC?&amp;nbsp; &lt;/p&gt;&lt;p&gt;[/quote]&lt;/p&gt;&lt;p&gt;Yes.&amp;nbsp; My post a few minutes ago originated from them.&amp;nbsp; The RFC you were quoting seems to have been replaced with 5321 which seems to support their view.&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;The date of this RFC is October 2008, I doubt if there are very many SMTP hosts out there currently in use that support this RFC. &amp;nbsp; In addition, I just checked 30 messages in my inbox.&amp;nbsp; They were sent by Sendmail, QMail, ListServ, Postfix,&amp;nbsp; and only one had a RCPT TO: address listed and it was from &quot;Joke of the day&quot; using Postfix.&amp;nbsp; ;-)&amp;nbsp;&amp;nbsp; FWIW, none of them had a Recieved: line that met all of the MUST requirements of RC 5321 so I suspect that they all are really RFC 2821 compliant.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Then again you might ask them about the SHOULD requirements of the RFC 5321 that talks about adding the MAIL FROM and RCPT TO: headers.&amp;nbsp; The developers of a &quot;domain&quot; mailbox downloading tool should be able to support the additional X-headers (structure not specified) that servers add IAW paragraph 3.7.&amp;nbsp; Since Connect is used to download mail from multi-user POP3 mailbox and POP3 is a singe user protocol they should be able to handle the requirements of the RFC that specify how this is done.&amp;nbsp; ;-) &lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;[quote user=&quot;Thomas R. Stephenson&quot;] &lt;/p&gt;&lt;p&gt;&amp;nbsp;Edit:&amp;nbsp; BTW, I assume you are using Turnpike connect to get the mail from a POP3 &#039;domain&#039; account&amp;nbsp; from a remote system running Mercury/32.&amp;nbsp; Is there any reason you could not use Mercury/32 running MercuryD to do this instead of Turnpike/Connect?&lt;/p&gt;&lt;p&gt;[/quote]&lt;/p&gt;&lt;p&gt;I like Turnpike too much as a mail client and that requires Connect.&amp;nbsp; Previously Connect would collect mail from my ISP but I got fed up with delays introduced by my mail being forwarded from my domains to my ISP so I have now changed my MX records and run my own mail server. &lt;/p&gt;&lt;p&gt;Connect now collects mail from Mercury via POP3 and sends out mail via Mercury.&lt;/p&gt;&lt;p&gt;Connect can also receive mail via SMTP and I have considered setting Mercury to relay direct to Connect but haven&#039;t taken the plunge yet.&amp;nbsp; If POP3 works&amp;nbsp; well I will probably leave it at that.&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;This is the solution though since you will be delivering the mail using the SMTP RCPT TO: addresses.&amp;nbsp; If you check out the Mercury/32 addons downloads for the Petr Jaklin daemons and programs you&#039;ll find 3 ways to forward the mail to a second server via SMTP.&amp;nbsp; &lt;a href=&quot;/files/folders/mercadd/default.aspx&quot; title=&quot;http://community.pmail.com/files/folders/mercadd/default.aspx&quot; mce_href=&quot;/files/folders/mercadd/default.aspx&quot;&gt;http://community.pmail.com/files/folders/mercadd/default.aspx&lt;/a&gt; &lt;/p&gt;[/quote]

[quote user="LesD"]

I have been told that the relevant SMTP RFC is 5321, which superseded RFC 2821

Section 4.4 there has the structure of the "Received:" line which contains the field:

   Opt-info = [Via] [With] [ID] [For]

Correct and this is optional;  not even a SHOULD requirement let alone MUST.   I agree that there are a number of SMTP hosts out there that do add the RCPT TO: address (and have for years) to a message but there as many others that do not.  Nor will the RFC change the way these server are working.  ;-)

[/quote]
[quote user=&quot;LesD&quot;]&lt;blockquote&gt;&lt;p&gt;I have been told that the relevant SMTP RFC is 5321, which superseded RFC 2821&lt;/p&gt;&lt;p&gt;Section 4.4 there has the structure of the &quot;Received:&quot; line which contains the field: &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; Opt-info = [Via] [With] [ID] [For] &lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Correct and this is optional;&amp;nbsp; not even a SHOULD requirement let alone MUST. &amp;nbsp; I agree that there are a number of SMTP hosts out there that do add the RCPT TO: address (and have for years) to a message but there as many others that do not.&amp;nbsp; Nor will the RFC change the way these server are working.&amp;nbsp; ;-) &lt;/p&gt;[/quote]

Thank you for all your input.  Turnpike is no longer under active development (security fixes only) so a fix at that end is not going to happen.

As this is really only a minor problem (duplicate emails every now and then) I think I can live with it.  Mercury has so much improved the reliability of mail sent and received here that it would be churlish of me to complain about it.

Many thanks.

&lt;p&gt;Thank you for all your input.&amp;nbsp; Turnpike is no longer under active development (security fixes only) so a fix at that end is not going to happen.&lt;/p&gt;&lt;p&gt;As this is really only a minor problem (duplicate emails every now and then) I think I can live with it.&amp;nbsp; Mercury has so much improved the reliability of mail sent and received here that it would be churlish of me to complain about it.&lt;/p&gt;&lt;p&gt;Many thanks. &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