Skip to Content.
Sympa Menu

en - RE: [sympa-users] Sympa troubles

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • 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]
Sent: Monday, January 27, 2014 9:53 PM
To: Christian HUTTER
Cc: address@concealed
Subject: RE: [sympa-users] Sympa troubles

 

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

address@concealed

 

From: address@concealed [mailto:address@concealed] On Behalf Of Christian HUTTER
Sent: Tuesday, 28 January 2014 1:25 a.m.
To: Marcin Hoffmann
Cc: address@concealed
Subject: RE: [sympa-users] Sympa troubles

 

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

-------------------------------------------------------------
Christian Hutter (
address@concealed)
Phone: (+352) 46 66 44 5449
Service Informatique Université
University of Luxembourg
6, rue Richard Coudenhove-Kalergi
L-1359 Luxembourg

 

 




Archive powered by MHonArc 2.6.19+.

Top of Page