Skip to Content.
Sympa Menu

en - Re: [sympa-users] alias_manager.pl questions

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: "Roger B.A. Klorese" <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-users] alias_manager.pl questions
  • Date: Thu, 03 Apr 2008 16:41:00 +0200



Roger B.A. Klorese a écrit :
David Verdin wrote:
Hi,

What version of Sympa do you use?

5.4.1

What are the logs when you create a list?

Apr 3 06:48:21 sympathy wwsympa[2255]: [robot sympathy.onlinepolicy.net] [client 71.197.235.247] [user address@concealed] [list test2] main::do_install_pending_list() do_install_pending_list(test2,open,on)
Apr 3 06:48:21 sympathy wwsympa[2255]: admin::install_aliases() admin::install_aliases : Unable to append to alias file
You should increase the log level (up to 2 or 3) just before creating the file to have detailed logs. This can be done (for wwsympa logs) through the Sympa admin page. This could give you details about why the operation was impossible.
Apr 3 06:48:21 sympathy wwsympa[2255]: [robot sympathy.onlinepolicy.net] [client 71.197.235.247] [user address@concealed] main::do_get_pending_lists() get_pending_lists
Apr 3 06:48:26 sympathy sympa[2596]: main::DoFile() Processing /address@concealed ; sender: SYMPA <address@concealed> ; message-id: Apr 3 06:48:26 sympathy sympa[2596]: main::DoSendMessage() Processing web message for address@concealed
Apr 3 06:48:26 sympathy sympa[2596]: main::DoSendMessage() Message for address@concealed sent
Apr 3 06:48:26 sympathy sympa[2596]: main::DoFile() Processing /address@concealed ; sender: SYMPA <address@concealed> ; message-id: Apr 3 06:48:26 sympathy sympa[2596]: main::DoSendMessage() Processing web message for address@concealed
Apr 3 06:48:26 sympathy sympa[2596]: main::DoSendMessage() Message for address@concealed sent

Note the "Unable to append to alias file."

aliaswrapper is setuid root:

# ls -l /home/sympa/bin/aliaswrapper
-rwsr-x--- 1 root sympa 6633 Apr 2 17:46 /home/sympa/bin/aliaswrapper
#
Under what uid is wwsympa.fcgi run?


And the files are owned by root:

# ls -l /etc/postfix/sy*
-rw-r--r-- 1 root root 920 Apr 2 18:58 /etc/postfix/sympa_aliases
-rw-r--r-- 1 root root 12288 Apr 2 22:26 /etc/postfix/sympa_aliases.db
#

(Yes, that's the correct location -- when alias_manager.pl is run manually by root, they're updated correctly.)

--
David Verdin
Comité réseau des universités




Archive powered by MHonArc 2.6.19+.

Top of Page