<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Funky &amp;quot;From&amp;quot; heading in email, when run thru crontab in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/funky-quot-from-quot-heading-in-email-when-run-thru-crontab/m-p/3270005#M178461</link>
    <description>You are right, but does it have to read the comments field in the passwd file?</description>
    <pubDate>Thu, 06 May 2004 14:38:25 GMT</pubDate>
    <dc:creator>Ratzie</dc:creator>
    <dc:date>2004-05-06T14:38:25Z</dc:date>
    <item>
      <title>Funky "From" heading in email, when run thru crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/funky-quot-from-quot-heading-in-email-when-run-thru-crontab/m-p/3270003#M178459</link>
      <description>I have a script that emails me when there is a problem, every thing works fine, but it gives a funky from.&lt;BR /&gt;&lt;BR /&gt;I run this script thru root's crontab, that does ...&lt;BR /&gt;00 07 * * 6 su user1 -c /home/user1/scripts/backup/transfer_file.sh&lt;BR /&gt;&lt;BR /&gt;I use mailx, so I can send an a attachment.&lt;BR /&gt;&lt;BR /&gt;When I get the email, in the from heading &lt;BR /&gt;SCP id for transfer of DB &lt;USER1&gt;&lt;BR /&gt;&lt;BR /&gt;Yes, I am running a command that scp's a file, in the transfer_file.sh&lt;BR /&gt;&lt;BR /&gt;Where does it pick up this wonky wording...&lt;BR /&gt;SCP id for transfer of DB&lt;/USER1&gt;</description>
      <pubDate>Thu, 06 May 2004 14:18:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/funky-quot-from-quot-heading-in-email-when-run-thru-crontab/m-p/3270003#M178459</guid>
      <dc:creator>Ratzie</dc:creator>
      <dc:date>2004-05-06T14:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Funky "From" heading in email, when run thru crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/funky-quot-from-quot-heading-in-email-when-run-thru-crontab/m-p/3270004#M178460</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;My guess would be that it is coming from the comment field for the user in /etc/passwd.&lt;BR /&gt;&lt;BR /&gt;-Tony</description>
      <pubDate>Thu, 06 May 2004 14:36:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/funky-quot-from-quot-heading-in-email-when-run-thru-crontab/m-p/3270004#M178460</guid>
      <dc:creator>Tony Contratto</dc:creator>
      <dc:date>2004-05-06T14:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: Funky "From" heading in email, when run thru crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/funky-quot-from-quot-heading-in-email-when-run-thru-crontab/m-p/3270005#M178461</link>
      <description>You are right, but does it have to read the comments field in the passwd file?</description>
      <pubDate>Thu, 06 May 2004 14:38:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/funky-quot-from-quot-heading-in-email-when-run-thru-crontab/m-p/3270005#M178461</guid>
      <dc:creator>Ratzie</dc:creator>
      <dc:date>2004-05-06T14:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Funky "From" heading in email, when run thru crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/funky-quot-from-quot-heading-in-email-when-run-thru-crontab/m-p/3270006#M178462</link>
      <description>Post scipt please.&lt;BR /&gt;&lt;BR /&gt;Also what is the user1 entry in /etc/passwd? Particularly Description field.&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Thu, 06 May 2004 14:38:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/funky-quot-from-quot-heading-in-email-when-run-thru-crontab/m-p/3270006#M178462</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-05-06T14:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Funky "From" heading in email, when run thru crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/funky-quot-from-quot-heading-in-email-when-run-thru-crontab/m-p/3270007#M178463</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Though you are running this as part of root cron job, you are doing a su as user1, so effectively the user running the job is user1. &lt;BR /&gt;&lt;BR /&gt;While emailing the name of the user1 specified in the /etc/passwd file is added and the from would show as &lt;BR /&gt;&lt;BR /&gt;some_name &lt;USER1&gt;&lt;BR /&gt;&lt;BR /&gt;Login as root, do a su - user1 and now send yourself an email and you'll know.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;&lt;/USER1&gt;</description>
      <pubDate>Thu, 06 May 2004 14:44:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/funky-quot-from-quot-heading-in-email-when-run-thru-crontab/m-p/3270007#M178463</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2004-05-06T14:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: Funky "From" heading in email, when run thru crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/funky-quot-from-quot-heading-in-email-when-run-thru-crontab/m-p/3270008#M178464</link>
      <description>Yes it reads the password file.&lt;BR /&gt;&lt;BR /&gt;In your script try as follows.&lt;BR /&gt;&lt;BR /&gt;mailx -r "xxx" -s "whatever" mail_id&lt;BR /&gt;&lt;BR /&gt;Now it should say mail from&lt;BR /&gt;xxx@hostname&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Thu, 06 May 2004 14:45:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/funky-quot-from-quot-heading-in-email-when-run-thru-crontab/m-p/3270008#M178464</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-05-06T14:45:35Z</dc:date>
    </item>
  </channel>
</rss>

