From: Frank de Lange <frank@un...> - 2002-05-04 16:42:56
I made a new version of hotwayd (v 0.3), which I submitted to the
hotwayd patch area for lack of access to the main upload area (I'm not
the official project maintainer, so...). Changes are:
> Version 0.3 - Frank de Lange
> - Memory allocation errors made the program dump core in many cases.
> Fixed there errors.
> - Started changing insecure functions to more secure versions (strlcat,
> strlcpy, snprintf). Included strlcat and strlcpy source from OpenBSD.
> - Program was looping because of authentication errors. Made program
> use Authorize: header only on explicit request from server to get
> out of those loops... Outlook behaves like this, so this program
> should do so as well...
> - Made program compile without warnings with -Wall
> - Fixed Makefile.in so it includes the xml2 header include directory
> This needs the xml2-config program, which should be available on
> any box which has libxml2 installed.
> - According to RFC 1939, a POP server should be able to handle
> the RETR command immideately after entering the TRANSACTION
> state. For this to work, we need to do an implicit STAT on the
> mail store, otherwise RETR will fail. The STAT will also produce
> the needed +OK response.
Go to the patch area of the hotwayd project on SourceForge:
to read the announcement (nothing more than I put in this message,
really), or download the code at:
(the file should be called 'hotway-0.3.tar.gz', but SF's patch download
mechanism messes up filenames...).
untar, configure and install (make install works, but it does not (yet)
honour the --prefix argument to configure. It will always be installed
in /usr/sbin. I just copy the file manually where I want it to be.
Oh, another thing. If you want to use hotwayd with fetchmail, you either
have to use fetchall or hack the source to use httpmail_retrieve instead
of the currently unsupported httpmail_top function. If you don't know
what I'm talking about, have a look at commands.c in the tarball (last
function in the file).
I have an experiment running with a fecthmail-driven hotwayd (fetchmail
in daemon mode, 10 minute poll interval) coupled to a spam filter
(spamassassin.sf.net). It seems to work OK, as it correctly marks
Hotmail's 'member announcements' as spam :-)
## o o\ / Frank de Lange \
}# \| / \
\ `--| _/ <Hacker for Hire> \
`---' \ +31-320-252965 /
\ frank@... /
[ "Omnis enim res, quae dando non deficit, dum habetur
et non datur, nondum habetur, quomodo habenda est." ]