<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1226" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Where exactly is the "Non Spam Actions" located? I 
briefly looked through the pm files and didn't see anything that jumped out at 
me. Although I understand that I would probably add this function into the 
CustomConfigs.pm file. Thank you in advance.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>WDW</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=mailscanner@ECS.SOTON.AC.UK 
  href="mailto:mailscanner@ECS.SOTON.AC.UK">Julian Field</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=MAILSCANNER@JISCMAIL.AC.UK 
  href="mailto:MAILSCANNER@JISCMAIL.AC.UK">MAILSCANNER@JISCMAIL.AC.UK</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, October 02, 2003 4:10 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: Need to match subjects in 
  email</DIV>
  <DIV><BR></DIV>At 18:12 02/10/2003, you wrote:<BR>
  <BLOCKQUOTE class=cite cite="" type="cite"><FONT face=arial size=2>I need to 
    match email's by their subjects. Here is my a brief description of my 
    problem:</FONT><BR>&nbsp;<BR><FONT face=arial 
    size=2>Municipality--&gt;Exchange server</FONT><BR>&nbsp;<BR><FONT 
    face=arial size=2>Municipal ISP (owned by municipality) --&gt; Linux 
    mailserver</FONT><BR>&nbsp;<BR><FONT face=arial size=2>For ease, some of the 
    mail destined for the municipality is sent directly to the isp mailserver 
    and forward via alias. I need to match a particular email address, then I 
    need to further match a subject. If the subject meets my match criteria, I 
    need that message forwarded to another email address which actually goes to 
    a pager. We are trying to get faster notification of emergency messages from 
    a particular sender. Is this possible? If so please post a short 
    example.</FONT></BLOCKQUOTE><BR>You can do this with a Custom Function 
  attached to "Non Spam Actions" that checks the subject and the destination 
  address. If it matches then it returns "deliver forward yourpager@domain.com". 
  If it doesn't match then it returns "deliver".<BR><BR>sub PagerAction 
  {<BR>&nbsp; my($message) = @_;<BR><BR>&nbsp; return "deliver" unless 
  $message;<BR><BR>&nbsp; if ($message-&gt;{to}[0] eq 'targetaddress@you.com' 
  &amp;&amp; $message-&gt;{subject} =~ /your special subject/i) 
  {<BR>&nbsp;&nbsp;&nbsp; return 'deliver forward 
  yourpager@domain.com';<BR>&nbsp; } else {<BR>&nbsp;&nbsp;&nbsp; return 
  'deliver';<BR>&nbsp; }<BR>}<BR><BR>I haven't tried that, but it should work. 
  Be warned it will only look at the 1st recipient of the message. You will 
  probably want to turn that into a loop to check all the recipients of the 
  message to see if any of them match. <BR>
  <DIV>-- </DIV>
  <DIV>Julian Field</DIV>
  <DIV><A href="http://www.mailscanner.info/" 
  EUDORA="AUTOURL">www.MailScanner.info</A></DIV>
  <DIV>Professional Support Services at <A href="http://www.mailscanner.biz/" 
  EUDORA="AUTOURL">www.MailScanner.biz</A></DIV>
  <DIV>MailScanner thanks transtec Computers for their support</DIV>PGP 
  footprint: EE81 D763 3DB0 0BFD E1DC&nbsp; 7222 11F6 5947 1415 B654 <BR><BR>
  <TABLE borderColor=#800000 cellSpacing=0 cellPadding=0 width="100%" 
    border=1><TBODY>
    <TR>
      <TD width="100%">
        <P align=center>&nbsp;This message has been scanned by CityNET's email 
        scanner for viruses and dangerous content&nbsp;<BR>&nbsp;and is believed 
        to be clean. CityNET is proud to use MailScanner. For more 
        information&nbsp;<BR>&nbsp;concerning MailScanner, visit 
        http://www.mailscanner.info</P></TD></TR></TBODY></TABLE></BLOCKQUOTE></BODY><br>
<br>
<table border="1" cellpadding="0" cellspacing="0" width="100%" bordercolor="#800000">
  <tr>
    <td width="100%">
      <p align="center">&nbsp;This message has been scanned by CityNET's email scanner for viruses and dangerous content&nbsp;<br>
      &nbsp;and is believed to be clean.  CityNET is proud to use MailScanner.  For more information&nbsp;<br>
      &nbsp;concerning MailScanner, visit http://www.mailscanner.info</td>
  </tr>
</table>
</HTML>