On Fri, 16 Apr 2010 21:24:21 +0200 Rolf Eike Beer <da...@users.sf.net> wrote:
> Am Sonntag, 7. Dezember 2008 schrieb Charles Sprickman: > > On Sun, 7 Dec 2008, John Stile wrote: > > > On Tue, 2008-11-04 at 23:05 +0100, Rolf Eike Beer wrote: > > >> Am Mittwoch, 22. Oktober 2008 schrieb Rolf Eike Beer: > > >>> Am Sonntag, 11. Mai 2008 schrieb Sam Varshavchik: > > >>>> Rolf Eike Beer writes: > > >>>>> Am Samstag, 10. Mai 2008 schrieb Sam Varshavchik: > > >>>>>> Bookworm writes: > > >>>>>>> I've been made aware that in the latest 60.4 changelog > > >>>>>>> (http://www.courier-mta.org/authlib/changelog.html), the > > >>>>>>> authvchkpw module has been dropped. > > >>>>>>> > > >>>>>>> What needs to be done to have it put back in? I'm > > >>>>>>> assuming a maintainer, but I'm sure there's a lot more to > > >>>>>>> that. > > >>>>>> > > >>>>>> Yes, someone need to take ownership of the code. > > >>>>> > > >>>>> What needs to be done there? > > >>>> > > >>>> Grab the authvchkpw code from the last version, verify that it > > >>>> build and compiles. Post a patch to restore the module to > > >>>> HEAD, put yourself down as the contact. > > >>> > > >>> Ok, it had been a while. I'll be busy working on other things > > >>> for at least two more weeks but I would definitely do the task > > >>> of keeping this working. > > >>> > > >>> To give me a easier start could you give me some hints where to > > >>> start, please? What exactly do I need to check out to get the > > >>> lastest version where this was in? Which modules (I assume only > > >>> authlib) do I need to monitor to see if anything changes? Have > > >>> there been any problems (build or runtime) prior to the remove > > >>> I should know about? > > >> > > >> Ping? > > > > > > Hello Rolf, > > > > > > Has there been any progress on authvchkpw? > > > > I'm curious as well. I'm stuck on a very old version of Courier > > and while I'll likely be dumping the whole mail system for > > something entirely different late next year, for now I'd like to at > > least keep things up to date. Courier 4.0.6(_1,1), > > courier-authlib-vchkpw 0.58(_2) - this is from FreeBSD ports, the > > numbers in parens indicate their revisions. > > > > The problem I see here, and if I'm not mistaken, vpopmail support > > was dropped shortly after this version, is that the vpopmail auth > > module has a huge memory leak. After about one week all my > > authdaemond processes grow to a few hundred MB in size. Current > > solution? Nightly cron job to restart the daemon. :( > > > > There are a few very good people outside of Inter7 working on > > vpopmail. Both Bill Shupp and Tom Collins would probably be very > > helpful to anyone working on this. Check out the sf.net page for > > their contact info. > > Hi everyone, > > it actually took my much longer than I wanted to. I thought the auth > module in vpopmail would work and therefore not looked into it any > more. Since I was forced to upgrade my server 3 days ago I needed to > look into it again as things of course did not work afterwards :( > > So the authvchkpw.c included in vpopmail is a standalone binary while > courier- authlib expects a shared library. I looked at the existing > modules (the in- header documentation on what to do could have been > better to make me my things easier, but source good has worked to) > and the authvchkpw.c from vpopmail and basically merged that > together. I've no idea if I did everything right but at least I now > can get my mails again. > > Since I have no idea whatsoever of that autohell stuff I wroke a > small cmake file to get everything compiled. My steps were basically > as follows: > > -install courier-authlib > -build vpopmail > -copy the two attached files into vpopmail source dir > -mkdir build > -cmake vpopmail/source/dir > -make > -copy libauthvchkpw.so to courier authlib directory > > I'm sure all this could be a lot improved as this is really just an > ugly hacked together first version. It may rape your dog, eat your > kittens, or make your children become lawyers. You have been warned. > I don't give any warranty for anything. But it works for me (at least > for the last day or so) and I just wanted to share those with you. > > Comments welcome. > > Eike Nicely hacked. I was doing something similar for a very long while, but grew tired of doing it on every upgrade. If vpopmail user data is in MySQL, it's much easier to set up authmysql authentication module (at least it is officially supported). I documented what I did on Gentoo wiki: http://en.gentoo-wiki.com/wiki/Courier-authlib_with_MySQL ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap