Subject: The mailing list for listmasters using Sympa
List archive
- From: Christian HUTTER <address@concealed>
- To: Steve Shipway <address@concealed>
- Cc: "address@concealed" <address@concealed>
- Subject: RE: [sympa-users] Sympa troubles
- Date: Tue, 28 Jan 2014 08:26:34 +0000
Hi Steve,
Thanks for the explanation – I think I do know now what is not working. As apache is running as sympa/sympa, files in the moderation queue are renamed correctly and the mail commands are not working as well the problem has to be sending commands to sympa account.
This makes me think if I maybe did set up things in a messy way. What I wanted to do is the following: - Have lists like address@concealed - Mail for address@concealed, address@concealed (and the other required aliases) and address@concealed are all forwarded to address@concealed (and so on)
How do I need to set this up with sympa? If I send mail to address@concealed I can see in the log that sympa complains that the robot for listserver.domain.com does not exist. Is it even possible to have this setup?
In the aliases I’m currently doing sympa: “| /home/sympa/bin/queue address@concealed“
Is it possible to have the server listserver.domain.com host lists for domain.com when the only way to deliver messages to the server is to forward them in the way I need to do it?
Or do I have to use address@concealed instead?
Greetings
Christian From: Steve Shipway [mailto:address@concealed]
So, it sounds as if you’re having problems with moderation. This happened with us once as well, and the issue was file ownerships and permissions.
The moderation queue is in /var/spool/sympa/moderation and the distribution queue in /var/spool/sympa/distribute (at least on our system). These have subdirs called ‘bad’ which might contain the missing messages if they have a bad format or if something else went wrong.
When you go into the web interface and approve something in the moderation queue, does it disappear from the queue, or stay there? Are there errors in the sympa log? How about if you approve a moderation via the email interface rather than web interface? If the message does not disappear from the queue when using the web interface but distributes when using the email moderation, the problem lies with wwsympa.
The web interface approval works slightly differently form the email interface, and it renames the queue item so that it no longer appears in the queue web interface (adding a suffix), then submits a command to approve it via the same way as email approvals. You may find that the messages are still in the moderation dir but with an added suffix; this indicates the problem is with the sympa.pl command handling.
If your spool directories do not have the correct permissions and ownerships then this can break; also check that the permissions on the wrapper scripts like wwsympa-wrapper.fcgi have setuid/setgid. All these should be owned by sysmpa/sympa.
Both methods rely on email going to the sympa account being picked up and processed for commands. If the command message ends up in /var/spool/mail/sympa then this is wrong, and your aliases are set up incorrectly. You need to have something like this in your aliases: sympa: |"/usr/libexec/sympa/queue address@concealed" and also, if you have multiple virtual robots and are using list@domain->domain-list alias mappings to handle them, you may need something like this as well: list.auckland.ac.nz-sympa: |"/usr/libexec/sympa/queue address@concealed" If you have this problem, then not only moderation, but also self-subscription and unsubscription via email and email confirmations will fail to work.
HTH
Steve
Steve Shipway
From:
address@concealed [mailto:address@concealed]
On Behalf Of Christian HUTTER
Hi Marcin,
Ok the creation problem was solved after a reboot. Strange enough. But I still face the problem of sympa not sending out mails from lists which require moderation (without moderation it works).
I’m using postfix as mta and did follow the FAQ
https://www.sympa.org/faq/postfix_howto
In general this seems to be ok – I do receive and send mails. I did another test on a test list (now that I could create it). After I ask sympa to distribute the message the do_distribute action for the mail is called. But then nothing happens. The mail remains in /home/sympa/spool/moderation.
Is there a way to fore it out there manually?
Best regards
Christian Hutter -------------------------------------------------------------
|
-
[sympa-users] Sympa troubles,
Christian HUTTER, 01/27/2014
-
Re: [sympa-users] Sympa troubles,
Marcin Hoffmann, 01/27/2014
-
RE: [sympa-users] Sympa troubles,
Christian HUTTER, 01/27/2014
-
RE: [sympa-users] Sympa troubles,
Steve Shipway, 01/27/2014
-
RE: [sympa-users] Sympa troubles,
Christian HUTTER, 01/28/2014
-
RE: [sympa-users] Sympa troubles,
Steve Shipway, 01/29/2014
- RE: [sympa-users] Sympa troubles, Christian HUTTER, 01/30/2014
-
RE: [sympa-users] Sympa troubles,
Steve Shipway, 01/29/2014
-
RE: [sympa-users] Sympa troubles,
Christian HUTTER, 01/28/2014
-
RE: [sympa-users] Sympa troubles,
Steve Shipway, 01/27/2014
-
RE: [sympa-users] Sympa troubles,
Christian HUTTER, 01/27/2014
-
Re: [sympa-users] Sympa troubles,
Marcin Hoffmann, 01/27/2014
Archive powered by MHonArc 2.6.19+.