> You could use the new "mail attributes" (currently only in CVS) to store and
> forward such info.

Awesome, that is exactly what I am looking for. This might be getting a bit 
esoteric but, what if I patch the various Notify mailets to accept JSTL style 
variables in the notice attribute?

For example:

<mailet match="ClamAntiVirus" class="NotifySender">
  <notice>Message contains the virus(es) ${attribute.viruses}.</notice>
</mailet>

Would print:

Message contains the virus(es) [W32/[EMAIL PROTECTED]

Provided "viruses" is a attribute.

What do you think?

Josh

> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > Sent: luned� 4 agosto 2003 17.41
> > To: [EMAIL PROTECTED]
> > Subject: Clam AntiVirus Mailet/Matcher
> > 
> > 
> > Howdy,
> > 
> > I am writing a mailet or matcher to scan messages with Clam AntiVirus 
> > (http://clamav.elektrapro.com) running in daemon mode. My 
> > question has to do 
> > with best practices. I would like to optionally notify the 
> > sender, recipient, 
> > postmaster or any other address if the message contains a virus 
> > and which virus
> > (es) it contains. Since I will not be making changes to the email only 
> > optionally sending it to repository, I would like to use a 
> > matcher to do the 
> > scanning. How can I pass the list of viruses from a matcher to a 
> > mailet (I 
> > think somebody else has asked this but I couldn't find it in the 
> > archives) or 
> > should I just use a mailet for everything?
> > 
> > Thanks in advance,
> > 
> > Josh
> > 
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to