Opened 3 years ago

Last modified 3 years ago

#14 new defect

Blank CRINmail newsletters being sent out

Reported by: chris Owned by: chris
Priority: major Milestone: Maintenance
Component: drupal Version:
Keywords: Cc: jenny, gillian, peter, mori
Estimated Number of Hours: 0 Add Hours to Ticket: 0
Billable?: yes Total Hours: 3.78

Description

A newsletter sent via Drupal contained no content, Jenny reported:

We have tried twice today but both times when we send to all it sent out a
blank email, with just the subject line. We have tried sending it to a few
individual addresses and this works. We have sent other listservs out this
week and they have worked as normal.

This is one of the emails:

From: CRIN [mailto:info@crin.org]
Sent: Friday, May 15, 2015 7:04 AM
To: Gertrud Lenzer
Subject: Children in Court CRINmail 48: Special edition on LGBTQI rights






--
*Child Rights International Network - CRIN*
Unit W125-127, Westminster Business Square
1-45 Durham Street
London SE11 5JH
United Kingdom
T: +44 20 7401 2257

 www.crin.org
@CRINwire <https://twitter.com/CRINwire>

Attachments (2)

exim_mailqueue-day.png (17.3 KB) - added by chris 3 years ago.
crin2-2015-09-10-exim_mailqueue-day.png (15.7 KB) - added by chris 3 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 3 years ago by chris

  • Add Hours to Ticket changed from 0 to 1
  • Total Hours set to 1

The Drupal logs do not go far enough back in time for there to be anything there the last dblog page has logs from 17/05/2015 - 14:49 and it is now Sun May 17 14:07:09 GMT 2015 -- so around 45 mins worth of logs.

Looking at the mail logs in /var/log/exim4 at the same time as the email that was blank (these have been anonomised):

cd /var/log/exim4/
zgrep "2015-05-15 07:04" *.gz
mainlog.2.gz:2015-05-15 07:04:18 1Yrilz-0002J4-CD aa.com [208.73.211.178] Connection timed out
mainlog.2.gz:2015-05-15 07:04:18 1Yrilz-0002J4-CD == bb@aa.com R=dnslookup T=remote_smtp defer (110): Connection timed out
mainlog.2.gz:2015-05-15 07:04:18 1Ysie7-0006uj-Op Message is frozen
mainlog.2.gz:2015-05-15 07:04:18 1Ysfnf-0007oA-N8 == cc@dd.co.uk routing defer (-51): retry time not reached
mainlog.2.gz:2015-05-15 07:04:18 1YswiJ-0006Jl-Fl == ee@ff.org.mx routing defer (-51): retry time not reached
mainlog.2.gz:2015-05-15 07:04:18 1Ysiep-0007Rt-BL == gg@hh.org R=dnslookup T=remote_smtp defer (-53): retry time not reached for any host
mainlog.2.gz:2015-05-15 07:04:18 1Ysfly-0006XT-TO Message is frozen
mainlog.2.gz:2015-05-15 07:04:18 1Ysic5-0004zm-S5 == ii@ff.org.mx routing defer (-51): retry time not reached
mainlog.2.gz:2015-05-15 07:04:18 1Ysica-0005jB-Bo == jj@kk.org.uk routing defer (-51): retry time not reached
mainlog.2.gz:2015-05-15 07:04:18 1YswfR-000434-UL == ll@mm.pt R=dnslookup T=remote_smtp defer (-53): retry time not reached for any host
mainlog.2.gz:2015-05-15 07:04:18 1YsflZ-0006Dh-5w Message is frozen
mainlog.2.gz:2015-05-15 07:04:18 1Ysr2f-0002hp-RQ == nn@oo.org R=dnslookup T=remote_smtp defer (-53): retry time not reached for any host
mainlog.2.gz:2015-05-15 07:04:19 1YslSb-0003YB-0s == cc@pp.org R=dnslookup T=remote_smtp defer (-53): retry time not reached for any host

There are 3366 "retry time not reached for any host" entries in this log file, start from 2015-05-15 06:28:26 and running to 2015-05-16 06:08:01 (when the log file was rotated).

But these are errors relating to MX lookups, I think this just delayed some email, I can't find any entries in the Exim logs that help explain why attachments were not sent.

Looking at the webserver logs (these have been anonomised):

cd /var/log/nginx
zgrep "2015/05/15 07:04" crin.org.ssl_error*.gz
crin.org.ssl_error.log.2.gz:2015/05/15 07:04:09 [info] 19158#0: *9305880 client XX.XX.XX.XX closed keepalive connection
crin.org.ssl_error.log.2.gz:2015/05/15 07:04:13 [info] 19077#0: *9305852 client timed out (110: Connection timed out) while reading client request line, client: XX.XX.XX.XX, server: www.crin.org
crin.org.ssl_error.log.2.gz:2015/05/15 07:04:14 [info] 19112#0: *9305923 client XX.XX.XX.XX closed keepalive connection
crin.org.ssl_error.log.2.gz:2015/05/15 07:04:16 [info] 19094#0: *9305925 client XX.XX.XX.XX closed keepalive connection
crin.org.ssl_error.log.2.gz:2015/05/15 07:04:19 [info] 19070#0: *9305933 client XX.XX.XX.XX closed keepalive connection
crin.org.ssl_error.log.2.gz:2015/05/15 07:04:20 [info] 19071#0: *9305865 client XX.XX.XX.XX closed keepalive connection
crin.org.ssl_error.log.2.gz:2015/05/15 07:04:36 [info] 19092#0: *9305907 client XX.XX.XX.XX closed keepalive connection
crin.org.ssl_error.log.2.gz:2015/05/15 07:04:39 [info] 19086#0: *9305953 client XX.XX.XX.XX closed keepalive connection
crin.org.ssl_error.log.2.gz:2015/05/15 07:04:48 [info] 19067#0: *9305970 client XX.XX.XX.XX closed keepalive connection
crin.org.ssl_error.log.2.gz:2015/05/15 07:04:55 [info] 19125#0: *9305938 client XX.XX.XX.XX closed keepalive connection

Nothing there, also nothing in the php5-fpm.log, syslog, daemon.log or messages.

All I can suggest is that the limit of 1,000 entries in the dblog, which is set here is increased so that next time there might be some error messages to help find the problem.

comment:2 Changed 3 years ago by chris

  • Add Hours to Ticket changed from 0 to 0.15
  • Total Hours changed from 1 to 1.15

I have set the dblog to keep 100,000 entries so that if there is another problem with the email newsletter we can look for matching log entries.

comment:3 Changed 3 years ago by chris

  • Add Hours to Ticket changed from 0 to 1
  • Total Hours changed from 1.15 to 2.15

Jenny has reported that the same issues, newsletters without attachments, has happened again, the blank email (I haven't seen the email headers)@:

From: "CRIN" <info@crin.org>
Date: 18 May 2015 13:00:55 BST
To: xxx@crin.org
Subject: Children in Court CRINmail 48: Special Edition on LGBTQI Rights

The server is on GMT not BST so that is 12:00:55.

Looking in dblog and filtering for these items:

newsletter_check
newsletter_check_spool
newsletter_check_spool_2
newsletter_check_spool_3
simplenews

Looking at the entries we have ones like this:

Type		newsetter_check_spool_2
Date		Monday, May 18, 2015 - 12:59
User		Anonymous
Location	https://www.crin.org/en/library/news-archive/afghanistan-children-bear-brunt-afghan-conflict
Referrer	
Message		[](2)
Severity	notice
Hostname	XX.XX.XX.XX
Operations	
Type		newsetter_check_spool
Date		Monday, May 18, 2015 - 12:59
User		Anonymous
Location	https://www.crin.org/en/library/news-archive/afghanistan-children-bear-brunt-afghan-conflict
Referrer	
Message		[1028358](SELECT nid, mail FROM simplenews_mail_spool WHERE msid = 1028358)|(NOT EXECUTED UPDATE simplenews_mail_spool SET status = 2 WHERE (nid = 41465 AND mail = 'aa@bb.org') AND NOT msid = 1028358)
Severity	notice
Hostname	XX.XX.XX.XX
Operations	
Type		newsetter_check
Date		Monday, May 18, 2015 - 12:59
User		Anonymous
Location	https://www.crin.org/en/library/news-archive/afghanistan-children-bear-brunt-afghan-conflict
Referrer	
Message		newsletter ok
Severity	notice
Hostname	XX.XX.XX.XX
Operations	
Type		simplenews
Date		Monday, May 18, 2015 - 12:59
User		Anonymous
Location	https://www.crin.org/en/library/news-archive/afghanistan-children-bear-brunt-afghan-conflict
Referrer	
Message		Outgoing email. Message type: node
Subject: 	Children in Court CRINmail 48: Special Edition on LGBTQI Rights
Recipient: 	cc@dd.org
Severity	debug
Hostname	XX.XX.XX.XX
Operations	

The above doesn't mean much to me I'm afraid. There are 4 Simplenews modules installed:

  • Simplenews 7.x-1.1
  • Simplenews Content Selection 7.x-2.0
  • Simplenews Content Selection Views Integration 7.x-2.0
  • Simplenews rules 7.x-1.1

Looking at the settings, the the Send mail page we have:

Use cron to send newsletters 

Cache  Use cached source

Cron throttle 10000

Mail spool expiration 1 week

I don't know if tweaking some of the above settings might help.

I have had a look through 9 years worth of the issues for simplenews version 7.x, there are a lot but I couldn't find one report of emails without bodies being sent.

All I can suggest is:

Version 0, edited 3 years ago by chris (next)

comment:4 Changed 3 years ago by chris

  • Add Hours to Ticket changed from 0 to 0.25
  • Total Hours changed from 2.15 to 2.4

The newsletter is working when sent in batches so this issue is going to be left for now, however the Drupal admin password needs resetting, this can be done via the password reset page if the email address is changed, however the email address can't be changed using the web interface because "The e-mail address example@… is already taken.", so doing it at a MySQSL level on the database server:

mysql crin

mysql> select name,mail from users where uid=1;
+-------+---------------------+
| name  | mail                |
+-------+---------------------+
| admin | example@example.org |
+-------+---------------------+
1 row in set (0.01 sec)

mysql> update users set mail="example@crin.org" where uid=1;
Query OK, 1 row affected (0.06 sec)
Rows matched: 1  Changed: 1  Warnings: 0

mysql> select name,mail from users where uid=1;
+-------+------------------+
| name  | mail             |
+-------+------------------+
| admin | example@crin.org |
+-------+------------------+
1 row in set (0.00 sec)

mysql> quit
Bye

Changed 3 years ago by chris

comment:5 Changed 3 years ago by chris

  • Add Hours to Ticket changed from 0 to 0.35
  • Total Hours changed from 2.4 to 2.75

Some days ago I signed up for the CRINmail English newsletter, last night I was sent a blank email:

Return-Path: <info@crin.org>
Received: from mail.webarch.net ([unix socket])
        by mail.webarch.net (Cyrus v2.3.7-Invoca-RPM-2.3.7-16.el5_11) with LMTPA;
        Thu, 18 Jun 2015 00:39:38 +0100
X-Sieve: CMU Sieve 2.3
Received: from elderberry.rat.burntout.org (mx.webarch.net [81.95.52.71])
        (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
        (Client did not present a certificate)
        by mail.webarch.net (Postfix) with ESMTPS id 83E271A00002
        for <chris@webarchitects.co.uk>; Thu, 18 Jun 2015 00:39:38 +0100 (BST)
Received: from crin2.crin.org ([93.95.228.180])
        by elderberry.rat.burntout.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128)
        (Exim 4.80)
        (envelope-from <info@crin.org>)
        id 1Z5Mvg-0000TV-Qh
        for chris@webarchitects.co.uk; Thu, 18 Jun 2015 00:39:38 +0100
Received: from www-data by crin2.crin.org with local (Exim 4.84)
        (envelope-from <info@crin.org>)
        id 1Z5Mvf-0005UM-P3
        for chris@webarchitects.co.uk; Wed, 17 Jun 2015 23:39:35 +0000
To: chris@webarchitects.co.uk
Subject: CRINmail 1433
X-PHP-Originating-Script: 0:mimemail.module
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8Bit
X-Mailer: Drupal
Sender: CRIN <info@crin.org>
From: CRIN <info@crin.org>
List-Unsubscribe: <http://www.crin.org/en/newsletter/confirm/remove/XXX>
Precedence: bulk
Message-Id: <E1Z5Mvf-0005UM-P3@crin2.crin.org>
Date: Wed, 17 Jun 2015 23:39:35 +0000

Note I have changed the List-Unsubscribe URL above also also this is a HTTP URL, as are the URLs in the newsletter, these should ideally be a HTTPS URLs, though this is mitigated via the HSTS header which means that people using modern browsers will get the HTTPS page when they click the HTTP link.

Then this morning I was sent the same email, this time with two attachments, a plain text version, (which contains CSS, which it shouldn't) and a base 64 encoded HTML version (snipped below).

Note that it is the mimemail.module that is sending these.

From info@crin.org Thu Jun 18 09:17:48 2015
Return-Path: <info@crin.org>
Received: from mail.webarch.net ([unix socket])
	 by mail.webarch.net (Cyrus v2.3.7-Invoca-RPM-2.3.7-16.el5_11) with LMTPA;
	 Thu, 18 Jun 2015 09:17:48 +0100
X-Sieve: CMU Sieve 2.3
Received: from elderberry.rat.burntout.org (mx.webarch.net [81.95.52.71])
	(using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
	(Client did not present a certificate)
	by mail.webarch.net (Postfix) with ESMTPS id C0E4C1A00002
	for <chris@webarchitects.co.uk>; Thu, 18 Jun 2015 09:17:47 +0100 (BST)
Received: from crin2.crin.org ([93.95.228.180])
	by elderberry.rat.burntout.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128)
	(Exim 4.80)
	(envelope-from <info@crin.org>)
	id 1Z5V13-0004dP-8y
	for chris@webarchitects.co.uk; Thu, 18 Jun 2015 09:17:47 +0100
Received: from www-data by crin2.crin.org with local (Exim 4.84)
	(envelope-from <info@crin.org>)
	id 1Z5V12-0004Cg-3q
	for chris@webarchitects.co.uk; Thu, 18 Jun 2015 08:17:40 +0000
To: chris@webarchitects.co.uk
Subject: CRINmail 1433
X-PHP-Originating-Script: 0:mimemail.module
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="8af33b15d0b25ab6eb4b5a0ed36fdcdb"
Content-Transfer-Encoding: 8Bit
X-Mailer: Drupal
Sender: "CRIN" <info@crin.org>
From: "CRIN" <info@crin.org>
List-Unsubscribe: <http://www.crin.org/en/newsletter/confirm/remove/XXX>
Precedence: bulk
Message-Id: <E1Z5V12-0004Cg-3q@crin2.crin.org>
Date: Thu, 18 Jun 2015 08:17:40 +0000

This is a multi-part message in MIME format.

--8af33b15d0b25ab6eb4b5a0ed36fdcdb
Content-Type: multipart/alternative;
    boundary="0603af013253d7c2b5b42c864108dbec"
Content-Transfer-Encoding: 8bit


--0603af013253d7c2b5b42c864108dbec
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

-------- CRINMAIL 1433 -------------------------------------------------------

#nl_wrapper {background-color:#EFEFEF;}#nl_wrapper table,
#nl_wrapper td	{
   font-family:Verdana, Arial, Helvetica;
   line-height:150%;
   font-size:10px;
   margin: 0;
}
#nl_wrapper td img{
   margin: 0;
}
#nl_wrapper .headerTop {
background-color:#FFCC66; border-top:0px solid #000000; border-bottom:1px  
solid #FFFFFF; text-align:center;
}
#nl_wrapper .adminText {
font-size:10px; color:#996600; line-height:200%; font-family:Verdana, Arial,  
Helvetica; text-decoration:none;
}
#nl_wrapper .headerBar {
background-color:#FFFFFF; border-top:0px solid #333333; border-bottom:10px  
solid #FFFFFF;
}
#nl_wrapper .title {
font-size:20px; font-weight:bold; color:#CC6600; font-family:Verdana, Arial,  
Helvetica; line-height:150%;
}
#nl_wrapper .subTitle {
font-size:11px; font-weight:normal; color:#666666; font-style:italic;  
font-family:arial;
}
#nl_wrapper td {
font-size:11px; color:#000000; line-height:150%; font-family:Verdana, Arial,  
Helvetica;
}
#nl_wrapper .sideColumn {
background-color:#FFFFFF; border-left:1px dashed #CCCCCC; text-align:left;
}
#nl_wrapper .sideColumnText {
font-size:11px; font-weight:normal; color:#AAAAAA; font-family:Verdana,  
Arial, Helvetica; line-height:150%;
}
#nl_wrapper .sideColumnTitle {
font-size:15px; font-weight:bold; color:#333333; font-family:Verdana, Arial,  
Helvetica; line-height:150%;
}
#nl_wrapper .footerRow {
background-color:#FFFFCC; border-top:10px solid #FFFFFF;
}
#nl_wrapper .footerText {
font-size:10px; color:#996600; line-height:100%; font-family:Verdana, Arial,  
Helvetica;
}
#nl_wrapper h1,
#nl_wrapper h2	{
   color:#888888;font-size:20px;font-weight:bold;font-family:Arial,  
Helvetica;margin:0 0 10px 0; line-height:150%;
}
#nl_wrapper h2	{ font-size:15px; margin:23px 0 10px 0; padding-top:8px;  
border-top:1px solid #EFEFEF;}
#nl_wrapper p	{margin:10px 0;  
font-size:11px;color:#333333;font-family:Verdana, Arial, Helvetica;  
line-height:150%;}
#nl_wrapper a,
#nl_wrapper table td p a,
#nl_wrapper #crintable a,
#nl_wrapper #crintable a:visited { color:#1155cc; /* color:#003a6a;*/ }
#nl_wrapper a:hover,
#nl_wrapper table td p a:hover,
#nl_wrapper #crintable a:hover{color:#000;}
#nl_wrapper ul,
#nl_wrapper li,
#nl_wrapper
#crintable ul	{margin:0; padding:0; list-style:none; list-style-image:none;  
list-style-type:none}
#nl_wrapper ul li,
#nl_wrapper #crintable ul li,
#nl_wrapper #CMrightcol ul li 	
{font-size:11px;color:#333333;background-image:url(http://crin.org/i/crinmail/bg_bullet.gif);  
background-repeat:no-repeat; background-position:2px  
center;font-family:Verdana, Arial, Helvetica;  margin:0; list-style:none;  
list-style-type:none; padding:0 0 0 20px; margin:13px 0;}
#nl_wrapper div.FB,
#nl_wrapper div.FB p	{ margin:10px 0}
#nl_wrapper div.FB h2	{color:#5e768b; font-size:16px; margin:0;}
#nl_wrapper #crintable table td {
vertical-align: top;
}
#nl_wrapper h3.h3image{
   background-repeat: no-repeat;
   background-position: center right;
}










   http://crin.org

17 June 2015
subscribe http://crin.org/node/41569 | subscribe http://crin.org/node/293 |  
submit information http://crin.org/en/home/about/contact-us
======== *CRINMAIL 1433* =====================================================

-------- IN THIS ISSUE: ------------------------------------------------------

*Latest news and reports* #news 
- Minimum ages and consent #min
- Historical abuse of children’s cultural rights #cul
- Clamping down on discrimination #rom
- Evading accountability in armed conflict #AC
- Reprisals against child rights defenders #hrds

*Access to justice for children in Micronesia* #a2j

*Upcoming events* #ev

*Employment* #empl

/Problems viewing this CRINmail? Click here  
https://www.crin.org/en/home/what-we-do/crinmail/crinmail-1433. /

 

.... LATEST NEWS AND REPORTS

.. Minimum ages and consent

*Nigerian* lawmakers have approved  
http://www.ibtimes.co.in/nigerian-senate-lowers-age-consent-sex-18-11-faces-backlash-635241  
an anti-rape bill that appears to lower the age of sexual consent from 18 to  
11, activists have warned. On 4 June, the upper house of the National  
Assembly hurriedly passed the Sexual Offences Bill (2015) - which prescribes  
prison terms for rapists and those who have sex with children under the age  
of 11 - alongside an unprecedented 45 other draft laws, all in the space of  
10 minutes  
http://dailypost.ng/2015/06/16/anti-rape-bill-sponsors-response-leaves-nigerians-in-quandary/.  
A previous version of the Bill criminalised the defilement of children under  
18; but it is claimed this was changed while the draft text was referred to  
the Senate Committee on Judiciary and Legal Matters for further legislative  
work. The Bill will become law if it is signed by the President. 

Courts ruling on cases of alleged child sexual abuse in *Zimbabwe* are  
increasingly treating  
http://www.news24.com/Africa/Zimbabwe/Zim-courts-treat-12-as-age-of-consent-20150611  
12 as the age of sexual consent, activists say. It follows a number of  
rulings in which defendants had their sentences lowered after arguing that  
the child in question consented to sex. "If a man has intercourse with a  
child who is under 12, they have no defence. They cannot say that the child  
consented," said legal expert Alex Magaisa. But he added that while the  
criminal code appears to set the age of consent at 16, the law only provides  
"absolute protection" to a child who is under 12. Earlier this month, two men  
were acquitted of the alleged rape of a 15-year-old girl because she “did  
not scream” and “knew what she wanted”. Activists say there should be  
no extenuating circumstances to statutory rape.

In the *Philippines*, the Department of Health (DOH) says it supports a  
proposal to allow some children to get tested for HIV and AIDS  
http://newsinfo.inquirer.net/696753/doh-backs-bill-allowing-minor-to-get-hiv-aids-tests-without-parental-consent  
without parental consent. The author of the bill says it responds to the rise  
in the number of young people who test positive for HIV. Currently, children  
must obtain parental consent before they can be tested for HIV. But this  
requirement is not necessary under the new bill for those aged 15 to 17 years  
- the age group most at risk of infection, according to the DOH, which says  
almost 30 percent of new HIV and AIDS cases involve 15- to 24-year-olds. Jose  
Gerard Belimac, programme manager of the DOH Philippine National AIDS  
Council, said “We support any measure that will address removing barriers  
to access to health services.” On the other hand, the bill cites several  
conditions for testing, including that the child be living independently,  
pregnant, already a parent, have no contact with parents or guardians or a  
clinical condition that suggests infection with HIV. 

 

.. Historical abuse of children’s cultural rights

*Canada’s* former policy of removing aboriginal children from their  
families  
https://www.crin.org/en/library/news-archive/canada-forced-schooling-aboriginal-children-was-cultural-genocide-truth  
and placing them in residential schools run largely by churches was  
“cultural genocide  
http://www.cbc.ca/news/aboriginal/cultural-genocide-label-for-residential-schools-has-no-legal-implications-expert-says-1.3110826”,  
concluded the country’s Truth and Reconciliation Commission  
http://www.trc.ca/websites/trcinstitution/index.php?p=3 after six years of  
research. Indian, Inuit and other indigenous children were forced to attend  
the government-financed schools, which were in operation from 1883 until the  
last one closed in 1998, and where widespread physical, cultural and sexual  
abuse was documented. At least 3,201 students also died while attending the  
schools, many because of mistreatment or neglect. “The Canadian government  
pursued this policy of cultural genocide...to divest itself of its legal and  
financial obligations to aboriginal people and gain control over their lands  
and resources,” the report said. “If every aboriginal person had been  
‘absorbed into the body politic,’ there would be no reserves, no treaties  
and no aboriginal rights.” The Canadian government apologised to former  
students http://www.nytimes.com/2008/06/12/world/americas/12canada.html in a  
2008 court settlement and established the Commission. But the report said:  
“A just reconciliation requires more than simply talking about the need to  
heal the deep wounds of history. Words of apology alone are insufficient;  
concrete actions on both symbolic and material fronts are required.”

The Danish government is being urged to apologise for having taken a group of  
Inuit children from their families in Greenland in the 1950s to be  
're-educated' in *Denmark* as part of a social experiment  
http://www.bbc.co.uk/news/magazine-33060450. In a bid to modernise the  
island, Danish authorities sent out telegrams to priests and headteachers  
based in Greenland asking them to identify bright children who would be sent  
to stay with foster families in Denmark, and then returned to help teach  
Danish to other inhabitants. The plan was formed with the help of Save the  
Children Denmark, which also arranged for six of the children to be adopted  
by their foster families. When the remaining 16 were returned to Greenland,  
they were placed in a children’s home built by the Danish Red Cross, where  
they were discouraged from speaking the Inuit language. Both organisations  
have since apologised for their role in the experiment, which critics say  
left the children rootless and marginalised, with some later suffering  
breakdowns, becoming homeless, dying young or returning to Denmark. In 2010,  
the authorities in Greenland called for an apology from Denmark, but the  
Danish government has remained silent on the issue.

 

.. Clamping down on discrimination

A court in *Italy* has ruled that state-sanctioned “nomadic camps”  
http://www.errc.org/cms/upload/file/italy-factsheet-formal-camps-english-10-dec-2013.pdf  
are a form of segregation and discrimination based on ethnic grounds, marking  
the first time  
http://www.errc.org/article/municipality-of-rome-condemned-for-la-barbuta-camp-for-the-first-time-in-europe-an-official-roma-only-settlement-ruled-discriminatory/4369  
in Europe that a national court has reached this decision. The ruling came in  
response to a 2012 complaint by a group of organisations against the City of  
Rome for its construction of a Roma-only “village”. At the end of May,  
the Civil Court of Rome ruled: "It must indeed be considered as  
discriminatory any large scale housing solution directed only at persons  
belonging to the same ethnic group….in order to hinder cohabitation with  
the majority population, and in terms of equal access, to fair conditions, to  
education and social health services located in an area where there is a  
serious risk to the health of persons residing there". The organisations  
behind the complaint argue that placing Roma people in Roma-only camps,  
shelters or any other mono-ethnic housing solution contributes to social  
exclusion and inequality in access to housing. With regard to children, those  
living in formal camps find it difficult to access education  
http://www.errc.org/cms/upload/file/italy-factsheet-formal-camps-english-10-dec-2013.pdf  
as a result of inadequate housing conditions, low security of tenure, and  
fear of forced evictions. 

Transgender children should not have to obtain a court order to go on hormone  
therapy  
http://www.abc.net.au/worldtoday/content/2015/s4252308.htm?site=melbourne,  
the *Australian* Human Rights Commission has said in a new report on  
discrimination against gay, transgender and intersex people. Currently,  
children and their families need permission from the Family Court to get  
medication for male and female hormones, which transgender support groups say  
creates unnecessary stress and puts financial strain on families. This is  
even required if a child has already been using medication to stunt the onset  
of puberty. But getting court approval can “include very long delays and  
very costly delays which harm the development of a child,” said Tim Wilson,  
Human Rights Commissioner. “All that we are recommending,” explained  
Wilson, “is we change legal safeguards for medical safeguards so decisions  
are made on what's in the best interests and welfare of the child.” Last  
year, the Chief Justice of the Family Court, Diana Bryant, said a court order  
was often unnecessary for transgender children who already have support from  
doctors and parents. 

Ontario has become the first province in *Canada* to ban the use of so-called  
“conversion therapy”  
http://news.nationalpost.com/news/canada/canadian-politics/the-practice-of-conversion-therapy-has-no-place-in-ontario-and-is-now-illegal  
on lesbian, gay, bisexual and transgender (LGBT) children. The ban also  
creates a financial barrier for practitioners, as previously they could bill  
their activities to the province’s public health insurance programme. Now,  
public money can no longer be used to fund the purported treatment for  
adults. Meanwhile in the United States, where an increasing number  
http://www.lgbtqnation.com/2015/02/colorado-iowa-oregon-lawmakers-considering-conversion-therapy-bans/  
of states are considering banning the practice for children, a religious  
group that claimed to be able to ‘cure’ homosexuality is being sued  
http://www.metroweekly.com/2015/06/n-j-lawsuit-alleges-conversion-therapy-violates-consumer-fraud-laws/  
in New Jersey under consumer protection laws for making a number of false and  
discredited claims that may amount to fraud. 

 

.. Evading accountability in armed conflict

The *Israeli* military has cleared  
http://www.theguardian.com/world/2015/jun/11/israel-clears-military-gaza-beach-children  
itself of culpability in an incident that killed four children and injured a  
number of others on a beach during last summer's Gaza war. The four children  
were killed after being hit by missile fire while playing hide-and-seek on  
the beach. Israel claimed that the attack targeted a Hamas compound and that  
the deaths were a “tragic accident”. A number of journalists who were  
present in the immediate aftermath of the shelling claimed that there was no  
Hamas compound and that they only saw a small fisherman’s hut at the site  
of the attack. Israel’s conduct in last summer’s war received renewed  
criticism last month with the publication of the testimonies of dozens of  
Israeli soldiers who served during the Gaza war, which included allegations  
that the military did not meet its obligations to protect civilians in  
wartime. Both Israel and Hamas are currently under preliminary investigation  
by the International Criminal Court to see whether they committed war crimes  
during the conflict, which left more than 1,462 Palestinian civilians dead,  
including 495 children. 

*Sudan's* president Omar al-Bashir has fled  
http://www.bbc.co.uk/news/world-africa-33135562 South Africa, pre-empting a  
court ruling over an international warrant for his arrest. After travelling  
to an African Union summit in Johannesburg, South Africa's High Court barred  
al-Bashir from leaving the country due to a warrant from the International  
Criminal Court (ICC) relating to alleged genocide and war crimes in the  
ongoing Darfur conflict, which has left more than 400,000 dead. Ignoring the  
request of the High Court, al-Bashir left South Africa on a private plane  
with the apparent blessing of South Africa’s government and African Union  
Member States, who are critical of the ICC, which they say only targets  
African leaders and fails to bring to justice those responsible for war  
crimes in the Middle East and elsewhere. It appears that allowing al-Bashir  
to leave South Africa will have serious repercussions for the State  
http://www.theguardian.com/world/2015/jun/15/omar-al-bashir-south-africa-sudan-international-criminal-court-icc,  
with its membership of the ICC now being questioned and the likelihood that  
it will now receive little support in its quest to gain a permanent spot on  
the UN Security Council.

 

.. Reprisals against rights defenders

*Pakistan* has reversed a decision  
http://www.bbc.co.uk/news/world-asia-33126864 made last week to close the  
national branch of Save the Children. No justification was given for the  
order or its reversal. However, officials had previously accused the charity  
of involvement in "anti-State activities", linking it to a fake vaccination  
programme used by the CIA to detect the whereabouts of Osama Bin Laden -  
accusations which the charity denies. No foreign staff have worked for Save  
the Children in Pakistan for the past 18 months as a result. Civil society  
space is increasingly under pressure in the country: a draft bill called  
http://www.trust.org/item/20150612111033-4wcfk/ the Foreign Contributions  
Regulation Act (2015) would make it easier to prevent groups that receive  
foreign funds from operating in Pakistan. And CIVICUS, a global alliance of  
civil organisations, says 3,000 local NGOs were deregistered in the country  
in December 2014. 

In the *Philippines*, children’s rights advocates are among a group that  
has filed complaints before the Commission on Human Rights over the alleged  
harassment and surveillance  
http://bulatlat.com/main/2015/06/11/union-leaders-child-rights-advocates-file-harassment-case-vs-state-forces/  
they experienced from suspected members of the military and the police. In  
May, the two children’s rights activists, who document cases and provide  
services to child victims of human rights violations and who are registered  
as social workers, were followed from their office by suspected members of  
the military. They say the incident was a “clear act of harassment and  
reprisal on our active opposition to government policies and programmes that  
are not beneficial for Filipino children and their families.” Another of  
the complainants said the harassment indicates the “worsening trends of  
political repression against union organisers and political activists, and  
attempts to disrupt the organisations’ activities and terrorise people  
involved in development and human rights work.”

Back to top #cm_top

 

------------------------------------------------------------------------------
.... ACCESS TO JUSTICE FOR CHILDREN IN MICRONESIA

The *Federated States of Micronesia* (FSM) has ratified the Convention on the  
Rights of the Child (CRC), and its provisions can be directly enforced in  
courts. Children through their representatives may bring civil action or  
judicial review proceedings in domestic courts to challenge violations of  
their rights, but only with the assistance of a representative. Class actions  
are also permitted. However, children face several obstacles to accessing  
justice in the country. FSM does not have a formal legal aid system, there  
are no juvenile courts or special provisions for children giving evidence in  
legal proceedings, and there are reports of lengthy delays in the judicial  
system. There are potential conflicts between FSM’s customary law and  
statutory and international law. FSM also does not have a national human  
rights institution to which children can make complaints about violations of  
their rights. 

Read the full report on access to justice for children in FSM  
http://crin.org/node/41431. 

This report is part of CRIN's access to justice for children project  
https://www.crin.org/en/home/law/access, looking at the status of the CRC in  
national law, the status of children involved in legal proceedings, the legal  
means to challenge violations of children’s rights and the practical  
considerations involved in challenging violations. 

Back to top #cm_top

 

------------------------------------------------------------------------------
.... UPCOMING EVENTS

*Call for papers*: Young people affected by sexual violence as change-makers  
in prevention efforts  
http://www.cumberlandlodge.ac.uk/Programme/Forthcoming+events/Participation+for+Prevention
Organisation: Cumberland Lodge
Submission deadline: 19 June 2015
Event date: 28 September 2015
Location: Windsor, United Kingdom

*Justice sector reform*: Training programme on applying human rights based  
approaches to justice sector reform  
http://www.ihrnetwork.org/justice-sector-reform_202.htm
Organisation: International Human Rights Network
Dates: 22-26 June 2015
Location: Maynooth, Ireland

*Child rights*: Young children's rights in Wales and England: What Next After  
the Election?  
http://www.aaanet.org/sections/acyig/2015/05/17/roundtable-young-childrens-rights-in-wales-and-england-what-next-after-the-election/
Organisation: UCL Institute of Education & Cardiff Metropolitan University
Date: 24 June 2015
Location: London, United Kingdom

*FGM*: Female genital mutilation as a child safeguarding issue  
https://www.eventbrite.co.uk/e/female-genital-mutilationfgm-as-a-child-safeguarding-issue-london-tickets-16531989626
Organisation: Africans Unite Against Child Abuse (AFRUCA)
Date: 26 June 2015
Location: London, United Kingdom

*Missing children*: Second int'l academic conference on missing children &  
adults  
http://missingchildreneurope.eu/news/Post/875/Second-International-Academic-Conference-on-Missing-Children-and-Adults
Organisation: Various
Date: 8-10 July 2015
Location: Brussels, Belgium

*Equality*: Consultation on the future Welsh Government funding framework for  
equality and inclusion  
http://gov.wales/consultations/people-and-communities/equality-inclusion-programme-consultation/?lang=en
Organisation: Welsh Government
Deadline: 10 July 2015
Location: N/A

*Participation*: Children as actors for transforming society  
http://catsconference.com/
Organisation: Child to Child et al.
Dates: 27 July - 2 August 2015
Location: Caux, Switzerland

*Child labour*: The Nairobi Global Conference on Child Labour  
http://www.anppcan.org/
Organisation: African Network for the Prevention and Protection against Child  
Abuse and Neglect
Date: 23-25 August 2015
Location: Nairobi, Kenya

*Child indicators*: ‘From Welfare to Well-being - Child indicators in  
research, policy & practice’ http://isci2015.org/
Organisation: International Society for Child Indicators
Date: 2-4 September 2015
Location: Cape Town, South Africa

*Education*: E-course on on the right to education  
http://www.hrea.org/right-to-education/
Organisations: HREA and the Right to Education Project
Dates: 2 September-13 October 2015
Location: Online

*Child abuse*: European Regional Conference on Child Abuse and Neglect  
http://www.ispcan.org/events/event_details.asp?id=436345
Organisation: International Society for the Prevention of Child Abuse and  
Neglect
Dates: 27-30 September 2015
Location: Bucharest, Romania

Back to top #cm_top

 

------------------------------------------------------------------------------
.... EMPLOYMENT

*CRIN: Legal research internships (Arabic-speaking)  
https://www.crin.org/en/home/about/work-us/legal-research-internship-arabic*
Application deadline: Rolling deadline
Location: London, United Kingdom

*CRIN: Communications Intern (French-speaking)*  
https://www.crin.org/en/home/about/work-us/communications-intern-french-speaking
Application deadline: Rolling deadline
Location: London, United Kingdom

*ECPAT International: Head of Programme - Child and Youth Participation and  
Protection  
http://www.ecpat.net/sites/default/files/Vacancy%20notice_Head%20of%20Programme%20-%20child%20and%20youth%20participation%20and%20protection-%202016.06.pdf*
Application deadline: 24 June 2015
Location: Bangkok, Thailand

*European Roma Rights Centre: Financial Officer  
http://www.errc.org/article/errc-seeks-financial-officer/4363*
Application deadline: 19 June 2015
Location: Budapest, Hungary 

*Keeping Children Safe: Global Consultancy Service Coordinator  
http://www.keepingchildrensafe.org.uk/news/job-vacancy-keeping-children-safe-global-consultancy-service-coordinator*
Application deadline: 21 June 2015
Location:  London, United Kingdom / Flexible

 

-------- THE LAST WORD -------------------------------------------------------

/"We have all felt that this was wrong. We have felt a sense of loss and a  
lack of self-belief and those emotions haven't gone away. [A]s far as the  
Danish authorities are concerned, I have felt very bitter and very  
disappointed. I've not been able to understand how they could turn us into an  
experiment.”/
 

-- Helene Thiesen http://www.bbc.co.uk/news/magazine-33060450, one of the 22  
children from Greenland taken to Denmark in the 1950s for ‘re-education’.

Back to top #cm_top

 * .... Latest
   
    * World news http://crin.org/en/content/news
    * Publications http://crin.org/en/library/publications
    * Events http://crin.org/en/home/events-calendar
    * Issues http://crin.org/en/content/rights
    * Law http://crin.org/en/home/law
   
   .... Advocacy
   
    * Challenging breaches http://crin.org/en/home/law/complaints
    * Take action http://crin.org/en/home/what-we-do/advocacy
    * Campaigns http://crin.org/en/home/campaigns
    * Guides http://crin.org/en/guides
   
   .... More @crin.org
   
    * CRINmails http://crin.org/en/home/what-we-do/crinmail
    * Twitter http://twitter.com/CRINwire
   
   http://www.facebook.com/home.php?sk=group_76730306628&ref=ts Facebook
   http://www.facebook.com/pages/Child-Rights-International-Network/263654037040618
   http://www.facebook.com/home.php?sk=group_76730306628&ref=ts
   
   © Child Rights International Network 2015 ~ http://crin.org
   The CRINmail is an electronic mailing list of the Child Rights
   International Network (CRIN). CRIN does not accredit, validate or
   substantiate any information posted by members to the CRINmail. The
   validity and accuracy of any information is the responsibility of the
   originator. To subscribe, unsubscribe or view list archives, visit
   http://crin.org/crinmail https://www.crin.org/en/home/what-we-do/crinmail.
   

    -- Unsubscribe from this newsletter: http://www.crin.org/en/newsletter/confirm/remove/8e5522162b12949t864
  

--0603af013253d7c2b5b42c864108dbec
Content-Type: text/html; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: base64

ICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgogICB0YWJsZSwgCiB0ZAl7CiAgZm9udC1mYW1pbHk6

----%<---snip---------------

--0603af013253d7c2b5b42c864108dbec--

--8af33b15d0b25ab6eb4b5a0ed36fdcdb--

If needs be I could look in the exim and other logs on the server to see if a reason can be found for the first email without an attachment, but last time I did this I couldn't find anything, see ticket:14#comment:3.

The last thing to note is that the mailq hit 17k early this morning:


Last edited 3 years ago by chris (previous) (diff)

comment:6 Changed 3 years ago by chris

  • Add Hours to Ticket changed from 0 to 0.03
  • Cc jenny gillian added; jonas removed
  • Total Hours changed from 2.75 to 2.78

Sorry, have only just noticed that Jonas and not Jenny and Gillian were CCs for this ticket, this has now been changed, also note the comment I posted to this ticket this morning about the blank email I was sent by CRINmail:

Changed 3 years ago by chris

comment:7 Changed 3 years ago by chris

  • Add Hours to Ticket changed from 0 to 1
  • Cc peter mori added
  • Total Hours changed from 2.78 to 3.78

I have added Peter and Mori to this ticket, Jenny has reported that:

Our CRINmail went out blank again last night. This is the third time out of four in one month that this has happened with the same list. Previously it happened only once each ever for three different lists.

The CRINmail is our main product, so it's urgent we get this fixed. People are complaining.

When this happens, if we are enough staff, we resend it from our CRIN email accounts, but as we can only send 500 emails a day it takes about 21 people accounts. We can set up more accounts, but this isn't really a long term solution.

I however did get a copy of the email, and there is nothing of note in the php or mail logs, these are some of the key headers from the email -- it all looks fine to me:

Received: from crin2.crin.org ([93.95.228.180])
        by elderberry.rat.burntout.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128)
        (Exim 4.80)
        (envelope-from <info@crin.org>)
        id 1ZZoe5-00056h-Dl
        for chris@webarchitects.co.uk; Thu, 10 Sep 2015 00:19:23 +0100
Received: from www-data by crin2.crin.org with local (Exim 4.84)
        (envelope-from <info@crin.org>)
        id 1ZZoe4-0006TK-78
        for chris@webarchitects.co.uk; Wed, 09 Sep 2015 23:19:16 +0000
To: chris@webarchitects.co.uk
Subject: CRINmail 1445
X-PHP-Originating-Script: 1005:mimemail.module
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="8a276e6c6a6f9459ea8c98217bf4e986"
Content-Transfer-Encoding: 8Bit
X-Mailer: Drupal
Sender: CRIN <info@crin.org>
From: CRIN <info@crin.org>
List-Unsubscribe: <http://www.crin.org/en/newsletter/confirm/remove/XXX>
Precedence: bulk
Message-Id: <E1ZZoe4-0006TK-78@crin2.crin.org>
Date: Wed, 09 Sep 2015 23:19:16 +0000

And this email did have a body (although the plain text version contains CSS, I'll raise another ticket about this).

There is the usual mailqueue as a result of the newsletter going out (I'll raise another ticket regarding that fact that addresses that bounce do not appears to be removed from the list of addresses to send email to, this is the cause of the blue in the graph):


Looking at the time based settings we have for PHP:

grep -i time  /etc/php5/fpm/php.ini | grep -v "^;"
disable_functions = pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
max_execution_time = 1200
max_input_time = 120
default_socket_timeout = 120
ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
ibase.timeformat = "%H:%M:%S"
mysql.connect_timeout = 60
session.cookie_lifetime = 0
session.gc_maxlifetime = 1440
opcache.validate_timestamps=1

I think that increasing the max_execution_time from 20 mins to an hour might help, and increasing the max_input_time from 2 mins to 5 mins, so I have done that, however I haven't done this on the dev server -- it probably makes sense to reduce these values on the dev server to make it easier to reproduce the issue?

comment:8 Changed 3 years ago by chris

  • Summary changed from Problem with sending out newsletter to Blank CRINmail newsletters being sent out

Added "CRINmail" to the ticket summary (and therefore email subject lines) to make it easier to find.

Note: See TracTickets for help on using tickets.