Subject: The mailing list for listmasters using Sympa
List archive
Re: [sympa-users] How long does sympa cache the results of conditions?
- From: Olivier Salaün <address@concealed>
- To: Chris Andrews <address@concealed>
- Cc: "address@concealed" <address@concealed>
- Subject: Re: [sympa-users] How long does sympa cache the results of conditions?
- Date: Mon, 22 Sep 2008 13:37:45 +0200
Hi Chris,
I guess that your scenario failed to accept the subscriber's message because it is missing the 'smtp' authentication method, along with 'md5' and 'smime'.
It is required because when a message is sent via the mail interface the trust only relies on the From: SMTP field.
Your scenario's first line should look like this :
is_subscriber([listname],[sender]) *smtp,*md5,smime -> do_it
Chris Andrews a écrit :
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:
[...]
*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>)*
[...]
-
[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+.