Code Monkey home page Code Monkey logo

docker-spamassassin's Issues

Support graceful shutdown

When attempting to shutdown the spamassessin container, it takes the timeout time until the container stops because the SIGTERM signal is not processed by all processes in the container. This causes the docker daemon to perform a forced shutdown after timeout passed, potentially causing data corruption, loss of time each time the container is stopped and other issues.

Expected: Graceful shoutdown.

How to reproduce: docker stop spamassessin

Further reading: https://medium.com/@gchudnov/trapping-signals-in-docker-containers-7a57fdda7d86

Container exits after a while

First thank you for crafting this image. We've been using it for a while without problems until recently, when it started to stop itself quite quickly:

$ docker run -ti --rm -p 783:783 dinkel/spamassassin
Oct 04 14:33:27.520495 check[11]: [ 2] [bootup] Logging initiated LogDebugLevel=3 to file:/dev/stderr
Oct  4 14:33:29.303 [11] info: spamd: server started on IO::Socket::IP [0.0.0.0]:783 (running version 3.4.1)
Oct  4 14:33:29.303 [11] info: spamd: server pid: 11
Oct  4 14:33:29.306 [11] info: spamd: server successfully spawned child process, pid 14
Oct  4 14:33:29.309 [11] info: spamd: server successfully spawned child process, pid 15
Oct  4 14:33:29.310 [11] info: prefork: child states: IS
Oct  4 14:33:29.310 [11] info: prefork: child states: II
  
/run.sh: line 25:     7 Terminated              /rule-update.sh
/run.sh: line 25:     8 Terminated              /spamd.sh

Doubt

Hi, how should I configure spamassassin in the container for that: i have a server with two interfaces, one connected to router Internet, and the other connected to my personal LAN and I want to filter all emails from both server and client/clients.

Thanks!

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.