Skip to Content.
Sympa Menu

en - Re: [sympa-users] "subscribers update failed" messages

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Omen Wild <address@concealed>
  • To: David Verdin <address@concealed>
  • Cc: Gordon Chung <address@concealed>, address@concealed
  • Subject: Re: [sympa-users] "subscribers update failed" messages
  • Date: Tue, 16 Nov 2010 09:47:40 -0800

Quoting David Verdin <address@concealed> on Tue, Nov 16 17:49:
>
> Not without changing the code, I'm afraid.

We had the same thought as the original sender. See the attached patch
for 6.0.1. I did not cleanup the sync_include_failed from the
sympa/mail_tt2/listmaster_notification.tt2 file.

> Sorry about it, but most of the listmasters will never ever trust
> list owners enough to let them create or modify data sources. So it's
> still the listmaster's prerogative to manage them. That's why she
> receives the mails instead of the list owner.

We have 6,571 lists on campus. There is no way the Listmasters (our
helpdesk) could keep up with that level of requests. Fixing the issue is
always in the hands of the list owners (the problem is their firewall,
their webserver, their database, etc). There is nothing the Listmasters
can do, so it makes much more sense to me to send the messages to the
owners.

--
Omen Wild
Security Administrator
(530) 752-1700
--- sympa/bin/List.pm.orig	2009-12-18 15:09:57.000000000 -0800
+++ sympa/bin/List.pm	2010-02-23 13:11:20.000000000 -0800
@@ -8492,11 +8498,12 @@
 	## If include sources were not available, do not update subscribers
 	## Use DB cache instead
 	if($#errors > -1) {
-	    &do_log('err', 'Errors occurred while synchornizing datasources for list: %s', $name);
+	    &do_log('err', 'Errors occurred while synchornizing datasources for list: %s, old members will be reused', $name);
 	    $errors_occurred = 1;
-	    unless (&List::send_notify_to_listmaster('sync_include_failed', $self->{'domain'}, {'errors' => \@errors, 'listname' => $self->{'name'}})) {
-		&do_log('notice',"Unable to send notify 'sync_include_failed' to listmaster");
+	    unless ($self->send_notify_to_owner('sync_include_failed', {'errors' => \@errors, 'listname' => $self->{'name'}})) {
+		&do_log('notice',"Unable to send notify 'sync_include_failed' to owner of %s", $name);
 	    }
+		  return 1;
 	}
     }
 
--- sympa/default/mail_tt2/listowner_notification.tt2.orig	2009-12-18 15:10:18.000000000 -0800
+++ sympa/default/mail_tt2/listowner_notification.tt2	2010-02-22 15:58:44.000000000 -0800
@@ -143,6 +143,17 @@
 
 If you are able to do so, you should probably update these data sources with this person's new email address.[%END%]
 
+[% ELSIF type == 'sync_include_failed' -%]
+Subject: [% FILTER qencode %][%|loc(listname)%]subscribers update failed for list %1[%END%][%END%]
+
+[%|loc%]Sympa could not include subscribers from the following external data sources:[%END%]
+
+[% FOREACH e IN errors %]
+[%|loc(e.name,e.type)%]Include of datasource %1 (type %2) failed.[% END %]
+[% END %]
+
+[%|loc%]Please contact IT Express, 530-754-4357, for more information.[%END%]
+
 [% ELSE -%]
 Subject: [% FILTER qencode %][%|loc(list.name,type)%]List %1 / %2[%END%][%END%]
 

Attachment: smime.p7s
Description: S/MIME cryptographic signature




Archive powered by MHonArc 2.6.19+.

Top of Page