Skip to Content.
Sympa Menu

en - [sympa-users] sympa is not likeable

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Thomas Barth <address@concealed>
  • To: Sympa <address@concealed>
  • Subject: [sympa-users] sympa is not likeable
  • Date: Wed, 17 Dec 2003 13:06:08 +0000

Hi
sympa seems to be a bundle of bugs despite 3 years development. It is not
possible to install a current stable version of sympa-sources on a debian-
distribution, because it's customized to the redhat filesystem! It can't find
the function library or the network configuration. Many commands are not
found. Because of this trouble, I need to install the deb-package version
3.3.4b.5. And here are some error messages that occur on a debiansystem

Sympa running as UserID sympa
sympa 23487 0.0 1.5 16712 13696 pts/3 S 11:54 0:00 /usr/bin/perl
/usr/lib/sympa/bin/sympa.pl

The first attempt to send a message to mylist

Dec 17 12:04:20 dev postfix/local[23706]: 3A1D890003:
to=<address@concealed>, relay=local, delay=0, status=bounced (Command
died with status 255: "/usr/lib/sympa/bin/queue address@concealed".
Command output: SYMPA internal error : unable to open /etc/sympa/sympa.conf)

Unable to open its own configuration-file simply for reading ???
-rw-rw---- 1 sympa sympa 36 Dec 17 11:54 cookie
drwxr-xr-x 2 sympa sympa 4096 May 1 2002 create_list_templates
-rw-r--r-- 1 sympa sympa 0 Dec 17 11:54 facility
drwxr-xr-x 2 sympa sympa 4096 May 1 2002 scenari
-rw-r----- 1 sympa sympa 3689 Dec 17 11:54 sympa.conf
-rw-r----- 1 sympa sympa 555 May 1 2002 sympa.conf-smime.in
drwxr-xr-x 2 sympa sympa 4096 May 1 2002 templates

After changing the mod for sympa.conf to -rw-r--r-- .o0(Sympa is not running
as sympa?) another error message is printed in mail.log:

Dec 17 12:36:21 dev postfix/local[24168]: 1002390003:
to=<address@concealed>, relay=local, delay=0, status=deferred (temporary
failure. Command output: /usr/lib/sympa/bin/queue: while opening queue file
'address@concealed': Permission denied )

The mod of all binaries:
drwxr-xr-x 2 root root 4096 Dec 17 11:54 .
drwxr-xr-x 4 root root 4096 Dec 17 11:54 ..
-rw-r--r-- 1 sympa sympa 4856 May 1 2002 Archive.pm
-rw-r--r-- 1 sympa sympa 78565 May 1 2002 Commands.pm
-rw-r--r-- 1 sympa sympa 16012 May 1 2002 Conf.pm
-rw-r--r-- 1 sympa sympa 2628 May 1 2002 Language.pm
-rw-r--r-- 1 sympa sympa 11105 May 1 2002 Ldap.pm
-rw-r--r-- 1 sympa sympa 202011 May 1 2002 List.pm
-rw-r--r-- 1 sympa sympa 2542 May 1 2002 Log.pm
-rw-r--r-- 1 sympa sympa 1157 May 1 2002 Version.pm
-rwxr-xr-x 1 sympa sympa 5429 May 1 2002 alias_manager.pl
-rwxr-xr-x 1 sympa sympa 2848 May 1 2002 aliaswrapper
-rwxr-xr-x 1 sympa sympa 5544 May 1 2002 bouncequeue
-rw-r--r-- 1 sympa sympa 8720 May 1 2002 mail.pm
-rw-r--r-- 1 sympa sympa 9548 May 1 2002 msg.pl
-rw-r--r-- 1 sympa sympa 7998 May 1 2002 parser.pl
-rwxr-xr-x 1 sympa sympa 5928 May 1 2002 queue
-rw-r--r-- 1 sympa sympa 8523 May 1 2002 smtp.pm
-rwxr-xr-x 1 sympa sympa 42880 May 1 2002 sympa.pl
-rwxr-xr-x 1 sympa sympa 37065 May 1 2002 task_manager.pl
-rw-r--r-- 1 sympa sympa 34697 May 1 2002 tools.pl

dev:/var/spool/sympa# dir
total 48
drwxrwx--x 12 sympa sympa 4096 Dec 17 11:54 .
drwxr-xr-x 8 root root 4096 Dec 17 11:54 ..
drwxrwx--x 3 sympa sympa 4096 Dec 17 11:54 queue
drwxrwx--x 2 sympa sympa 4096 May 1 2002 queueauth
drwxrwx--x 2 sympa sympa 4096 May 1 2002 queuebounce
drwxrwx--x 2 sympa sympa 4096 May 1 2002 queuedigest
drwxrwx--x 2 sympa sympa 4096 May 1 2002 queueexpire
drwxrwx--x 2 sympa sympa 4096 May 1 2002 queuemod
drwxrwx--x 2 sympa sympa 4096 May 1 2002 queueoutgoing
drwxrwx--x 2 sympa sympa 4096 May 1 2002 queuetask
drwxr--r-- 2 sympa sympa 4096 Dec 17 11:54 subscribe
drwxrwx--x 2 sympa sympa 4096 May 1 2002 tmp

After changing the mods for all subdirectories to drwxrwxrwx the next
error is printed

This message in mail.log looks good
Dec 17 12:46:38 dev postfix/local[24301]: DF37B90007:
to=<address@concealed>, relay=local, delay=1, status=sent
("|/usr/lib/sympa/bin/queue address@concealed")

but sympa.log indicates

Dec 17 12:46:42 dev sympa[23487]: Missing directory or config file for mylist
Dec 17 12:46:42 dev sympa[23487]: Can't open
/address@concealed: Permission
denied
Dec 17 12:46:42 dev sympa[23487]: Moving bad file
address@concealed to bad/

Directoy and config file do exist! After changing the mod of the queue-binary
with chmod 4755 /usr/lib/sympa/bin/queue Sympa has the ability to send my
email to the subsribers in the database.

Like what is Sympa running, if it can't write or read files in directories of
the same group or user?

Thomas B.





Archive powered by MHonArc 2.6.19+.

Top of Page