<!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> </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> <BR><FONT face=arial 
    size=2>Municipality-->Exchange server</FONT><BR> <BR><FONT 
    face=arial size=2>Municipal ISP (owned by municipality) --> Linux 
    mailserver</FONT><BR> <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>  my($message) = @_;<BR><BR>  return "deliver" unless 
  $message;<BR><BR>  if ($message->{to}[0] eq 'targetaddress@you.com' 
  && $message->{subject} =~ /your special subject/i) 
  {<BR>    return 'deliver forward 
  yourpager@domain.com';<BR>  } else {<BR>    return 
  'deliver';<BR>  }<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  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> This message has been scanned by CityNET's email 
        scanner for viruses and dangerous content <BR> and is believed 
        to be clean. CityNET is proud to use MailScanner. For more 
        information <BR> 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"> This message has been scanned by CityNET's email scanner for viruses and dangerous content <br>
       and is believed to be clean.  CityNET is proud to use MailScanner.  For more information <br>
       concerning MailScanner, visit http://www.mailscanner.info</td>
  </tr>
</table>
</HTML>