Subject: The mailing list for listmasters using Sympa
List archive
[sympa-users] How long does sympa cache the results of conditions?
- From: "Chris Andrews" <address@concealed>
- To: "address@concealed" <address@concealed>
- Subject: [sympa-users] How long does sympa cache the results of conditions?
- Date: Thu, 18 Sep 2008 11:34:13 -0400
We had a user send a message to a list and it was rejected because the email address was not a subscriber. They then added the email address as a subscriber and even ten minutes later the message was still rejected.
Our scenario:
title.gettext Sending and posting privileges are limited to subscribers all others are forwarded to the owner for moderation.
is_subscriber([listname],[sender]) md5,smime -> do_it is_editor([listname],[sender]) md5,smime -> do_it CustomCondition::checkallbcemails([sender],[listname],"subscriber") smtp -> do_it CustomCondition::checkallbcemails([sender],[listname],"editor") smtp -> do_it is_listmaster([sender]) md5,smime -> do_it true() smtp,md5,smime -> reject(reason='send_subscribers_only')
Logs:
Our logging level is not set high enough to catch the messages for the built in Sympa conditions, but it does log the custom one that I wrote.
<LIST NAME> = the lists name <Sending Address> = the address that failed and then was added as a subscriber address@concealed = the list owner
Sep 17 15:43:28 listserv sympa[27302]: main::DoFile() Processing /var/sympa/spool/msg/<LIST NAME>@listserv.bc.edu.1221680603.18072 ; sender: "CWF" <<Sending Address>> ; message-id: <address@concealed> Sep 17 15:43:28 listserv sympa[27302]: main::DoMessage() Processing message for <LIST NAME> with priority 5, <address@concealed> Sep 17 15:43:28 listserv sympa[27302]: List::verify_custom() List::verify_custom(checkallbcemails,<Sending Address>*<LIST NAME>*subscriber,listserv.bc.edu,List) Sep 17 15:43:28 listserv sympa[27302]: List::verify_custom() Use module /var/sympa/bin/etc/custom_conditions/checkallbcemails.pm for custom condition Sep 17 15:43:28 listserv sympa[27302]: CustomCondition::checkallbcemails::verify() checkallbcemails.pm - Email: <Sending Address> - List: <LIST NAME> - Lookup: subscriber Sep 17 15:43:28 listserv sympa[27302]: CustomCondition::checkallbcemails::verify() checkallbcemails.pm - directory.bc.edu:389,uid=sympaperson,ou=applicationadmins,dc=bc,dc=edu,dc=bc,dc=edu Sep 17 15:43:28 listserv sympa[27302]: CustomCondition::checkallbcemails::verify() checkallbcemails.pm - This email is not a subscriber - Email: <Sending Address> - List: <LIST NAME> - Filter: ( user_subscriber="<Sending Address>" OR user_subscriber="address@concealed") Sep 17 15:43:28 listserv sympa[27302]: List::verify_custom() List::verify_custom(checkallbcemails,<Sending Address>*<LIST NAME>*editor,listserv.bc.edu,List) Sep 17 15:43:28 listserv sympa[27302]: List::verify_custom() Use module /var/sympa/bin/etc/custom_conditions/checkallbcemails.pm for custom condition Sep 17 15:43:28 listserv sympa[27302]: CustomCondition::checkallbcemails::verify() checkallbcemails.pm - Email: <Sending Address> - List: <LIST NAME> - Lookup: editor Sep 17 15:43:28 listserv sympa[27302]: CustomCondition::checkallbcemails::verify() checkallbcemails.pm - directory.bc.edu:389,uid=sympaperson,ou=applicationadmins,dc=bc,dc=edu,dc=bc,dc=edu Sep 17 15:43:28 listserv sympa[27302]: CustomCondition::checkallbcemails::verify() checkallbcemails.pm - This email is not a editor - Email: <Sending Address> - List: <LIST NAME> - Filter: ( user_admin="<Sending Address>" OR user_admin="address@concealed") Sep 17 15:43:28 listserv sympa[27302]: main::DoMessage() Message for <LIST NAME> from <Sending Address> rejected() because sender not allowed Sep 17 15:43:28 listserv sympa[27302]: Moving bad file <LIST NAME>@listserv.bc.edu.1221680603.18072 to bad/ Sep 17 15:44:00 listserv wwsympa[6663]: [robot listserv.bc.edu] [client 136.167.41.130] [address@concealed] [list <LIST NAME>] main::do_add() do_add(<Sending Address>) Sep 17 15:44:00 listserv wwsympa[6663]: List::delete_subscription_request() No pending subscription was found for user <Sending Address> Sep 17 15:44:00 listserv wwsympa[6663]: [robot listserv.bc.edu] [client 136.167.41.130] [address@concealed] [list <LIST NAME>] main::do_review() do_review(0 Sep 17 15:44:59 listserv sympa[27302]: main::DoFile() Processing /var/sympa/spool/msg/<LIST NAME>@listserv.bc.edu.1221680699.18250 ; sender: "CWF" <<Sending Address>> ; message-id: <address@concealed> Sep 17 15:44:59 listserv sympa[27302]: main::DoMessage() Processing message for <LIST NAME> with priority 5, <address@concealed> Sep 17 15:44:59 listserv sympa[27302]: List::verify_custom() List::verify_custom(checkallbcemails,<Sending Address>*<LIST NAME>*subscriber,listserv.bc.edu,List) Sep 17 15:44:59 listserv sympa[27302]: List::verify_custom() Using previous custom condition cache <Sending Address>*<LIST NAME>*subscriber Sep 17 15:44:59 listserv sympa[27302]: List::verify_custom() List::verify_custom(checkallbcemails,<Sending Address>*<LIST NAME>*editor,listserv.bc.edu,List) Sep 17 15:44:59 listserv sympa[27302]: List::verify_custom() Using previous custom condition cache <Sending Address>*<LIST NAME>*editor Sep 17 15:44:59 listserv sympa[27302]: main::DoMessage() Message for <LIST NAME> from <Sending Address> rejected() because sender not allowed Sep 17 15:45:00 listserv sympa[27302]: Moving bad file <LIST NAME>@listserv.bc.edu.1221680699.18250 to bad/ Sep 17 15:56:57 listserv sympa[27302]: main::DoFile() Processing /var/sympa/spool/msg/<LIST NAME>@listserv.bc.edu.1221681412.19083 ; sender: "CWF" <<Sending Address>> ; message-id: <address@concealed> Sep 17 15:56:57 listserv sympa[27302]: main::DoMessage() Processing message for <LIST NAME> with priority 5, <address@concealed> Sep 17 15:56:57 listserv sympa[27302]: List::verify_custom() List::verify_custom(checkallbcemails,<Sending Address>*<LIST NAME>*subscriber,listserv.bc.edu,List) Sep 17 15:56:57 listserv sympa[27302]: List::verify_custom() Using previous custom condition cache <Sending Address>*<LIST NAME>*subscriber Sep 17 15:56:57 listserv sympa[27302]: List::verify_custom() List::verify_custom(checkallbcemails,<Sending Address>*<LIST NAME>*editor,listserv.bc.edu,List) Sep 17 15:56:57 listserv sympa[27302]: List::verify_custom() Using previous custom condition cache <Sending Address>*<LIST NAME>*editor Sep 17 15:56:57 listserv sympa[27302]: main::DoMessage() Message for <LIST NAME> from <Sending Address> rejected() because sender not allowed Sep 17 15:56:57 listserv sympa[27302]: Moving bad file <LIST NAME>@listserv.bc.edu.1221681412.19083 to bad/
--- Chris Andrews Boston College Collaboration Team |
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
-
[sympa-users] How long does sympa cache the results of conditions?,
Chris Andrews, 09/18/2008
-
Re: [sympa-users] How long does sympa cache the results of conditions?,
Olivier Salaün, 09/22/2008
- RE: [sympa-users] How long does sympa cache the results of, Chris Andrews, 09/22/2008
-
Re: [sympa-users] How long does sympa cache the results of conditions?,
Olivier Salaün, 09/22/2008
Archive powered by MHonArc 2.6.19+.