Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kennethkalmer/mua-proxy

Transparent proxy server between MUA's (Mail User Agents) and POP3 servers
https://github.com/kennethkalmer/mua-proxy

Last synced: about 15 hours ago
JSON representation

Transparent proxy server between MUA's (Mail User Agents) and POP3 servers

Awesome Lists containing this project

README

        

DaemonKit README
================

DaemonKit has generated a skeleton Ruby daemon for you to build on. Please read
through this file to ensure you get going quickly.

Directories
===========

bin/
mua-proxy - Stub executable to control your daemon with

config/
Environment configuration files

lib/
Place for your libraries

libexec/
mua-proxy.rb - Your daemon code

log/
Log files based on the environment name

spec/
rspec's home

tasks/
Place for rake tasks

vendor/
Place for unpacked gems and DaemonKit

tmp/
Scratch folder

Logging
=======

One of the biggest issues with writing daemons are gettign insight into what your
daemons are doing. Logging with DaemonKit is simplified as DaemonKit creates log
files per environment in log.

On all environments except production the log level is set to DEBUG, but you can
toggle the log level by sending the running daemon SIGUSR1 and SIGUSR2 signals.
SIGUSR1 will toggle between DEBUG and INFO levels, SIGUSR2 will blatantly set the
level to DEBUG.