report a bug |  advanced search |  statistics |  developer log in/out
Bug #31 Operations log says unsubscribed, but subscriber is still in subscribers file
Submitted: 2011-10-31 13:41 UTC Modified: 2016-05-22 09:07 UTC
From: martin at 925 dot dk Assigned: maintainer at mlmmj dot org
Status: Closed
Mlmmj Version: 1.2.17 OS: FreeBSD
MTA: postfix MTA Version: 2.8.5
View Add Comment Developer Edit
You must login as a developer to do anything here. You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
 [2011-10-31 13:41 UTC] martin at 925 dot dk
Description:
------------
When mlmmj unsubscribes a person due to bouncing, following is noted in the 
operations log:

mlmmj-maintd: email@address.com unsubscribed due to bouncing since  Tue Aug  9 
16:42:57 2011

But in my case, the address was not removed from the subscribers file. The 
permission on these files were such, that mlmmj could not modify them.

I would expect mlmmj to complain or log an error somewhere, if it can not modify 
the subscriber file in question.

From the operations log it looks like the subscriber was removed just fine. But 
he was not.

I don't know if this is a general missing validation or function return check, 
or if it's just in this case (wrong permissions).

Test script:
---------------
Set permission such that mlmmj can not modify the subscribers file, make an address unsubscribe due to bouncing - see error logs says he was unsubscribed - see that subscriber is still in subscribers file.

Expected result:
----------------
An error message, that mlmmj could not remove the subscriber due to file 
permission errors.

Actual result:
--------------
Error log says subscriber was removed, when in fact he was not.