<br><br>On Sunday, May 27, 2012, Balazs Scheidler &lt;<a href="mailto:bazsi77@gmail.com">bazsi77@gmail.com</a>&gt; wrote:<br>&gt; On Fri, 2012-05-25 at 08:43 +0200, C. L. Martinez wrote:<br>&gt;&gt; On Thu, May 24, 2012 at 2:32 PM, C. L. Martinez &lt;<a href="mailto:carlopmart@gmail.com">carlopmart@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; Hi all,<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;  I am trying to parse some Ironport logs to cacth mutliple destination<br>&gt;&gt; &gt; recipients using grep in value option:<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; recipient: $(grep (&quot;${to_address}&quot; != &quot;&quot;) ${to_address})<br>
&gt;&gt; &gt;<br>&gt;&gt; &gt; but it doesn&#39;t works ...<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;  What am I doing wrong?? I am using syslog-ng 3.3.5 under CentOS6.<br>&gt;&gt; &gt;<br>&gt;<br>&gt; $(grep) is a template function, that only makes sense to be used in a<br>
&gt; patterndb correllation rule.<br>&gt;<br><br>That&#39;s exactly what i need. I need to use inside a pattern to correlate mail logs.<br><br>&gt; Are you using it in that context? Otherwise you&#39;d proably be looking for<br>
&gt; a simple filter.<br><br>A filter?  I don&#39;t see how to do this inside a pattern<br><br>&gt;<br>&gt; --<br>&gt; Bazsi<br>&gt;<br>&gt;<br>&gt; ______________________________________________________________________________<br>
&gt; Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>&gt; Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
&gt; FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq">http://www.balabit.com/wiki/syslog-ng-faq</a><br>&gt;<br>&gt;