Hi
Claudio has done a patch for the problem about recursive bouce fo qmail
group
(see email of 07/06/2004)
It's only hot fix.
Maurizio




Index: qmail-group.c
===================================================================
RCS file: /home/cvs-djbware/CVS/qmail-ldap/qmail-group.c,v
retrieving revision 1.14
diff -u -p -r1.14 qmail-group.c
--- qmail-group.c       16 Apr 2004 13:24:19 -0000      1.14
+++ qmail-group.c       7 Jun 2004 11:45:13 -0000
@@ -273,12 +273,16 @@ blast(void)
                qmail_put(&qqt, line.s, line.len);
        } while (match);
 
+#if 0
        if (!stralloc_copy(&line,&base)) temp_nomem();
        if (!stralloc_cats(&line,"-return-@")) temp_nomem();
        if (!stralloc_cats(&line,host)) temp_nomem();
        if (!stralloc_cats(&line,"[EMAIL PROTECTED]")) temp_nomem();
        if (!stralloc_0(&line)) temp_nomem();
        qmail_from(&qqt, line.s);
+#else
+       qmail_from(&qqt, sender);
+#endif
        for (s = recips.s, smax = recips.s + recips.len; s < smax;
            s += str_len(s) + 1)
                qmail_to(&qqt,s);













-----Original Message-----
From: Gudleik Rasch [mailto:[EMAIL PROTECTED] 
Sent: mercoledì 16 giugno 2004 12.55
To: [EMAIL PROTECTED]
Subject: Bounce problem with qmailGroup 


Hi.

My qmailgroup mailing-list goes into an infinite loop when i put an unknokwn
recipient on the list. Each bounce contains a copy of the previous bounce
and each member on the list receives the same bounce. And this goes on and
on...

My qmailgroup looks basically like this:

dn: cn=Testlist,dc=example,dc=com
objectclass: top
objectclass: qmailGroup
objectclass: qmailUser
rfc822member: [EMAIL PROTECTED]
rfc822member: [EMAIL PROTECTED]
rfc822member: [EMAIL PROTECTED]    ( this is the nonexistent address ;)
uid: mylist
homeDirectory: /var/maildirs/lists/testlist
mailMessageStore: ./Maildir/
cn: Testlist
mail: [EMAIL PROTECTED]
mailAlternateAddress: [EMAIL PROTECTED]

Extract from the log (i've stripped the timestamp):

new msg 128999
info msg 128999: bytes 226 from <[EMAIL PROTECTED]> qp 1414 uid 2111 starting
delivery 1305: msg 128999 to local [EMAIL PROTECTED]
status: local 1/10 remote 0/20
delivery 1305: success: qmail-group:_ok_1087382149_qp_1419./did_0+0+1/
status: local 0/10 remote 0/20
end msg 128999
new msg 148381
info msg 148381: bytes 351 from <[EMAIL PROTECTED]@[]> qp 1419
uid 143 starting delivery 1306: msg 148381 to local [EMAIL PROTECTED]
status: local 1/10 remote 0/20
starting delivery 1307: msg 148381 to local [EMAIL PROTECTED]
status: local 2/10 remote 0/20
starting delivery 1308: msg 148381 to local [EMAIL PROTECTED]
status: local 3/10 remote 0/20
delivery 1308: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
status: local 2/10 remote 0/20
delivery 1307: success: did_0+0+1/
status: local 1/10 remote 0/20
delivery 1306: success: did_1+0+1/
status: local 0/10 remote 0/20
bounce msg 148381 qp 1430
end msg 148381
new msg 148443
info msg 148443: bytes 1026 from <> qp 1430 uid 206
starting delivery 1309: msg 148443 to local [EMAIL PROTECTED]
status: local 1/10 remote 0/20
delivery 1309: success: qmail-group:_ok_1087382150_qp_1433./did_0+0+1/
status: local 0/10 remote 0/20
end msg 148443

Btw, I use the 20040401 patch.
How can I avoid this loop?
I've tried setting membersonly, but that really doesn't solve the problem. 
Is there something i've missed?

--
.gudLeik


Reply via email to