Page MenuHomePhabricator

daily-image-l stopped sending on 2020-10-11
Closed, ResolvedPublic

Description

See https://lists.wikimedia.org/pipermail/daily-image-l/2020-October/thread.html

I ran the script manually from the potd tool on Toolforge, and the email was never received on the list. I then used the script to email me and I received it properly.

@Steinsplitter did you change anything on the mailman side?

Event Timeline

Legoktm triaged this task as High priority.Oct 15 2020, 6:31 AM
Legoktm created this task.
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
@Steinsplitter did you change anything on the mailman side?

Nope.

@Steinsplitter did you change anything on the mailman side?

Nope.

@Legoktm If you provide a e-mail address to me, then i can grant you access to the mailman interface.

I suspect this has something to do with a recent change on toolsforge or mailman (antispam?) ?

Screenshot_2020-10-15 daily-image-l Administration (Membership Management ).png (1×992 px, 101 KB)

Maybe the mails are not going out from @tools.wmflabs.org anymore but now from .wmcloud.org and that means it does not match the list of subscribers anymore. Since recently the names of instances changed in some places.

ah, no it's antispam indeed:

F=<tools.potd@tools.wmflabs.org> rejected after DATA: This message scored 6.1 spam points.

see https://wikitech.wikimedia.org/wiki/Mailman#Spam_scores

@Legoktm If you provide a e-mail address to me, then i can grant you access to the mailman interface.

legoktm@member.fsf.org please

ah, no it's antispam indeed:

F=<tools.potd@tools.wmflabs.org> rejected after DATA: This message scored 6.1 spam points.

see https://wikitech.wikimedia.org/wiki/Mailman#Spam_scores

Oof. I suppose we can disable that anti-spam setting because the tools.potd@ email should be the only one allowed to send mails to the list.

@Legoktm If you provide a e-mail address to me, then i can grant you access to the mailman interface.

legoktm@member.fsf.org please

ah, no it's antispam indeed:

F=<tools.potd@tools.wmflabs.org> rejected after DATA: This message scored 6.1 spam points.

see https://wikitech.wikimedia.org/wiki/Mailman#Spam_scores

Oof. I suppose we can disable that anti-spam setting because the tools.potd@ email should be the only one allowed to send mails to the list.

You got a mail with the password (PGP encrypted).

I was trying to apply a new spam filter rule in the mailman filter as described in the documentation at the wikitech wiki, but is not working .... hmmm!

I would suggest to try next if it arrives when you disable the spam filters for your list. Just as a test to see if the issue is there or the spam score is so high that it gets rejected even before it gets to the individual list settings.

@Legoktm, giving back to you for now to react to "you should have received a password" (got it? decrypts and works?) and ^

jcrespo subscribed.

I am going to assume this is resolved, due to old age. Reopen if this is still happening.

I am going to assume this is resolved, due to old age. Reopen if this is still happening.

https://lists.wikimedia.org/pipermail/daily-image-l/

Can't see any emails

Dzahn lowered the priority of this task from High to Medium.

This can't be that hard. @Legoktm do you want me to have a look at this? Doesn't seem to require any advenced permission, only on potd and ml, so I could probably handle it.

Sorry, not sure why I dropped the ball on this.

This can't be that hard. @Legoktm do you want me to have a look at this? Doesn't seem to require any advenced permission, only on potd and ml, so I could probably handle it.

Yes please, just made you a list owner and added you to the "potd" Toolforge tool.

Well, having too many things is probably part of the reason ;-)

I'll have a look. We will see if I end up regretting being so optimistic :P

And, weird enough, it both went through and sent back an auto-reponse saying it's an announcement-only mailing list.

It's still sending the announcement-only mail, but the cron is working now. :-) :-)

he code was already almost working. I simply changed a debugging print to avoid UnicodeError failures, that was what was impeding the cron execution from working all these months:

--- dailyimagel.py	2020-10-15 06:27:34.000000000 +0000
+++ dailyimagel.py	2021-07-04 22:21:07.132442939 +0000
@@ -96,7 +96,7 @@
         lang_name = get_language_name(lang)
         print(langs[lang])
         content = page_content(langs[lang])
-        print(content)
+        print(content.encode('utf-8'))
         if content.strip().startswith('#REDIRECT'):
             # ???
             continue

I have actually removed those two print() statements (some debugging, it seems), so it doesn't produce any output.

List is now working again, so marking as resolved.