On Sun, Mar 07, 2004 at 12:08:39PM -0400, Ace Suares wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> Thanks for the 20040301a patch ! It works better now.
> 
> But I still get this error message:
> 
> starting delivery 1: msg 391334 to local [EMAIL PROTECTED]
> info msg 391374: bytes 2164 from <[EMAIL PROTECTED]@[]> qp 3985 
> uid 1191
> qmail-todo neither by land nor by sea...
> 
> I suspect it has to do that I altered qmail-ldap.h, and set uid to be the same 
> as mail. That's because I login with the full mailaddress in pop3. 
> 
> But it looks to me that qmailGroup takes the uid (which is now the full email 
> address) and then start to do some DASH-EXT magic on it - resulting in a very 
> wrong thing.
> 
> How to solve that ? I'd like to be able to login using the full emailaddress 
> when using pop3 or imap - and I'd rather not have a seperate uid attribute, 
> unless I can construct it uniquely from the mailaddress. Should qmail strip 
> everything after the @ sign before it tries to rewrite the uid in case the 
> uid is the full mailaddress ? Or is there another way to do this ?
> 

Could you test this patch?

-- 
:wq Claudio

Index: qmail-group.c
===================================================================
RCS file: /home/cvs-djbware/CVS/qmail-ldap/qmail-group.c,v
retrieving revision 1.12
diff -u -p -r1.12 qmail-group.c
--- qmail-group.c       3 Mar 2004 15:29:01 -0000       1.12
+++ qmail-group.c       8 Mar 2004 22:18:18 -0000
@@ -221,6 +221,9 @@ blast(void)
        datetime_sec when;
        int match;
 
+       if (recips.s == NULL || recips.len == 0)
+               strerr_die2x(100, FATAL, "trying to deliver to a empty group.");
+               
        if (seek_begin(0) == -1) temp_rewind();
        substdio_fdbuf(&ss, subread, 0, buf, sizeof(buf));
        

Reply via email to