en@sympa.community
Subject: The mailing list for listmasters using Sympa
List archive
- From: Steve Shipway <address@concealed>
- To: jose antonio Fernandez <address@concealed>, "address@concealed" <address@concealed>
- Subject: RE: [sympa-users] Problem moderation list
- Date: Tue, 6 Nov 2012 00:35:44 +0000
I’ve remembered what caused this problem when we had it, and how it was solved.
When you click ‘distribute’ in wwsympa, the queued file is renamed with a ‘.distribute’ suffix, so that it does not appear in the web interface queue any more. It also sends a fake approval message to Sympa@<yourserver> with a ‘QUIET DISTRIBUTE <list> <key>’ command; this is picked up by Commands.pm and acted on.
The Commands.pm will identify a moderation queue item from the <key> in the DISTRIBUTE command, and will spot it with or without the .distribute suffix. It will then distribute the message and add entries to logs, etc.
If the message remains in the .distribute state, it is because the faked approval message to Sympa did not get through.
In this case, you can simply rename it back without the .distribute suffix, and it will reappear in the queue and you can try again to distribute it via the web interface once you’ve fixed the issue.
In our case, the reason it did not get through was because of the way we had set up our multiple robot domains in conjunction with the postfix aliases. Tracking the postfix logs, and bounces to Sympa (which end up in the bad queue) we found that we needed Sympa@<robot> aliases for each virtual robot/domain. Adding these and it all worked.
You don’t say if you have multiple domains or not. My guess is that you have omitted the alias:
sympa: |"/usr/libexec/sympa/queue address@concealed"
from your aliases file, resulting in messages to the Sympa@<domain> control email not working. This would mean that you could also not approve messages by email.
Hope this helps,
Steve
Steve Shipway ITS Unix Services Design Lead University of Auckland, New Zealand Floor 1, 58 Symonds Street, Auckland Phone: +64 (0)9 3737599 ext 86487 DDI: +64 (0)9 924 6487 Mobile: +64 (0)21 753 189 Email: address@concealed P Please consider the environment before printing this e-mail
From: address@concealed [mailto:address@concealed] On Behalf Of jose antonio Fernandez
Hi, We have checked the permissions, logs, and believe they are all OK. The messages are in spool/moderation and not sent.
Permissions:
ls -lsa /home/sympa/spool/ 4 drwxrwxr-x. 15 sympa sympa 4096 Jul 10 12:08 . 4 drwsr-xr-x. 22 sympa sympa 4096 Nov 2 09:45 .. 4 drwxr-xr-x. 2 sympa sympa 4096 Oct 30 09:03 auth 4 drwxr-xr-x. 3 sympa sympa 4096 Oct 29 11:34 automatic 4 drwxr-xr-x. 2 sympa sympa 4096 Aug 29 13:53 bounce 4 drwxr-xr-x. 2 sympa sympa 4096 Nov 2 20:56 digest 4 drwxr-xr-x. 3 sympa sympa 4096 Oct 29 18:50 distribute 4 drwxr-xr-x. 2 sympa sympa 4096 Jul 10 08:58 expire 20 drwxr-xr-x. 93 sympa sympa 20480 Nov 5 14:29 moderation 20 drwxr-xr-x. 3 sympa sympa 20480 Nov 5 14:29 msg 4 drwxr-xr-x. 2 sympa sympa 4096 Oct 30 16:46 outgoing 4 drwxr-xr-x. 2 sympa sympa 4096 Oct 30 17:06 subscribe 4 drwxr-xr-x. 2 sympa sympa 4096 Nov 5 11:43 task 4 drwxr-xr-x. 2 sympa sympa 4096 Nov 2 09:45 tmp 4 drwxr-xr-x. 2 sympa sympa 4096 Nov 2 12:33 topic
The logs indicated that the do_distribute process is called , but we didn´t see errors or warnings, it just send the email of the distribution to moderation list to the listmaster of sympa.conf
Following the sympa documentation on the web, we try modifing the "distribution_mode" with the fork value, and still doing the same.
At this moment, we have this files in the /home/sympa/spool/moderation:
-rw-r-----. 1 sympa sympa 2410 address@concealed -rw-r-----. 1 sympa sympa 2410 address@concealed
And the last log line is:
info WWSympa started info [robot my.domain.com] [session 99127019121958] [client xx.xx.xx.xx] main::do_modindex() do_modindex rsyslogd-2177: imuxsock begins to drop messages from pid 6139 due to rate-limiting wwsympa.fcgi: notice Conf::load_nrcpt_by_domain() load_nrcpt: loading /home/sympa/etc/nrcpt_by_domain.conf info WWSympa started info [robot my.domain.com] [session 43683982941167] [client xx.xx.xx.xx] main::do_distribute() do_distribute(f88786c12592cb0d8c7e1aacc9ee4569) rsyslogd-2177: imuxsock begins to drop messages from pid 6159 due to rate-limiting notice main::DoFile() Processing /address@concealed ; sender:address@concealed#012 ; message-id: <address@concealed>#012 info main::DoSendMessage() Processing web message for address@concealed info main::DoSendMessage() Message for address@concealed sent
Thans a lot .
2012/10/31 Steve Shipway <address@concealed> We had this happening once, after we initially installed 6.1.11; I traced through the code and found it was a config error (not a bug) and fixed it.
Unfortunately I can’t remember now what I did L !
The web interface renamed the approved files prior to distribution (so they don’t appear in the queue any more) and then is supposed to send them out. You might like to check the ownership and permissions on the spool directories – can the web process write to them? Check the logs to see if there is a clue.
I will post if I can remember that cause...
Steve
Steve Shipway ITS Unix Services Design Lead University of Auckland, New Zealand Floor 1, 58 Symonds Street, Auckland Phone: +64 (0)9 3737599 ext 86487 DDI: +64 (0)9 924 6487 Mobile: +64 (0)21 753 189 Email: address@concealed P Please consider the environment before printing this e-mail
From: address@concealed [mailto:address@concealed] On Behalf Of jose antonio Fernandez
Hello,
|
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
-
Re: [sympa-users] Problem moderation list,
jose antonio Fernandez, 11/05/2012
-
RE: [sympa-users] Problem moderation list,
Steve Shipway, 11/06/2012
- Re: [sympa-users] Problem moderation list, jose antonio Fernandez, 11/22/2012
-
RE: [sympa-users] Problem moderation list,
Steve Shipway, 11/06/2012
Archive powered by MHonArc 2.6.19+.