ros-infrastructure / answers.ros.org

Tickets for answers.ros.org
4 stars 1 forks source link

Some (only some) email notification from answers.ros.org go to spam folder in GMail.com #206

Closed 130s closed 4 years ago

130s commented 4 years ago

Not sure if this is a similar issue with https://github.com/ros-infrastructure/roswiki/issues/297 or not, but I do see 39 emails from answers.ros.org ended up going into spam since 3/18/2020 (10 days ago).

Example is https://answers.ros.org/question/347349. The entire original email is below (accounts swapped).

I do see spf related error. 131.113.134.67 seems related to the domain of the recipient email I use, keio.ac.jp. If the error is rooted in to the setting at the recipient domain I don't mind contacting them, but honestly I'm not yet familliar with this error.

       spf=softfail (google.com: domain of transitioning noreply@answers.ros.org does not designate 131.113.134.67 as permitted sender) smtp.mailfrom=noreply@answers.ros.org

Full original email

Original Message
Message ID  <CA-347766-noreply@answers.ros.org>
Created at: Sat, Mar 28, 2020 at 1:48 PM (Delivered after 2 seconds)
From:   noreply@answers.ros.org
To: damyaccount@2000.jukuin.keio.ac.jp
Subject:    [answers.ros.org] Adding lines into CMakeList.txt makes an error. I need help
SPF:    SOFTFAIL with IP 131.113.134.67 Learn more

Download Original
Copy to clipboard

Delivered-To: gmmyaccount@gmail.com
Received: by 2002:a5d:9f4e:0:0:0:0:0 with SMTP id u14csp806432iot;
        Sat, 28 Mar 2020 13:48:43 -0700 (PDT)
X-Google-Smtp-Source: ADFU+vvzQFIB7Bi8Da1sS5leg5waqWUsZEebvT/vcYj4BFDVRidvmKkUObkIq2WMMKtrgijI0jJ3
X-Received: by 2002:aa7:9a89:: with SMTP id w9mr5577304pfi.149.1585428523122;
        Sat, 28 Mar 2020 13:48:43 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1585428523; cv=none;
        d=google.com; s=arc-20160816;
        b=AYcpvfrbP51i7wpDLvvSoo/uKCK1JerDOn6VjZvfPBGRLL27mDyJUs5MBGCKxjJfUV
         bwem26dkzwdzDdxe5BpG6YmkcBpwxXwgIZ/Iwg8gcDqKczzAmdyB85WGnS2Fry8iUxnG
         aqChMg1bPPrbWHc183oDf2HMzFCD3zdzcfeCJ+gu6J+3hOLYaC/FmjbS4HuBhDZrkSwk
         lx/7eemBa8vppL1UOMKDEZSh2CZdQ9GTW++pAaPV+lYXmDcxCyjnQA6Wft42f+uZFEUb
         T9MCgrhEpXagGJMFyTAQHb6hgDf9+i2h/wENw907jWdieQMUD4nvLotM36WoTKDlbhYv
         bHzQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=in-reply-to:message-id:reply-to:date:to:from:subject:mime-version;
        bh=NRebrMI7ROjIhiK14s4PADVw79XDl6YZP2JThw+i2Rw=;
        b=g8eiMenOYkWNsVdS9oBDJi0/nJjJg7OLENaJLqnZCfX0rkVO6WL3F2tmI6lPYVUyMD
         Po2ixz353VNQE1L51jB15NCwi2m5SwgpXU09z1daJD5XLCmfwyQpAY9Q5QabQrurkWyF
         sXx3CAZJrPafD7jykVJn3VrYLqOT2Axyd8YNFwHCBGYFQpBf3vh6Ko4NfQbj/KEJE6Hu
         CyPlmGYYnudmVb8htnRjsoai1Dj4/HtqyFvbDliAkE+vfFOIEj9JdXUR4jdGJow8dAdY
         D3b4rMRzCzuqvHCRbW7bSmQiHOElsN3+s+RLVCbg9AAI4Gqt8TOST0LaOnKr1b9FqRMu
         pliw==
ARC-Authentication-Results: i=1; mx.google.com;
       spf=softfail (google.com: domain of transitioning noreply@answers.ros.org does not designate 131.113.134.67 as permitted sender) smtp.mailfrom=noreply@answers.ros.org
Return-Path: <noreply@answers.ros.org>
Received: from kolmail1.jukuin.keio.ac.jp (kolmail1.jukuin.keio.ac.jp. [131.113.134.67])
        by mx.google.com with ESMTP id d8si7360087pll.200.2020.03.28.13.48.42
        for <gmmyaccount@gmail.com>;
        Sat, 28 Mar 2020 13:48:43 -0700 (PDT)
Received-SPF: softfail (google.com: domain of transitioning noreply@answers.ros.org does not designate 131.113.134.67 as permitted sender) client-ip=131.113.134.67;
Authentication-Results: mx.google.com;
       spf=softfail (google.com: domain of transitioning noreply@answers.ros.org does not designate 131.113.134.67 as permitted sender) smtp.mailfrom=noreply@answers.ros.org
Received: from answers.ros.org (answers2.ros.osuosl.org [140.211.15.248]) by kolmail1.jukuin.keio.ac.jp (Postfix) with ESMTP id 0F5815CDC for <damyaccount@2000.jukuin.keio.ac.jp>; Sun, 29 Mar 2020 05:48:41 +0900 (JST)
Received: from 09ada2497d02 (askbot-docker_askbot_1.askbot-docker_default [172.19.0.3]) by answers.ros.org (Postfix) with ESMTPA id 4FF4D19E92C for <damyaccount@2000.jukuin.keio.ac.jp>; Sat, 28 Mar 2020 20:48:41 +0000 (UTC)
Content-Type: multipart/alternative; boundary="===============4056940034696322378=="
MIME-Version: 1.0
Subject: [answers.ros.org] Adding lines into CMakeList.txt makes an error. I need help
From: noreply@answers.ros.org
To: damyaccount@2000.jukuin.keio.ac.jp
Date: Sat, 28 Mar 2020 20:48:41 -0000
Reply-To: noreply@answers.ros.org
Message-ID: <CA-347766-noreply@answers.ros.org>
In-Reply-To: <NQ-347349-noreply@answers.ros.org>

--===============4056940034696322378==
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit

https://answers.ros.org/question/347349/adding-lines-into-cmakelisttxt-makes-an-error-i-need-help/?comment=347766#post-id-347766https://answers.ros.org/users/48896/tcchiang/ (tcchiang)/(mailto:t.c.chiang@tudelft.nl (t.c.chiang@tudelft.nl))

commented:

You can copy-paste the CMakeList.txt and the error message into your original question, select the lines, and press ctrl+k or click the preformatted text button (the one with 101010 on it).

https://answers.ros.org/question/347349/adding-lines-into-cmakelisttxt-makes-an-error-i-need-help/?answer=347553#post-id-347553 (In reply to)https://answers.ros.org/users/48896/tcchiang/ (tcchiang)/(mailto:t.c.chiang@tudelft.nl (t.c.chiang@tudelft.nl))

's answer:

Hello,You should have added those three lines after find_package(). The order does matter in CMakeLists.txt. Please see  http://wiki.ros.org/catkin/CMakeLists.txt#Overall_Structure_and_Ordering (wiki/catkin - CMakeLists.txt - Overall Structure and Ordering).I think your package does not contain any messages/services/actions files so you don't really needadd_dependencies(name_of_node_chatter my_package_generate_messages_cpp)

If you do, you need to add generate_messages(DEPENDENCIES ...). The message generation targets are created by generate_messages(DEPENDENCIES ...). Using add_dependencies(name_of_node_chatter my_package_generate_messages_cpp) is to ensure that my_package_generate_messages_cpp is built before the name_of_node_chatter target.If your target depends on other messages/services/actions from other packages, even though your package doesn't build any messages/services/actions at compile time, you should add add_dependencies(name_of_node_chatter ${catkin_EXPORTED_TARGETS})

More details about add_dependencies(...) can be found http://wiki.ros.org/catkin/CMakeLists.txt#Important_Prerequisites.2BAC8-Constraints (here).I think it's always safe to add a dependency on catkin_EXPORTED_TARGETS.

https://answers.ros.org/question/347349/adding-lines-into-cmakelisttxt-makes-an-error-i-need-help/ (In reply to)https://answers.ros.org/users/52791/karandiru/ (Karandiru)/(mailto:hellusive1@gmail.com (hellusive1@gmail.com))

's question:

https://answers.ros.org/question/347349/adding-lines-into-cmakelisttxt-makes-an-error-i-need-help/ (Adding lines into CMakeList.txt makes an error. I need help)

Tags:

cmakelist.txt, catkin_make_error, melodic.

Hello,Firstly i need to say im totally beginner on ROS.I managed to install it and my Professor wanted to me complete these tasks;-Create a ROS package with your name.-Create two nodes, a chatter which publishes std_msgs and a listener

to listen to chatter.-The message you are required to send will be assigned for each one

separately.-The listener should get the message and print it using ROS_INFO

function.So i managed to create work space , but i stucked at somewhere that wants me to add these lines into my_package/CMakeLists.txt.lines are ;add_executable(name_of_node_chatter src/01.cpp) ,

target_link_libraries(name_of_node_chatter ${catkin_LIBRARIES}) ,

add_dependencies(name_of_node_chatter my_package_generate_messages_cpp)

https://imgur.com/a/nzSajPt (link text)But when i add them into CMakeList.txt like this ;

https://imgur.com/a/UnrGv0P (link text)After i save this txt file i try to run catkin_make command on terminal.It gaves me this error ;

https://imgur.com/a/Kr1Yo6s (link text)I don't know what to do , please can you help me to fix this problem.

To change frequency and content of these alerts, please visit https://answers.ros.org/users/875/130s/subscriptions/ (your user profile).

To unsubscribe, visit https://answers.ros.org/users/unsubscribe/?key=324c11bdda261fc9e56961934e656009&email=damyaccount@2000.jukuin.keio.ac.jp (this page)

If you believe that this message was sent in an error, please email about it the forum administrator at mailto:noreply@answers.ros.org (noreply@answers.ros.org).

Sincerely,ROS Answers Administrator
--===============4056940034696322378==
MIME-Version: 1.0
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  <title></title>
  <style type="text/css">
    /* Based on The MailChimp Reset INLINE: Yes. */  
    /* Client-specific Styles */
    #outlook a {padding:0;} /* Force Outlook to provide a "view in browser" menu link. */
    body{width:100% !important; -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%; margin:0; padding:0; font-family:arial, sans-serif;font-size:13px;} 
    /* Prevent Webkit and Windows Mobile platforms from changing default font sizes.*/ 
    .ExternalClass {width:100%;} /* Force Hotmail to display emails at full width */  
    .ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div {line-height: 100%;}
    /* Forces Hotmail to display normal line spacing.  More on that: http://www.emailonacid.com/forum/viewthread/43/ */ 
    #backgroundTable {margin:0; padding:0; width:100% !important; line-height: 100% !important;}
    /* End reset */

    /* Some sensible defaults for images
    Bring inline: Yes. */
    img {outline:none; text-decoration:none; -ms-interpolation-mode: bicubic;} 
    a img {border:none;} 
    .image_fix {display:block;}

    /* Yahoo paragraph fix
    Bring inline: Yes. */
    p {margin: 1em 0;}

    /* Hotmail header color reset
    Bring inline: Yes. */
    h1, h2, h3, h4, h5, h6 {color: black !important;}

    h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {color: blue !important;}

    h1 a:active, h2 a:active,  h3 a:active, h4 a:active, h5 a:active, h6 a:active {
    color: red !important; /* Preferably not the same color as the normal header link color.  There is limited support for psuedo classes in email clients, this was added just for good measure. */
    }

    h1 a:visited, h2 a:visited,  h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited {
    color: purple !important; /* Preferably not the same color as the normal header link color. There is limited support for psuedo classes in email clients, this was added just for good measure. */
    }

    /* Outlook 07, 10 Padding issue fix
    Bring inline: No.*/
    table td {border-collapse: collapse;}

    /* Remove spacing around Outlook 07, 10 tables
    Bring inline: Yes */
    table { border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt; }

    /* Styling your links has become much simpler with the new Yahoo.  In fact, it falls in line with the main credo of styling in email and make sure to bring your styles inline.  Your link colors will be uniform across clients when brought inline.
    Bring inline: Yes. */
    a {color: orange;}

    /***************************************************
    ****************************************************
    MOBILE TARGETING
    ****************************************************
    ***************************************************/
    @media only screen and (max-device-width: 480px) {
      /* Part one of controlling phone number linking for mobile. */
      a[href^="tel"], a[href^="sms"] {
            text-decoration: none;
            color: blue; /* or whatever your want */
            pointer-events: none;
            cursor: default;
          }

      .mobile_link a[href^="tel"], .mobile_link a[href^="sms"] {
            text-decoration: default;
            color: orange !important;
            pointer-events: auto;
            cursor: default;
          }

    }

    /* More Specific Targeting */

    @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    /* You guessed it, ipad (tablets, smaller screens, etc) */
      /* repeating for the ipad */
      a[href^="tel"], a[href^="sms"] {
            text-decoration: none;
            color: blue; /* or whatever your want */
            pointer-events: none;
            cursor: default;
          }

      .mobile_link a[href^="tel"], .mobile_link a[href^="sms"] {
            text-decoration: default;
            color: orange !important;
            pointer-events: auto;
            cursor: default;
          }
    }

    @media only screen and (-webkit-min-device-pixel-ratio: 2) {
    /* Put your iPhone 4g styles in here */ 
    }

    /* Android targeting */
    @media only screen and (-webkit-device-pixel-ratio:.75){
    /* Put CSS for low density (ldpi) Android layouts in here */
    }
    @media only screen and (-webkit-device-pixel-ratio:1){
    /* Put CSS for medium density (mdpi) Android layouts in here */
    }
    @media only screen and (-webkit-device-pixel-ratio:1.5){
    /* Put CSS for high density (hdpi) Android layouts in here */
    }
    /* end Android targeting */
  </style>

  <!-- Targeting Windows Mobile -->
  <!--[if IEMobile 7]>
  <style type="text/css">

  </style>
  <![endif]-->   

  <!-- ***********************************************
  ****************************************************
  END MOBILE TARGETING
  ****************************************************
  ************************************************ -->

  <!--[if gte mso 9]>
    <style>
    /* Target Outlook 2007 and 2010 */
    </style>
  <![endif]-->
</head>
<body>
<table cellpadding="0" cellspacing="0" border="0" id="backgroundTable" style="width: 100%">
  <tr>
    <td>
      <table border="0" align="center" cellspacing="0" cellpadding="0" style="background-color:#E7E8E8; width: 100%">
        <tr height="20">
          <td valign="top"> 
          </td>
        </tr>
        <tr>
          <td valign="top"> 
            <table border="0" align="center" cellspacing="0" cellpadding="0" style="background-color: #fff;" width=90%>
              <tr>
                <td valign="top"> 
                  <table border="0" align="center" cellspacing="0" cellpadding="0" width=95%>
                    <tr>
                      <td valign="top"> 
                        <h1></h1>
                      </td>
                    </tr>
                    <tr>
                      <td valign="top"> 

    <div>

    <p style="
font-size: 10px;font-weight: bold;
"><a href="https://answers.ros.org/question/347349/adding-lines-into-cmakelisttxt-makes-an-error-i-need-help/?comment=347766#post-id-347766"><a href="https://answers.ros.org/users/48896/tcchiang/">tcchiang</a>/(<a href="mailto:t.c.chiang@tudelft.nl">t.c.chiang@tudelft.nl</a>)
     commented</a>:

            </p><p>You can copy-paste the <code>CMakeList.txt</code> and the error message into your original question, select the lines, and press <code>ctrl+k</code> or click the <em>preformatted text</em> button (the one with <code>101010</code> on it).</p>

    <div style="padding-left:5px; border-left: 2px solid #aaa;"><p style="
font-size: 10px;font-weight: bold;
"><a href="https://answers.ros.org/question/347349/adding-lines-into-cmakelisttxt-makes-an-error-i-need-help/?answer=347553#post-id-347553">In reply to 
        <a href="https://answers.ros.org/users/48896/tcchiang/">tcchiang</a>/(<a href="mailto:t.c.chiang@tudelft.nl">t.c.chiang@tudelft.nl</a>)
    's answer</a>:

            </p><p>Hello,</p><p>You should have added those three lines after <code>find_package()</code>. The order does matter in <code>CMakeLists.txt</code>. Please see  <a href="http://wiki.ros.org/catkin/CMakeLists.txt#Overall_Structure_and_Ordering">wiki/catkin - CMakeLists.txt - Overall Structure and Ordering</a>.</p><p>I think your package does not contain any messages/services/actions files so you don't really need</p><pre><code>add_dependencies(name_of_node_chatter my_package_generate_messages_cpp)
</code></pre><p>If you do, you need to add <code>generate_messages(DEPENDENCIES ...)</code>. The message generation targets are created by <code>generate_messages(DEPENDENCIES ...)</code>. Using <code>add_dependencies(name_of_node_chatter my_package_generate_messages_cpp)</code> is to ensure that <code>my_package_generate_messages_cpp</code> is built before the <code>name_of_node_chatter</code> target.</p><p>If your target depends on other messages/services/actions from other packages, even though your package doesn't build any messages/services/actions at compile time, you should add </p><pre><code>add_dependencies(name_of_node_chatter ${catkin_EXPORTED_TARGETS})
</code></pre><p>More details about <code>add_dependencies(...)</code> can be found <a href="http://wiki.ros.org/catkin/CMakeLists.txt#Important_Prerequisites.2BAC8-Constraints">here</a>.</p><p>I think it's always safe to add a dependency on <code>catkin_EXPORTED_TARGETS</code>.</p></div>

    <div style="padding-left:5px; border-left: 2px solid #aaa;"><p style="
font-size: 10px;font-weight: bold;
"><a href="https://answers.ros.org/question/347349/adding-lines-into-cmakelisttxt-makes-an-error-i-need-help/">In reply to 
        <a href="https://answers.ros.org/users/52791/karandiru/">Karandiru</a>/(<a href="mailto:hellusive1@gmail.com">hellusive1@gmail.com</a>)
    's question</a>:

            </p><p style="
font-size: 10px;font-weight: bold;
"><a href="https://answers.ros.org/question/347349/adding-lines-into-cmakelisttxt-makes-an-error-i-need-help/">Adding lines into CMakeList.txt makes an error. I need help</a></p><p style="font-size:10px; font-style:italic;">
                Tags:
                cmakelist.txt, catkin_make_error, melodic.
            </p><p>Hello,</p><p>Firstly i need to say im totally beginner on ROS.I managed to install it and my Professor wanted to me complete these tasks;</p><p>-Create a ROS package with your name.</p><p>-Create two nodes, a chatter which publishes std_msgs and a listener
to listen to chatter.</p><p>-The message you are required to send will be assigned for each one
separately.</p><p>-The listener should get the message and print it using ROS_INFO
function.</p><p>So i managed to create work space , but i stucked at somewhere that wants me to add these lines into my_package/CMakeLists.txt.</p><p>lines are ;</p><pre><code>add_executable(name_of_node_chatter src/01.cpp) ,
target_link_libraries(name_of_node_chatter ${catkin_LIBRARIES}) , 
add_dependencies(name_of_node_chatter my_package_generate_messages_cpp)
</code></pre><p><a href="https://imgur.com/a/nzSajPt">link text</a></p><p>But when i add them into CMakeList.txt like this ; 
<a href="https://imgur.com/a/UnrGv0P">link text</a></p><p>After i save this txt file i try to run catkin_make command on terminal.It gaves me this error ;
<a href="https://imgur.com/a/Kr1Yo6s">link text</a></p><p>I don't know what to do , please can you help me to fix this problem.</p></div>

    </div>
    <p style="font-size:10px; font-style:italic;">

        To change frequency and content of these alerts, please visit <a href="https://answers.ros.org/users/875/130s/subscriptions/">your user profile</a>.

    <br/>

    To unsubscribe, visit <a href="https://answers.ros.org/users/unsubscribe/?key=324c11bdda261fc9e56961934e656009&amp;email=damyaccount@2000.jukuin.keio.ac.jp">this page</a>
    <br/>
    If you believe that this message was sent in an error, please email about it the forum administrator at <a href="mailto:noreply@answers.ros.org">noreply@answers.ros.org</a>.

</p>

                      </td>
                    </tr>
                    <tr>
                      <td valign="top" class="footer"> 
                        <hr>

    <p>Sincerely,<br>ROS Answers Administrator</p>

                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr height="20">
          <td valign="top"> 
          </td>
        </tr>
      </table>
    </td>
  </tr>
  </table>  
</body>
</html>
--===============4056940034696322378==--
tfoote commented 4 years ago

This looks like you're forwarding mechanism is not passing through the signatures correctly for spf to pass.

My headers are signed correctly when delivered directly to google.

ARC-Authentication-Results: i=1; mx.google.com;
       spf=pass (google.com: domain of noreply@answers.ros.org designates 140.211.15.248 as permitted sender) smtp.mailfrom=noreply@answers.ros.org
Return-Path: <noreply@answers.ros.org>
Received: from answers.ros.org (answers2.ros.osuosl.org. [140.211.15.248])
        by mx.google.com with ESMTP id v18si11977543pgi.413.2020.03.30.23.56.21
        for <tfoote@osrfoundation.org>;
        Mon, 30 Mar 2020 23:56:21 -0700 (PDT)
Received-SPF: pass (google.com: domain of noreply@answers.ros.org designates 140.211.15.248 as permitted sender) client-ip=140.211.15.248;
Authentication-Results: mx.google.com;
       spf=pass (google.com: domain of noreply@answers.ros.org designates 140.211.15.248 as permitted sender) smtp.mailfrom=noreply@answers.ros.org
Received: from 09ada2497d02 (askbot-docker_askbot_1.askbot-docker_default [172.19.0.3]) by answers.ros.org (Postfix) with ESMTPA id 7B59819E9BC for <tfoote@osrfoundation.org>; Tue, 31 Mar 2020 06:56:21 +0000 (UTC)
Content-Type: multipart/alternative; boundary="===============3936848859633744823=="
MIME-Version: 1.0

I believe that you need to upgrade your forwarding system to use Sender Rewriting Scheme https://serverfault.com/questions/613943/spf-softfail-for-forwarded-emails-to-gmail-account

http://www.open-spf.org/SRS/