Hi all. You may remember this:
http://mla.libertine.org/tmda-users/2003-05/msg00128.html
I'm having what I believe to be a related problem, so I thought I'd send
the data points and see what folks think.
The relevant debug entry:
Uncaught Python 2.2.1 Exception (Wed May 28 14:25:52 2003):
-----------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/bin/tmda-filter", line 53, in ?
execfile(os.path.join(execdir, 'tmda-rfilter'))
File "/usr/local/bin/tmda-rfilter", line 789, in ?
main()
File "/usr/local/bin/tmda-rfilter", line 729, in main
verify_confirm_cookie(cookie_value, 'accept')
File "/usr/local/bin/tmda-rfilter", line 478, in verify_confirm_cookie
Defaults.CONFIRM_APPEND) != 0:
File "/usr/local/lib/python2.2/site-packages/TMDA/Util.py", line 385, in
append_to_file
file = open(fullpathname, 'a+') IOError: [Errno 13] Permission denied:
'/home/sumsault/.tmda/lists/whitelist'
The permissions in that directory are like so:
drwxrwxr-x 4 sumsault sumsault 512 May 28 13:48 .
drwxrwxr-x 8 sumsault sumsault 512 May 9 22:02 ..
-rw-rw-r-- 1 sumsault sumsault 1711 May 8 09:12 blacklist
-rw-rw-r-- 1 chris sumsault 65536 May 8 09:12 blacklist.db
-rw-rw-r-- 1 sumsault sumsault 0 May 8 09:12 blacklist.last_built
-rw-rw-r-- 1 sumsault sumsault 221 May 13 07:33 blacklist_wildcards
-rw-rw-r-- 1 sumsault sumsault 36571 May 28 13:37 whitelist
-rw-rw-r-- 1 chris sumsault 98304 May 28 13:48 whitelist.db
-rw-rw-rw- 1 sumsault sumsault 0 May 28 13:48 whitelist.last_built
-rw-rw-r-- 1 sumsault sumsault 3391 May 13 08:12 whitelist_wildcards
and user chris is a member of group sumsault. As user chris, I can
manually append to the whitelist file, e.g.
# echo "[EMAIL PROTECTED]" >> /home/sumsault/.tmda/lists/whitelist
and I can manually whitelist addresses through tmda-pending.
The problem behavior is basically that someone trying to confirm their
message can successfully generate a confirmation, but when TMDA can't
append their address to the whitelist, it fails. The MTA keeps trying to
deliver to the chris-confirm-... address, and so the log-in file is filled
with entries that look like:
Date: Wed May 28 14:47:10 EST 2003
From: "Wellie W. Chao" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subj: RE: Please confirm your message re: FW: Marketing for publishers
Actn: CONFIRM accept 1054088659.14115.msg (2369)
I just upgraded from 0.76 to 0.78 and get the same thing. Changing the
file to be world writable fixes it. I thought the TMDA process would be
effective uid "chris", so I don't understand why that should matter.
Any thoughts?
Thanks,
Chris
_________________________________________________
tmda-workers mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-workers