From: John E H. <jh...@ti...> - 2006-03-16 17:19:11
|
John E Hein wrote at 10:09 -0700 on Mar 16, 2006: > Milton Cyrus wrote at 17:44 +0100 on Mar 16, 2006: > > Just Fired up a pyzor server on: 82.94.255.100:24441 > > Its open for ANON connections.. lets see if we can get this back up and > > running... > > 66.250.40.33:24441 started working yesterday. > > Does anyone know if you can have two servers in the '.pyzor/servers' > file? > > ... and if so, how spam gets queried / reported? I'm sure there's no > code to have cooperating servers yet, but what does the pyzor client > do with a servers file with more than one entry (round robin? > failover? entries > 1 ignored?)? I have not looked at the code, but > if I get no response, I'll do so and report back when I get a chance. Answering some of my own questions... 'pyzor ping' looks for both. 'pyzor discover' still only finds 66.250.40.33 'pyzor report' reports to both. 'pyzor check' queries both. I'm not sure what SpamAssassin is doing with it right now. Here's a spam I checked... pyzor by itself... pyzor -d check < xx calculated digest: 5128521d33657b61406dce4be7e322b12102337a sending: 'User: anonymous\nTime: 1142529139\nSig: 7de8c0ae761cf5bd474bdeed4f8602301c05d1ac\n\nOp: check\nOp-Digest: 5128521d33657b61406dce4be7e322b12102337a\nThread: 56774\nPV: 2.0\n\n' received: 'Thread: 56774\nCount: 1\nWL-Count: 0\nCode: 200\nDiag: OK\nPV: 2.0\n\n' 66.250.40.33:24441 (200, 'OK') 1 0 sending: 'User: anonymous\nTime: 1142529140\nSig: ce416554a4a6f9f0cb8efb4a88f55977eec5c6da\n\nOp: check\nOp-Digest: 5128521d33657b61406dce4be7e322b12102337a\nThread: 19950\nPV: 2.0\n\n' received: 'Thread: 19950\nCount: 2\nWL-Count: 0\nCode: 200\nDiag: OK\nPV: 2.0\n\n' 82.94.255.100:24441 (200, 'OK') 2 0 This is with SA in debug mode processing the spam ... [63194] dbg: util: executable for pyzor was found at /usr/local/bin/pyzor [63194] dbg: pyzor: pyzor is available: /usr/local/bin/pyzor [63194] dbg: info: entering helper-app run mode [63194] dbg: pyzor: opening pipe: /usr/local/bin/pyzor check < /tmp/.spamassassin63194Iqy8XKtmp [63195] dbg: util: setuid: ruid=600 euid=600 [63194] dbg: pyzor: [63195] finished: exit=0x0100 [63194] dbg: pyzor: got response: 66.250.40.33:24441_(200, 'OK')_0_0\n82.94.255.100:24441_(200, 'OK')_0_0 [63194] dbg: info: leaving helper-app run mode It looks like SA is confused by this. Thanks for the extra server Milton. Is the server code published somewhere? |