You should try getting the latest version of vpopmail from SF.NET as that
function was to be put back into the source. If you want to stick with
the version you have for some reason then you will need to comment out
the following lines in qmail-smtpd.c (I think from memory)
/* Check if domain is a real domain */
/*
if (!stralloc_0 (&domain)) die_nomem();
vget_real_domain(domain.s, domain.a);
domain.len = strlen (domain.s);
if (domain.len > (domain.a - 1)) die_nomem();
*/
/* Let's get domain's real path */
cheers,
Shane
>-----Original Message-----
>From: John Johnson [mailto:[EMAIL PROTECTED]
>Sent: Thursday, 16 October 2003 1:32 AM
>To: Eero Volotinen; [EMAIL PROTECTED]
>Subject: Re: [toaster] check user patch
>
>
> I discovered I was working with the wrong source, I deleted that one
>so it would not happen again. Now when I compile I get this
>error below,
>I am using MySQL support and I have tried to patch with the mysql patch
>but it failed so I did it by hand, after doing the checkuser.patch
>really easy change
>
>-------------
>timeoutwrite.o ip.o ipme.o ipalloc.o control.o constmap.o \
>received.o date822fmt.o now.o qmail.o cdb.a fd.a wait.a \
>datetime.a getln.a open.a sig.a case.a env.a stralloc.a \
>alloc.a substdio.a error.a str.a fs.a auto_qmail.o base64.o `cat \
>socket.lib` -lssl -lcrypto dns.o `cat dns.lib` -lcrypt \
> `head -1 conf-vpopmail`/lib/libvpopmail.a \
> /usr/lib/libmysqlclient.a -lz
>qmail-smtpd.o: In function `realrcpt_check':
>qmail-smtpd.o(.text+0x10e7): undefined reference to `vget_real_domain'
>collect2: ld returned 1 exit status
>make: *** [qmail-smtpd] Error 1
>[EMAIL PROTECTED] qmail-1.03]#
>
>----- Original Message -----
>From: "Eero Volotinen" <[EMAIL PROTECTED]>
>To: "John Johnson" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
>Sent: Wednesday, October 15, 2003 9:31 AM
>Subject: Re: [toaster] check user patch
>
>
>>
>>
>> >It's still failing.. It has the Toaster patch and I do have
>qmail and
>> vpopmail allready installed and working. I am lost as to what
>> >is causing this problem, I have no other patches except the toaster
>patch.
>>
>> >[EMAIL PROTECTED] qmail-1.03]# patch -p0 <./chkuser.patch
>> >patching file ./Makefile
>> >Hunk #2 FAILED at 1584.
>> >1 out of 2 hunks FAILED -- saving rejects to file ./Makefile.rej
>> >patching file ./conf-vpopmail
>> >patching file ./qmail-smtpd.c
>> >Hunk #1 succeeded at 24 with fuzz 2.
>> >Hunk #2 succeeded at 89 (offset -7 lines).
>> >Hunk #3 FAILED at 351.
>> >Hunk #4 succeeded at 621 (offset -55 lines).
>> >1 out of 4 hunks FAILED -- saving rejects to file
>./qmail-smtpd.c.rej
>>
>> As I said, it REQUIRES big toaster patch from www.shupp.org
>main page.
>> It does *not work* with old toaster patch.
>>
>> --
>> Eero
>>
>>
>
>