Skip to contentSkip to conversation

Cannot remove mail adress

SPAM Re: Christian Gleerup 3 participants 4 messages Sep 29, 2010 – Sep 30, 2010

lore
Share & tools
lore
#0 lore raw

Ok, I see them now, but.

the concerned email adress i can't delete, lives in

/var/spool/mlmmj/nyhedsbrev/subscribers.d/c

See the following:
/$ sudo cat /var/spool/mlmmj/nyhedsbrev/subscribers.d/c | grep cromozon [email protected]
[email protected]

/$ sudo /usr/bin/mlmmj-unsub -L /var/spool/mlmmj/nyhedsbrev/ -a [email protected] -s Changing to uid 65534, owner of /var/spool/mlmmj/nyhedsbrev/.
/$ sudo /usr/bin/mlmmj-unsub -L /var/spool/mlmmj/nyhedsbrev/ -a [email protected] -s Changing to uid 65534, owner of /var/spool/mlmmj/nyhedsbrev/.

/$ sudo cat /var/spool/mlmmj/nyhedsbrev/subscribers.d/c | grep cromozon [email protected]

Note, If I ommit the -s when i unsubscribe, I get an email with the text from unsub-notsubscribed

Den 9/29/2010 8:20 AM, Mads Martin Jørgensen skrev:

Quoted 6 lines

Look in:

/var/spool/mlmmj/nyhedsbrev/subscribers.d/

where all files containing emailadresses are subscribers.

#1 lore raw

All the files are owned by the user nobody as you correctly guessed,
to be more specific,

The directories are owned by
* nobody : nobody *

most of the files in /var/spool/mlmmj/nyhedsbrev/subscribers.d have ownership
* nobody : root *
few of the files have ownership
* nobody : nobody *

all the files have ownership u=rw

So I am not sure this is related to ownership, since I could add and delete one adress to /var/spool/mlmmj/nyhedsbrev/subscribers.d/c while another adress in the same file would move.

I still recieve news letters on that adress that i can't delete, and if I try tu unsub without the -s argument, i recieve an email stating that I am not subscribed

I tried to add the problematic that i can't delete, and watch the following. /$ sudo /usr/bin/mlmmj-sub -L /var/spool/mlmmj/nyhedsbrev/ -a [email protected]
[sudo] password for fjernsynet:
Changing to uid 65534, owner of /var/spool/mlmmj/nyhedsbrev/.
/$ sudo cat /var/spool/mlmmj/nyhedsbrev/subscribers.d/c | grep cromozon [email protected]
[email protected]

Note that the mail adress shows up 2 times! /var/spool/mlmmj/nyhedsbrev/subscribers.d/c thus contains the same mail adress two times!

if I unsubcribe, I get down to one again,
Is that supposed to happen?

I actually don't know what MTA the server use, but the file /var/spool/mlmmj/nyhedsbrev/control/verp contains postfix. (I have taken over administration of the server, but don't really no much about mail)

Den 9/30/2010 12:42 AM, Ben Schmidt skrev:

Quoted 24 lines

Have a look at the permissions:

ls -ld /var/spool/mlmmj/nyhedsbrev
ls -ld /var/spool/mlmmj/nyhedsbrev/subscribers.d
ls -l /var/spool/mlmmj/nyhedsbrev/subscribers.d

Do the owners of all the directories and files match? (They should be owned by the user that Mlmmj runs as when invoked by your MTA.) Are they all writeable by the owner?

Commands like

chown -R nobody /var/spool/mlmmj/nyhedsbrev
chmod -R u+rw /var/spool/mlmmj/nyhedsbrev

can be used to set the permissions of everything in the list directory. I've guessed 'nobody' because user ID 65534 is likely to be that user, but you may need to adjust that. Are you using Postfix? If so, and you're using it simply, it is likely that it is correct for 'nobody' to be used.

Hope this helps,

Ben.

#2 lore raw
In reply to Christian Gleerup
Quoted 31 lines · On Thu, 30 Sep 2010 20:01:39 +0200 Christian Gleerup…

All the files are owned by the user nobody as you correctly guessed,
to be more specific,

The directories are owned by
* nobody : nobody *

most of the files in /var/spool/mlmmj/nyhedsbrev/subscribers.d have ownership
* nobody : root *
few of the files have ownership
* nobody : nobody *

all the files have ownership u=rw

So I am not sure this is related to ownership, since I could add and delete one adress to /var/spool/mlmmj/nyhedsbrev/subscribers.d/c while another adress in the same file would move.

I still recieve news letters on that adress that i can't delete, and if I try tu unsub without the -s argument, i recieve an email stating that I am not subscribed

I tried to add the problematic that i can't delete, and watch the following. /$ sudo /usr/bin/mlmmj-sub -L /var/spool/mlmmj/nyhedsbrev/ -a [email protected]
[sudo] password for fjernsynet:
Changing to uid 65534, owner of /var/spool/mlmmj/nyhedsbrev/. /$ sudo cat /var/spool/mlmmj/nyhedsbrev/subscribers.d/c | grep cromozon [email protected]
[email protected]

Quoted 4 lines

Note that the mail adress shows up 2 times! /var/spool/mlmmj/nyhedsbrev/subscribers.d/c thus contains the same mail adress two times!

Is it possible that the unsubsribale address has some white spaces behind it (or other invisible characters)
in /var/spool/mlmmj/nyhedsbrev/subscribers.d/c?

Franky

#3 lore raw
In reply to Christian Gleerup
Quoted 34 lines · Franky Van Liedekerke
Quoted 31 lines · On Thu, 30 Sep 2010 20:01:39 +0200 Christian Gleerup<[email protected]>…

All the files are owned by the user nobody as you correctly guessed,
to be more specific,

The directories are owned by
* nobody : nobody *

most of the files in /var/spool/mlmmj/nyhedsbrev/subscribers.d have ownership
* nobody : root *
few of the files have ownership
* nobody : nobody *

all the files have ownership u=rw

So I am not sure this is related to ownership, since I could add and delete one adress to /var/spool/mlmmj/nyhedsbrev/subscribers.d/c while another adress in the same file would move.

I still recieve news letters on that adress that i can't delete, and if I try tu unsub without the -s argument, i recieve an email stating that I am not subscribed

I tried to add the problematic that i can't delete, and watch the following. /$ sudo /usr/bin/mlmmj-sub -L /var/spool/mlmmj/nyhedsbrev/ -a [email protected]
[sudo] password for fjernsynet:
Changing to uid 65534, owner of /var/spool/mlmmj/nyhedsbrev/. /$ sudo cat /var/spool/mlmmj/nyhedsbrev/subscribers.d/c | grep cromozon [email protected]
[email protected]

Quoted 8 lines
Quoted 4 lines

Note that the mail adress shows up 2 times! /var/spool/mlmmj/nyhedsbrev/subscribers.d/c thus contains the same mail adress two times!

Is it possible that the unsubsribale address has some white spaces behind it (or other invisible characters)
in /var/spool/mlmmj/nyhedsbrev/subscribers.d/c?

I agree.

Also, have you tried unsubscribing through the mail system (assuming it's not a closed list), i.e. by sending mail to nyhedsbrev+unsubscribe@... from the problematic address?

Finally...I should say if it's just this one address, not a recurring problem that you need to fix, it wouldn't hurt to find the line in the subscribers.d/c file and just remove it with a text editor.

It would be good to know if that illusive extra whitespace is there though, regardless, particularly if you know how the address was subscribed, because there may be a bug in Mlmmj we can track down, or an improvement we can make to avoid it happening again.

Smiles,

Ben.