Skip to Content.
Sympa Menu

en - [sympa-users] RE: FCGI malformed headers errors

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: "Chris Andrews" <address@concealed>
  • To: "Olivier Salaun - CRU" <address@concealed>
  • Cc: "address@concealed" <address@concealed>
  • Subject: [sympa-users] RE: FCGI malformed headers errors
  • Date: Fri, 2 Feb 2007 13:36:20 -0500

I do see this error in the sympa log:

 

Feb  2 10:42:17 gwar wwsympa[21124]: Language::gettext(Sympa could not set a cookie for login.\n Your should configure your browser to accept cookies)

 

I can see the cookie set in my browser.

 

I did add some code to the Auth.pm.  I wrote a script that would find out all the users email addresses and standardize all their subscriptions and admin roles to one address.

 

Line 61:

             my $updateemailstoLDAPmail = &BCCustomCode::standardize_on_main_ldap($canonic); #### Added by Chris to standarize email addresses

 

Line 110:

 

                my $updateemailstoLDAPmail = &BCCustomCode::standardize_on_main_ldap($canonic); #### Added by Chris to standarize email addresses

 

Basically after a successful LDAP authentication it will do SQL replacements in the owner and subscriber tables.

 

I also wrote some custom conditions that would again look up all of a users aliases and check them all against the list of subscribers for the list.  I also moneyed with a bunch of the sceneri files.  I will rip all of that out and see if the errors persist.

 

Now that I am doing more thinking about it, I am now able to cause the problem at will be creating a new list using a list template that uses this sceneri file for sending:

 

<send.subscribers_only>

 

title.gettext Sending and posting privledges are limited to subscribers only.

is_subscriber([listname],[sender])             smtp,smime,md5    -> do_it

CustomCondition::checkaltemails([sender],[listname]) smtp,smime,md5    -> do_it

is_editor([listname],[sender])                 smtp,smime,md5    -> do_it

is_owner([listname],[sender])                  smtp,smime,md5    -> do_it

is_listmaster([sender])        md5,smime  -> do_it

true()                         md5,smime  -> reject(reason='subscribers_only')

 

Attached are the customcondition and the chunk of Sympa logs from when I click on a list to when I get the “500 Internal Service” error.

 

---

 Chris Andrews

 Boston College

 Collaboration Team

Attachment: checkaltemails.pm
Description: Binary data

Attachment: sympa.log
Description: Binary data

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




Archive powered by MHonArc 2.6.19+.

Top of Page