|
Aleks,
I also had problems when I tried to install chkuser
and the auth patch in vpopmail/contrib.
I discovered that Bill Shupp's qmail-toaster http://shupp.org/toaster/ already has
netqmail+chkuser+auth+tls patches and I'm testing it now. On the toaster mailing
list you'll find Antonio Nati and other nice guys. There is even an EMPF
patch made specially for qmail-toaster, but not for netqmail.
It seems to me that there's a lot of people
supporting qmail-toaster. Maybe you'd like to try qmail-toaster installation
instead of installing all these patches by hand (this is what I'm trying to get
with qmail-toaster).
Regards,
bnegrao
----- Original Message -----
Sent: Wednesday, September 21, 2005 7:14
AM
Subject: Re: [vchkpw] chkuser
2.0.8b
Hi
I didnt. I missed the trailing */ on that line it
seems. Thanks! - Now, it seems the patch didnt like working with
auth-jms1.4a.patch(auth patch) and/or qmail-1.03-jms1.5.patch (tls patch).
I got the auth patch from the vpopmail contrib dir and tried with
that, leaving the ones mentioned above out of it and then patched with the
netqmail*auth*chkuser patch. I believe im not really in the need for that tls
anyways for smtp transactions. Now, anyone know if there is another trick to
that to make the auth work with chkuser? Qmail compiled fine with the
patches and the result at the moment is the the smtp wont auth anyone and
chkuser works somewhat how it is designed to work (sweet).
220 mx.domain.com ESMTP ehlo 250-mx.domain.com 250-PIPELINING 250-8BITMIME 250-SIZE
0 250 AUTH LOGIN PLAIN
chkuser.c #include
"/home/vpopmail/include/vpopmail.h" #include
"/home/vpopmail/include/vauth.h" #include
"/home/vpopmail/include/vpopmail_config.h"
/* #define
CHKUSER_ENABLE_VAUTH_OPEN */
/usr/local/bin/tcpserver -v -R -l "$LOCAL"
-x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \ -u "$QMAILDUID" -g "$NOFILESGID" 0
smtp \ /var/qmail/bin/qmail-smtpd mx.domain.com \ /home/vpopmail/bin/vchkpw
/usr/bin/true 2>&1
I undefined and defined /* #define CRAM_MD5
*/ from qmail-smtpd.c, compiled fine - but no-go. Wont auth.
Anyone
notice anything i might have missed out?
This hoffman patch -should-
work with a vpopmail/mysql setup
right?
Thanks!
/Aleksander
On 9/20/05, tonix
(Antonio Nati) <[EMAIL PROTECTED]> wrote:
At 11.51 20/09/2005, you wrote:
Tried to patch up a clean src of
qmail-1.03. I get the same error as I get with the already patched up
src.
Hope this is right.
Yes. How did you
define CHKUSER_STARTING_VARIABLE within chkuser_settings.h?
Tonino
Thanks, /Aleksander
- static void first_time_init
(void) {
char * temp_string;
#if !defined
CHKUSER_ALWAYS_ON && defined
CHKUSER_STARTING_VARIABLE
starting_string = env_get
(CHKUSER_STARTING_VARIABLE);
if (starting_string)
{
if (strcasecmp(starting_string, "ALWAYS") == 0)
{
starting_value =
1;
} else if (strcasecmp(starting_string, "DOMAIN") == 0)
{
starting_value =
0;
} } else
{
starting_string = "";
} #endif
-
./load qmail-qmtpd rcpthosts.o control.o
constmap.o \ received.o date822fmt.o now.o qmail.o cdb.a fd.a wait.a
\ datetime.a open.a getln.a sig.a case.a env.a stralloc.a \ alloc.a
substdio.a error.a str.a fs.a auto_qmail.o ./compile
qmail-smtpd.c qmail-smtpd.c: In function `main': qmail-smtpd.c:1021:
warning: return type of `main' is not `int' ./compile
spf.c ./compile base64.c ./compile chkuser.c chkuser.c: In
function `first_time_init': chkuser.c:425: error: syntax error before
'/' token make: *** [chkuser.o] Error 1
On 9/20/05, tonix
(Antonio Nati) <[EMAIL PROTECTED]> wrote:
- At 11.26 20/09/2005, you wrote:
- Hi,
- Trying to patch up an already auth+tls+spf patched qmail-smtpd and
seems i hit a rock and
- hoping for some guidance.
- I followed the manual patch guide at http://www.interazioni.it/opensource/chkuser/documentation/installation/manual.html
and think I somewhat
- fit all the pices in the right places. When i now try to compile
it I get this:
- make
- ./compile chkuser.c
- chkuser.c: In function `first_time_init':
- chkuser.c:425: error: syntax error before '/' token
- make: *** [chkuser.o] Error 1
- I have not changed anything directly within the .c
file
- Can you pls post ten lines of code surrounding the error?
- Tonino
- Anyone got a clue?
- Thanks!
- /Aleksander
|
- Re: [vchkpw] chkuser 2.0.8b Bruno Negrao
-