Robert,

> How do I call an external script upon INFECTED or Spam-Score > 10

This is not available without hacking the code, there is no mechanism
to specify plugins (except when their function is similar to a virus scanner).

> Why do I want to call a script:
>
> Upon INFECTED or Spam-Score > 10 I want to to temp-block the
> "enevelope_sender-last_mta_ip" and on the SMTP RCPT TO stage on further
> requests.

amavisd-new is designed to be positioned as a post-queue content filter.
At this stage the MAIL FROM, RCPT TO and DATA parts of the original
SMTP session are already over, the original session no longer exists.

Although some people use amavisd-new as a pre-queue proxy-type content
filter, this is unsupported. It may work, but don't complain when it doesn't.
See SMTPD_PROXY_README in the Postfix documentation.

  Mark


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to