<?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: Crontab and email and hostname in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab-and-email-and-hostname/m-p/5043249#M433259</link>
    <description>Check your DM line in your sendmail config and verify you are not masquerading</description>
    <pubDate>Mon, 30 Apr 2007 08:55:42 GMT</pubDate>
    <dc:creator>hpuxrox</dc:creator>
    <dc:date>2007-04-30T08:55:42Z</dc:date>
    <item>
      <title>Crontab and email and hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab-and-email-and-hostname/m-p/5043248#M433258</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We recently moved a server over to new hardware.  Everything is fine but we are noticing something strange.  Whenever a cron job runs that emails the output...it has the name of the old server.  I even ran a job from the cron to test it by sending myself an email and put mailx -s "Test from `hostname`" email@domain and the hostname was resolved correctly but the email still had the old server name in the "from" field in my inbox.  So where does cron get the "send from" name from?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;S</description>
      <pubDate>Mon, 30 Apr 2007 08:51:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab-and-email-and-hostname/m-p/5043248#M433258</guid>
      <dc:creator>Coolmar</dc:creator>
      <dc:date>2007-04-30T08:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Crontab and email and hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab-and-email-and-hostname/m-p/5043249#M433259</link>
      <description>Check your DM line in your sendmail config and verify you are not masquerading</description>
      <pubDate>Mon, 30 Apr 2007 08:55:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab-and-email-and-hostname/m-p/5043249#M433259</guid>
      <dc:creator>hpuxrox</dc:creator>
      <dc:date>2007-04-30T08:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Crontab and email and hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab-and-email-and-hostname/m-p/5043250#M433260</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;probably from the user's description field in /etc/passwd&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;John K.</description>
      <pubDate>Mon, 30 Apr 2007 08:55:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab-and-email-and-hostname/m-p/5043250#M433260</guid>
      <dc:creator>john korterman</dc:creator>
      <dc:date>2007-04-30T08:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Crontab and email and hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab-and-email-and-hostname/m-p/5043251#M433261</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Assuming that 'hostname' and/or 'uname' report the server name correctly, then look in '/etc/mail/sendmail.cf' for masquerading.  See the 'DM' macro.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 30 Apr 2007 08:55:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab-and-email-and-hostname/m-p/5043251#M433261</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-04-30T08:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Crontab and email and hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab-and-email-and-hostname/m-p/5043252#M433262</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It might be picking it up from the description field in /etc/passwd&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Rob</description>
      <pubDate>Mon, 30 Apr 2007 08:57:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab-and-email-and-hostname/m-p/5043252#M433262</guid>
      <dc:creator>Rob Leadbeater</dc:creator>
      <dc:date>2007-04-30T08:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Crontab and email and hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab-and-email-and-hostname/m-p/5043253#M433263</link>
      <description>uname and hostname report it correctly and the DM macro in sendmail.cf is blank....anything else I can check?</description>
      <pubDate>Mon, 30 Apr 2007 08:59:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab-and-email-and-hostname/m-p/5043253#M433263</guid>
      <dc:creator>Coolmar</dc:creator>
      <dc:date>2007-04-30T08:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Crontab and email and hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab-and-email-and-hostname/m-p/5043254#M433264</link>
      <description>What does /etc/hosts have? What output does nslookup give when you lookup by ip address?</description>
      <pubDate>Mon, 30 Apr 2007 09:03:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab-and-email-and-hostname/m-p/5043254#M433264</guid>
      <dc:creator>hpuxrox</dc:creator>
      <dc:date>2007-04-30T09:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Crontab and email and hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab-and-email-and-hostname/m-p/5043255#M433265</link>
      <description>/etc/passwd was right.  Thanks!</description>
      <pubDate>Mon, 30 Apr 2007 09:06:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab-and-email-and-hostname/m-p/5043255#M433265</guid>
      <dc:creator>Coolmar</dc:creator>
      <dc:date>2007-04-30T09:06:15Z</dc:date>
    </item>
  </channel>
</rss>

