Bug 27807 - Mails from Wordpress on Neru don't arrive on the i18n-reports mailing list. Spoofed mails do arrive.
Summary: Mails from Wordpress on Neru don't arrive on the i18n-reports mailing list. S...
Status: REOPENED
Alias: None
Product: Websites
Classification: Unclassified
Component: blog.mageia.org (show other bugs)
Version: trunk
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Sysadmin Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-13 00:39 CET by katnatek
Modified: 2021-11-04 11:22 CET (History)
10 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description katnatek 2020-12-13 00:39:29 CET
Description of problem:

With today are 2 times i login to blog.mageia.org/es and i found comments to moderate and i don't receive the notification in my mail account
Comment 1 Filip Komar 2020-12-13 22:36:22 CET
I never got any notification either. I don't know who can fix this.

CC: (none) => filip.komar

Morgan Leijström 2020-12-13 22:56:37 CET

CC: (none) => sysadmin-bugs

Comment 2 katnatek 2021-01-06 20:45:11 CET
Still valid, i now you have a lot of work but please take care of this
Comment 3 Nicolas Lécureuil 2021-01-06 22:03:30 CET
strange, i will take a look.

CC: (none) => mageia

Comment 4 Yann Ciret 2021-03-10 08:56:02 CET
Hello Nicolas,

I haven't received any mail from the blog for some time now.
I recently made the request to change the email on my blog account, but I didn't receive the validation email for this change either, so it is not taken into account.

Yann

CC: (none) => mageia

Comment 5 Nicolas Lécureuil 2021-03-10 09:49:49 CET
yes this is changed on your blog account.

I still search why mails are KO for blogs. I will dedicate time tomorow for this. We need this fixed :)
Comment 6 Yann Ciret 2021-04-23 00:13:41 CEST
Hello Nicolas,

any news about this issue? I just saw a blog comment awaiting approval since 11 april.

Regards
Yann
Comment 7 Marja Van Waes 2021-09-25 21:24:43 CEST
It would be nice to see this solved. Last mail on blog-moderation ml was from 3 September 2020.

https://gitweb.mageia.org/infrastructure/puppet/tree/deployment/lists/manifests/init.pp#n35 shows:

    sympa::list::private { 'blog-moderation':
        subject               => 'Blog comments moderation',
        subscriber_ldap_group => 'mga-blog-moderators',
        sender_email          => [ "wordpress@blog.${::domain}" ],
        topics                => 'atelier',
    }

Does that mean that *only* wordpress@blog.mageia.org is allowed to mail this list?
If so, are those mails still sent, with the correct sender?

Note that it is even longer ago, over two years, that i18n-reports ml received mails about new entries on the English blog (that need to be translated).

That seems to be this part:
https://gitweb.mageia.org/infrastructure/puppet/tree/deployment/lists/manifests/init.pp#n74

    sympa::list {'i18n-reports':
        subject           => 'Automated reports for translations',
        reply_to          => "i18n-discuss@ml.${::domain}",
        sender_subscriber => true,
        sender_email      => [
            'r2d2@vargas.calenco.com',
            "blog@${::domain}",
            ],
        topics            => 'i18n',
    }
With blog.mageia.org as (different) sender.

@ Akien

Aren't you the one around who knows most about our Wordpress? If my assumption is true that Wordpress should send those mails, could you then please check whether they still do correctly get sent?

CC: (none) => marja11, rverschelde

Comment 8 Marja Van Waes 2021-09-25 21:30:25 CEST
s/blog.mageia.org/blog@mageia.org/
Comment 9 Dave Hodgins 2021-09-25 21:42:27 CEST
Could this be related to https://blog.mageia.org/en/2018/02/20/mageia-identity-security-breach/

CC: (none) => davidwhodgins

Comment 10 Marja Van Waes 2021-09-25 22:20:33 CEST
I just managed to send a mail from blog@mageia.org to i18n-reports ml
https://ml.mageia.org/l/arc/i18n-reports/2021-09/msg00011.html

So for i18n-reports, it really looks like Wordpress stopped sending those mails
Comment 11 Marja Van Waes 2021-09-25 22:22:42 CEST
And I sent a mail from wordpress@blog.mageia.org to blog-moderation@ml.mageia.org, which arrived, too.
Comment 12 Patricia Fraser 2021-09-26 01:03:55 CEST
(In reply to Marja Van Waes from comment #11)
> And I sent a mail from wordpress@blog.mageia.org to
> blog-moderation@ml.mageia.org, which arrived, too.

I received this one...

CC: (none) => trish

Comment 13 Rémi Verschelde 2021-09-26 09:51:06 CEST
I checked the WordPress English instance and it's properly configured to send emails when new comments are waiting for moderation.

The blog runs on Mageia 7, maybe this broke when upgraded from Mageia 6 to Mageia 7? (Though I'd think that might have been done before Sep 2020)

Would need a sysadmin to check logs on the VM and see if the mailing service is failing.

Assignee: atelier-bugs => sysadmin-bugs
CC: (none) => atelier-bugs

Comment 14 Marja Van Waes 2021-09-26 16:00:05 CEST
(In reply to Rémi Verschelde from comment #13)
> I checked the WordPress English instance and it's properly configured to
> send emails when new comments are waiting for moderation.
> 
> The blog runs on Mageia 7, maybe this broke when upgraded from Mageia 6 to
> Mageia 7? (Though I'd think that might have been done before Sep 2020)
> 
> Would need a sysadmin to check logs on the VM and see if the mailing service
> is failing.

Thanks, adjusting the Summary

Summary: I don't receive mail notifications of comments to moderate => Mails from Wordpress on Neru don't arrive on the blog-moderation and i18n-reports mailing lists. Spoofed mails do arrive.

Comment 15 Marja Van Waes 2021-10-04 17:42:37 CEST
I tried to change my e-mail address in our WordPress, but didn't receive the confirmation mail. In WordPress I see:

If you change this, we will send you an email at your new address to confirm it. The new address will not become active until confirmed.	

There is a pending change of your email to <snip>

The confirmation mail landed neither in my old nor in my new mailbox and also not in a spam box
Comment 16 Marja Van Waes 2021-10-04 20:09:11 CEST
pterjan added the ipv6 of neru to /etc/hosts on sucuk, the blog-moderation ml works again now.

However, for "New entry on English Blog" mails to arrive on i18n-reports, more seems needed. 

Note that it is over two years ago since the last one of those arrived, while the blog-moderation mails kept coming for another year.
Marja Van Waes 2021-10-04 20:09:55 CEST

Summary: Mails from Wordpress on Neru don't arrive on the blog-moderation and i18n-reports mailing lists. Spoofed mails do arrive. => Mails from Wordpress on Neru don't arrive on the i18n-reports mailing lists. Spoofed mails do arrive.

Marja Van Waes 2021-10-04 20:10:16 CEST

Summary: Mails from Wordpress on Neru don't arrive on the i18n-reports mailing lists. Spoofed mails do arrive. => Mails from Wordpress on Neru don't arrive on the i18n-reports mailing list. Spoofed mails do arrive.

Comment 17 Marja Van Waes 2021-10-04 20:23:03 CEST
My third attempt to change my e-mail address on WordPress was successful, so the only issue left is, that the "New entry on English Blog" mails don't arrive on i18n-reports ml

(In reply to Rémi Verschelde from comment #13)
> I checked the WordPress English instance and it's properly configured to
> send emails when new comments are waiting for moderation.
> 

You don't mention that it is correctly configured to send those mails about new English blog articles. Is it?
Comment 18 Rémi Verschelde 2021-10-04 20:45:06 CEST
> You don't mention that it is correctly configured to send those mails about new English blog articles. Is it?

I don't see any option for that, so I guess not.

I don't know how it was set up initially, I wasn't aware about that feature.
It doesn't seem to be part of the base settings so I suppose we might have been using a WordPress plugin for that?

I see we have Jetpack Publicize installed, but it says:
"To use Publicize, you’ll need to link your Mageia Blog (English) account to your WordPress.com account using the link below."

Maybe it used to work standalone and now it's tied to have a WP account? I'm just guessing here, would need to find someone who knows what the setup was (damsweb?), or redo it with a new, simpler plugin.
Comment 19 katnatek 2021-10-13 00:09:08 CEST
Today finally got a email from a comment waiting moderation on spanish blog
Comment 20 Marja Van Waes 2021-10-28 20:25:31 CEST
(In reply to Rémi Verschelde from comment #18)
> > You don't mention that it is correctly configured to send those mails about new English blog articles. Is it?
> 
> I don't see any option for that, so I guess not.
> 


Maybe we can work around it.

On https://blog.mageia.org/en/ there's an option on the right "Subscribe to Blog via Email" where you can give your e-mail address. I tested that some time ago, with a different e-mail address that WordPress didn't yet know. Today I received a 95,9KB mail containing the new blog post, with 

Subject: [New post] Interview of Nicolas Lécureuil, chair of the Mageia Board, on Linuxfr.org

From: "Mageia Blog (English)" <donotreply@wordpress.com>

So, if we'd insert that address in line 79 after 
https://gitweb.mageia.org/infrastructure/puppet/tree/deployment/lists/manifests/init.pp#n74
  
sender_email      => [
            'donotreply@wordpress.com',
            'r2d2@vargas.calenco.com',
            "blog@${::domain}",
            ],

(or replace line 79, because translations are no longer done in Calenco, so i18n-reports stopped getting mails from calenco.com many years ago)

and wait (how long?) for the change to be deployed and then subscribe i18n-reports ml to the English blog via that option on https://blog.mageia.org/en/ , would we then receive those mails on the ml?

If so, would those mails be too large? (Today's was nearly 100 KB)

CC: (none) => pterjan

Comment 21 katnatek 2021-11-03 17:19:45 CET
I think this can be closed as fixed today two mails for moderate comments arrive to my my box
Comment 22 Nicolas Lécureuil 2021-11-03 19:38:22 CET
thanks. 

Closing

Resolution: (none) => FIXED
Status: NEW => RESOLVED

Comment 23 Marja Van Waes 2021-11-04 11:22:32 CET
(In reply to katnatek from comment #21)
> I think this can be closed as fixed today two mails for moderate comments
> arrive to my my box

It only works now for the mails that go to the blog-moderation ml, but still isn't fixed for mails about new blog posts that need to be translated. 

Those mails should arrive on i18n-reports ml, but don't.

Resolution: FIXED => (none)
Status: RESOLVED => REOPENED


Note You need to log in before you can comment on or make changes to this bug.