<?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: procmail filter to be used with sendmail in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/procmail-filter-to-be-used-with-sendmail/m-p/3882816#M25641</link>
    <description>&lt;!--!*#--&gt;Umm, sendmail on most modern systems already uses 'procmail' to deliver mail to a given end user.  You can double check this with 'grep ^Mlocal /etc/mail/sendmail.cf' (it'll return something like 'Mlocal,         P=/usr/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, S=EnvFromL/HdrFromL, R=EnvToL/HdrToL,')&lt;BR /&gt;&lt;BR /&gt;So just use '~stest/.procmailrc' for your procmail rules, and don't worry about using a .forward to pipe through procmail.&lt;BR /&gt;&lt;BR /&gt;In any case, some reasons why this didnt work:&lt;BR /&gt;&lt;BR /&gt;- /etc/smrsh/procmail symbolic link doesn't exist&lt;BR /&gt;- '| &amp;amp;&amp;amp; exec' is just.. just.. wrong.  A simple '| procmail -f -' is what you're after.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 19 Oct 2006 01:08:14 GMT</pubDate>
    <dc:creator>Stuart Browne</dc:creator>
    <dc:date>2006-10-19T01:08:14Z</dc:date>
    <item>
      <title>procmail filter to be used with sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-linux/procmail-filter-to-be-used-with-sendmail/m-p/3882815#M25640</link>
      <description>Dear All,&lt;BR /&gt;&lt;BR /&gt;Hi I need to use the procmail filter with the sendmail .&lt;BR /&gt;But for that when I make the .forward file for the user (stest)&lt;BR /&gt;like &lt;BR /&gt; &lt;BR /&gt;"|&amp;amp;&amp;amp;exec /usr/local/bin/procmail -f-||exit 75 #stest"&lt;BR /&gt;&lt;BR /&gt;it gives error while sending any message to user as&lt;BR /&gt;&lt;BR /&gt;stest... aliased to stest@mistest&lt;BR /&gt;/home/stest/.forward: line 1: forwarding to "|&amp;amp;&amp;amp;exec /usr/local/bin/procmail -f-||exit 75 #stest"&lt;BR /&gt;/home/stest/.forward: line 1: "|&amp;amp;&amp;amp;exec /usr/local/bin/procmail -f-||exit 75 #stest"... Address stest is unsafe for mailing to programs&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pls give any suggestion so that I can make the filter for the specific users for the particular mails.&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;Sachin Rajput&lt;BR /&gt;HCL&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Oct 2006 01:01:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/procmail-filter-to-be-used-with-sendmail/m-p/3882815#M25640</guid>
      <dc:creator>Sachin_48</dc:creator>
      <dc:date>2006-10-19T01:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: procmail filter to be used with sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-linux/procmail-filter-to-be-used-with-sendmail/m-p/3882816#M25641</link>
      <description>&lt;!--!*#--&gt;Umm, sendmail on most modern systems already uses 'procmail' to deliver mail to a given end user.  You can double check this with 'grep ^Mlocal /etc/mail/sendmail.cf' (it'll return something like 'Mlocal,         P=/usr/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, S=EnvFromL/HdrFromL, R=EnvToL/HdrToL,')&lt;BR /&gt;&lt;BR /&gt;So just use '~stest/.procmailrc' for your procmail rules, and don't worry about using a .forward to pipe through procmail.&lt;BR /&gt;&lt;BR /&gt;In any case, some reasons why this didnt work:&lt;BR /&gt;&lt;BR /&gt;- /etc/smrsh/procmail symbolic link doesn't exist&lt;BR /&gt;- '| &amp;amp;&amp;amp; exec' is just.. just.. wrong.  A simple '| procmail -f -' is what you're after.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Oct 2006 01:08:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/procmail-filter-to-be-used-with-sendmail/m-p/3882816#M25641</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2006-10-19T01:08:14Z</dc:date>
    </item>
  </channel>
</rss>

