Peter,

> Still struggling  with the syntax of amavis conf variables. Pretty hard to
> get A complete view :-(

Check slide 45 of:
  http://www.ijs.si/software/amavisd/amavis-berlin-20090703.pdf


> I want to quarantine all SPAM that my local users are trying to send so I
> put the Following into MYNETS policy bank
> 
> spam_quarantine_method => [ ' pipe:argv=/usr/local/bin/myscript.pl ' ],
> .....
> 
> But in the log is says:
> DO_QUARANTINE, pipe:argv=/usr/local/bin/myscript.pl,
> sen...@myserver.org<mailto:sen...@myserver.org> -> spam-quarantine,
> spam-quarantine (!!) TROUBLE in checkmail: quar+notif FAILED; Undefined
> soubroutine &Amavis::Out::Pipe::mail_via_pipe called at .....
> 
> The script exist and in written in perl.
> What am I doing wrong ?


> Found out that the amavisd-new start states: Pipe-out proto code NOT loaded
> Probably the reason for the missing subroutine.
> 
> But how do I manage to get this code loaded ?

Is that a space in a protocol name?   '<SP>pipe:argv...

There is no protocol '<SP>pipe', you need to remove the space
from a string.

  Mark

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 Please visit http://www.ijs.si/software/amavisd/ regularly
 For administrativa requests please send email to rainer at openantivirus dot 
org

Reply via email to