Ok i got it. If the subscribers database is local it rejects posts from non subs. If i put the subscribers db in mysql, the posts from non subscribers are posted. Here�s the log from mysql:
 
010809 12:32:11       6 Connect     [EMAIL PROTECTED] on lst00001
                      6 Query       SELECT address FROM test WHERE address = '[EMAIL PROTECTED]' AND (hash BETWEEN 0 AND 52)
                      6 Quit
                      7 Connect     [EMAIL PROTECTED] on lst00001
                      7 Query       INSERT INTO test_cookie (msgnum,cookie) VALUES (6,'fjlihmlkijgmjnokedij')
                      7 Query       SELECT address FROM test
                      7 Query       INSERT INTO test_mlog (msgnum,listno,done) VALUES (6,0,1)
                      7 Quit
 
 
 
'[EMAIL PROTECTED]' is not a subscriber
-----Original Message-----
From: Jorge Santos [mailto:[EMAIL PROTECTED]]
Sent: Quinta-feira, 9 de Agosto de 2001 10:46
To: Ezmlm
Subject: Newbie- Trouble with ezmlm-make -u

Hi
 
I�m using qmail-ldap patch 802 and dashext patch 801, and I installed ezmlm-idx-0.53.324-1.src.rpm, compiled and configured like follows:
 
/usr/bin/ezmlm/ezmlm-make -u -6 'sqlserver::user:password::lst00001:test' /valnet/lists/lst00001/test /valnet/lists/lst00001/.qmail-test lst00001-test yellow.valnetsado.pt
 
Then i subscribed one user, and it posts ok. Then i sent a message from a non subscriber and it got posted to the list, without being rejected. How is this possible?
My ~/test/editor goes like this:
 
|/usr/bin/ezmlm/ezmlm-reject '/valnet/lists/lst00001/test'
|/usr/bin/ezmlm/ezmlm-issubn '/valnet/lists/lst00001/test' '/valnet/lists/lst00001/test/digest' '/valnet/lists/l
st00001/test/allow' '/valnet/lists/lst00001/test/mod' || { echo "Sorry, only subscribers may post. If you are a sub
scriber, please forward this message to [EMAIL PROTECTED] to get your new address included (
#5.7.2)"; exit 100 ; }
|/usr/bin/ezmlm/ezmlm-send '/valnet/lists/lst00001/test'
|/usr/bin/ezmlm/ezmlm-warn '/valnet/lists/lst00001/test' || exit 0
 
I tried applying the '-n' on the issubn line but then the subscriber's post is rejected.
Can you help me please?
Thanks in advance
 
Jorge Santos

Reply via email to