<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:"Calibri","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Bump<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>BTW, this situation below happens regardless of whether the local-only address is in the To:  or the Cc: field.  <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Example 1 (send to my local JNOS mailbox with cc to my email address):<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>sc n6mef<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>cc: <a href="mailto:n6mef@mefox.org">n6mef@mefox.org</a><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Subject …<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Example 2 (send to my email address with cc to my local JNOS mailbox):<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>sc <a href="mailto:n6mef@mefox.org">n6mef@mefox.org</a><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Cc: n6mef<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Subject …<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>A capture with wireshark on the tunnel between JNOS and the Linux smtp gateway shows the incomplete address in the DATA portion.  The capture below is from example 1.  As you can see, the “To:” header is incomplete.   <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoPlainText>Received: from n6mef.ampr.org by n6mef.ampr.org (JNOS2.0j.2.SCC.1) with SMTP\r\n\tid AA1179 ; Sun, 24 Mar 2013 14:52:20 PDT<o:p></o:p></p><p class=MsoPlainText>Date: Sun, 24 Mar 2013 14:52:01 PDT<o:p></o:p></p><p class=MsoPlainText>Message-ID: <<a href="mailto:1177@n6mef.ampr.org">1177@n6mef.ampr.org</a>><o:p></o:p></p><p class=MsoPlainText>From: <a href="mailto:n6mef@n6mef.ampr.org">n6mef@n6mef.ampr.org</a><o:p></o:p></p><p class=MsoPlainText>To: n6mef   <o:p></o:p></p><p class=MsoPlainText>Cc: <a href="mailto:michael@mefox.org">michael@mefox.org</a><o:p></o:p></p><p class=MsoPlainText>Subject: test to local, cc fqdn<o:p></o:p></p><p class=MsoPlainText>X-BBS-Msg-Type: P <o:p></o:p></p><p class=MsoPlainText>X-JNOS-User-Port: Telnet   (n6mef @ 127.0.0.1)  ->    Sending message\r\n <o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>JNOS shouldn’t be sending this non-FQDN address to another machine.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>In PostFix, there is an option called “append_at_myorigin” which appends “@<my-fully-qualified-hostname>” to any local-only address.<o:p></o:p></p><p class=MsoPlainText>Is there an equivalent option in JNOS?<o:p></o:p></p><p class=MsoPlainText>Otherwise, is it possible to just fix JNOS to properly complete the address before sending it on?<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Thanks,<o:p></o:p></p><p class=MsoPlainText>Michael<o:p></o:p></p><p class=MsoPlainText>N6MEF<o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Michael Fox - N6MEF [mailto:n6mef@mefox.org] <br><b>Sent:</b> Thursday, March 21, 2013 5:08 PM<br><b>To:</b> TAPR xNOS Mailing List (nos-bbs@tapr.org)<br><b>Subject:</b> email gateway issue<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I discovered a problem with JNOS not properly completing the address of messages sent to the gateway.  Here’s the situation.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Let’s say I use SC to send a message to <a href="mailto:joe@ham.org">joe@ham.org</a>, with a copy to n6mef.  That is, the message goes to an email address with a copy to a local packet user.  Note that the local packet user address does not include any “@...”.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The message is sent to the email gateway for handling the email.  The addresses that the email gateway gets from JNOS are: <o:p></o:p></p><p class=MsoNormal style='text-indent:.5in'> To: <a href="mailto:joe@ham.org">joe@ham.org</a>, Cc: n6mef.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The problem is that n6mef has no domain attached.  The receiving mail gateway, depending on how it strictly it is configured may even reject the message because the recipients are not fully qualified.  Or the message may be dropped by the destination mail server at ham.org.  Or the destination mail server may add it’s own domain, resulting in <a href="mailto:n6mef@ham.org">n6mef@ham.org</a>.  This is what happens at yahoo and other places.  Now, if someone tries to reply all, they end up with bounces because <a href="mailto:n6mef@ham.org">n6mef@ham.org</a> doesn’t exist.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>From my understanding of the SMTP standards, only fully qualified addresses should be passed between mail systems.  In other words, the JNOS system should add its local hostname.domain to the local part (n6mef) before sending it along, so that the message is sent as:  To: <a href="mailto:Joe@ham.com">Joe@ham.com</a>, CC: <a href="mailto:n6mef@bbscall.ampr.org">n6mef@bbscall.ampr.org</a>  (or whatever).<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Is there maybe a configuration option I’m missing that would tell JNOS to add it’s hostname to non-fqdn addresses?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks,<o:p></o:p></p><p class=MsoNormal>Michael<o:p></o:p></p><p class=MsoNormal>N6MEF<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>