Git Product home page Git Product logo

haraka-plugin-avg's Introduction

CI Test Status Code Climate

NPM

haraka-plugin-avg

avg - Anti-Virus scanner

Implement virus scanning with AVG's TCPD daemon, available for Linux/FreeBSD. AVG linux is free for personal or commercial use and can be downloaded from free.avg.com.

Messages that AVG detects as infected are rejected. Errors will cause the plugin to return temporary failures unless the defer options are changed (see below).

Configuration

The following options can be set in avg.ini:

  • port (default: 54322)

    TCP port to communicate with the AVG TCPD on.

  • tmpdir (default: /tmp)

    AVG TCPD requires that the message be written to disk and scanned. This setting configures where any temporary files are written to. After scanning, the temporary files are automatically removed.

  • connect_timeout (default: 10)

    Maximum seconds to wait for the socket to connect. Connections taking longer will cause a temporary failure to be sent to the remote MTA.

  • session_timeout

    Maximum number of seconds to wait for a reply to a command before failing. A timeout will cause a temporary failure to be sent to the remote MTA.

  • [defer]

By default, this plugin defers when errors or timeouts are encountered. To fail open (let messages pass when errors are enounctered), set the error and/or timeout values to false.

[defer]
error=true
timeout=true

cp node_modules/haraka-plugin-avg/config/avg.ini config/avg.ini $EDITOR config/avg.ini

USAGE

haraka-plugin-avg's People

Contributors

msimerson avatar

Watchers

 avatar Steve Freegard avatar Matt Sergeant avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.