Re: [Sqlrelay-discussion] courier w/ sqlrelay
Brought to you by:
mused
|
From: David M. <dav...@fi...> - 2007-04-24 20:16:14
|
I've heard of courier-auth-postfix, the pop-before-smtp solution for postfix where pop logins are recorded in mysql. Is this what you're referring to? If so, sorry, I haven't used it, but I'd bet that the drop-in-replacement library for mysql would work with it. Does postfix run as a daemon, or is it called by sendmail? If it's called by sendmail, you could either add an LD_PRELOAD prior to launching the sendmail daemon, or you could move postfix to postfix.bin and write a wrapper script like: #!/bin/sh export LD_PRELOAD=\ /usr/local/firstworks/lib/libmysql50sqlrelay-0.39.so.1.0.0 postfix.bin $@ and name it postfix. Either one should work. Dave dav...@fi... On Sun, 2007-04-22 at 20:45 -0500, Gabriel Millerd wrote: > Has anyone configured courier-auth to work with sqlrelay? Specifically > a drop in replacement > > If your at all familiar with courier-auth, its a daisy chain of > processes, from /etc/init.d/ to a script in /usr/sbin which starts a > logging wrapper that is exec'ed that starts the actual auth process > ... which uses a lib that actually calls libmysql (the only part that > has a ldd that is to mysql). > > I have been trying to extend this another layer to get a LD_PRELOAD in > that will get inherited properly rather than recompile. Which I am not > sure will help really. > > I am running a debian installation if that is of interest or helps. > |