WYAE - MoSSHe List Archive


MoSSHE notes
From:Asheesh Laroia
Date: Mon, 2 Apr 2007 03:09:30 -0400 (EDT)

I've started using the MoSSHe package.  It seems nice.  A few things I've 
encountered so far:

* the grep for tests in mosshe.singlerun is not correct.  At [1] is a 
patch against 1.4.0 that fixes this.

* You don't support SSL'd services.  To fix this, I've added support for 
IMAP over SSL in an imaps script [2].  It required adding a 
line to mosshe.conf:

export STUNNEL=stunnel4

You are welcome to use the IMAPs script; I release it under the terms of 
the GNU General Public License version 2 or later, at your discretion.

The stunnel script looks a little weird, so let me explain: it creates a 
temporary configuration file for stunnel because in versions 4 and later 
of stunnel it requires a configuration file.  stunnel version 3 has no 
ability to timeout a connect like netcat does; in stunnel4, I configure 
that to 10 seconds with TIMEOUTconnect = 10.

* mosshe_cron thinks that "su mosshe -c /bin/sh" is the same as a mosshe 
process, so when I'm su'd to the mosshe user that way, the cron script 
refuses to start the daemon.  I don't have a patch for this yet, but it'd 
be nice if it weren't the case. (-:

I'll keep the list aware of anything else I discover that could improve 
the program.  Thanks for making it!

-- Asheesh.

1. http://paulproteus.acm.jhu.edu/bug-report/2007-04-02/pat.patch
2. http://paulproteus.acm.jhu.edu/bug-report/2007-04-02/imaps

-- 
Your domestic life may be harmonious.