<?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 Automating sendmail in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/automating-sendmail/m-p/2621859#M925897</link>
    <description>Hi,&lt;BR /&gt;because of security reasons, I would like to check every message arriving to sendmail to be relayed, in order to verify whether it has been sent with Outlook. &lt;BR /&gt;I've noticed Outlook uses the X-Mailer extension field to record its name and version (e.g. X-Mailer: Microsoft Outlook IMO, Build 9.0.2416), so I would like sendmail to append the header of every new message to a file, or to execute some script every time a new message arrives, etc.&lt;BR /&gt;In our usual configuration, sendmail works in background daemon mode (DeliveryMode=background) so every new message is relayed as soon as it arrives.&lt;BR /&gt;Putting it into queue mode with a queue check interval of, let's say 6 minutes (-q6m) and crontabbing a script to grep /var/spool/mqueue/qf* files every 5 minutes works fine but I would like to know if there is a simpler solution.&lt;BR /&gt;Thanks a lot.</description>
    <pubDate>Thu, 29 Nov 2001 07:05:47 GMT</pubDate>
    <dc:creator>Jose M. del Rio</dc:creator>
    <dc:date>2001-11-29T07:05:47Z</dc:date>
    <item>
      <title>Automating sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automating-sendmail/m-p/2621859#M925897</link>
      <description>Hi,&lt;BR /&gt;because of security reasons, I would like to check every message arriving to sendmail to be relayed, in order to verify whether it has been sent with Outlook. &lt;BR /&gt;I've noticed Outlook uses the X-Mailer extension field to record its name and version (e.g. X-Mailer: Microsoft Outlook IMO, Build 9.0.2416), so I would like sendmail to append the header of every new message to a file, or to execute some script every time a new message arrives, etc.&lt;BR /&gt;In our usual configuration, sendmail works in background daemon mode (DeliveryMode=background) so every new message is relayed as soon as it arrives.&lt;BR /&gt;Putting it into queue mode with a queue check interval of, let's say 6 minutes (-q6m) and crontabbing a script to grep /var/spool/mqueue/qf* files every 5 minutes works fine but I would like to know if there is a simpler solution.&lt;BR /&gt;Thanks a lot.</description>
      <pubDate>Thu, 29 Nov 2001 07:05:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automating-sendmail/m-p/2621859#M925897</guid>
      <dc:creator>Jose M. del Rio</dc:creator>
      <dc:date>2001-11-29T07:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Automating sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automating-sendmail/m-p/2621860#M925898</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have do to something similar with every message.  sendmail runs in queueonly mode, and I have a separate perl script runs which processes each message and moves it to a different queue directory.  The script tries to send the message immediately it's been processed, otherwise a cronjob processes the queue every 10 minutes.  The perl script forks multiple copies of itself for speed.&lt;BR /&gt;&lt;BR /&gt;Rgds, Robin</description>
      <pubDate>Thu, 29 Nov 2001 08:12:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automating-sendmail/m-p/2621860#M925898</guid>
      <dc:creator>Robin Wakefield</dc:creator>
      <dc:date>2001-11-29T08:12:09Z</dc:date>
    </item>
  </channel>
</rss>

