Subject: Developers of Sympa
List archive
[sympa-dev] Re: 5.3b.5: email subscribe command issues
- From: Thomas Berry <address@concealed>
- To: sympa dev <address@concealed>
- Cc: Olivier Salaün - CRU <address@concealed>
- Subject: [sympa-dev] Re: 5.3b.5: email subscribe command issues
- Date: Tue, 01 May 2007 11:01:14 -0700
I found the problem; it was a malformed setting in sympa.conf:
list_check_suffixes request,owner,unsubsubscribe
Mystery solved.
Thomas
Thomas Berry wrote:
I'm trying to troubleshoot why the e-mail subscription functionality is not working in Sympa 5.3b.5, so I traced down the error message to the sympa.pl DoFile subroutine. I added a debug log entry to display the $list_check_regexp value returned from Conf.pm:
1098 my $list_check_regexp = &Conf::get_robot_conf($robot,'list_check_regexp');
1099 if ($listname =~ /^(\S+)-($list_check_regexp)$/) {
1100 ($listname, $type) = ($1, $2);
1101 }
1102 &do_log('debug', "tmberry : %s - %s - %s", $list_check_regexp, $listname, $type);
Here's what Conf.pm has:
210 'list_check_suffixes' => 'request,owner,editor,unsubscribe,subscribe',
Here's what I see--from the log entry added to sympa.pl line 1102--when sending a subscribe message to a test list:
May 1 10:41:31 dev-list sympa(command)[3206]: main::DoFile() tmberry : request|owner|unsubsubscribe - testlist-subscribe -
Notice that the value in $list_check_regexp is being truncate; the email commands (type): editor, unsubscribe, and subscribe are lost.
What is interesting is that I have tried to change the order of list_check_suffixes in the Conf.pm file and it doesn't affect the value returned to $list_check_regexp.
I have restarted the sympa service after every change.
-
[sympa-dev] 5.3b.5: email subscribe command issues,
Thomas Berry, 05/01/2007
- [sympa-dev] Re: 5.3b.5: email subscribe command issues, Thomas Berry, 05/01/2007
Archive powered by MHonArc 2.6.19+.