tmda-cgi-0.15
tmda-1.1.10

This appears to be an issue with tmda-cgi, and the site pointed to this 
list as the mailing list to ask question in, so I hope I'm not posting 
in the wrong place.

So... whitelisting a message via tmda-cgi resulted in a duplicate 
message in the inbox.  It looks like two calls were being made to the 
local delivery agent.  I can confirm with a diff on the duplicates, 
notice the PID of the qmail process:

# diff 1172612553.25044.net,S=2206:2, 1172612553.25051.net,S=2206:2,
3c3
< Received: (qmail 25027 invoked by uid 79); 27 Feb 2007 21:42:33 -0000
---
 > Received: (qmail 25038 invoked by uid 79); 27 Feb 2007 21:42:33 -0000

Same delivery time, headers, everything.  So I looked at PendList.py, 
and on lines 89,90,91 you see

WhiteList.append(MsgObj)
# TODO: Separate release not needed for TMDA 1.1.x
ReleaseList.append(MsgObj)

and same code starting on line 123.

Looks like Commenting out one fixes the duplicate message.  Can anyone 
confirm that this is an OK way of resolving this?


ALSO, after commenting out ReleaseList, when I'd whitelist a message, it 
would still be shown in the Pending list.  But when I reloaded the 
pending list (by clicking the "Pending" link on the left) the message 
was gone (good).

So I uncommented "ReleaseList.append", and commented out 
"Whitelist.append", and it appears to work correctly (deliver only one, 
and message disappears from Pending immediately after whitelisting).  Am 
I safe running tmda like that or am I causing other issues to creep up?


This also brings me to yet another point.  Should "Releasing" a message 
add the sender address to the whitelist?  It does in my setup.

Thank you.
_____________________________________________
tmda-users mailing list (tmda-users@tmda.net)
http://tmda.net/lists/listinfo/tmda-users

Reply via email to