Skip to Content.
Sympa Menu

en - [sympa-users] Problem configuring aliases with postfix

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Brendon Oliver <address@concealed>
  • To: address@concealed
  • Subject: [sympa-users] Problem configuring aliases with postfix
  • Date: Mon, 14 Apr 2008 10:46:07 +1000

Hi there,

I'm having a problem getting the creation of aliases working on a server with
postfix.

I am running configure with:
--with-newaliases=/usr/sbin/postalias \
--with-newaliases-arg='"-o -p hash:/etc/mail/sympa_aliases"'

but when creating a new mailing list via the web UI, /etc/mail/sympa_aliases
is updated, but /etc/mail/sympa_aliases.db is not. The system logs show:

Apr 14 00:28:14 myhost postfix/postalias[31211]: fatal: usage: postalias
[-Nfinoprsvw] [-c config_dir] [-d key] [-q key] [map_type:]file...
Apr 14 10:28:15 myhost wwsympa[15280]: admin::install_aliases()
admin::install_aliases : Unable to run newaliases

However, if I edit alias_manager.pl and replace:
my $alias_wrapper = '/opt/sympa/bin/aliaswrapper';

with:
my $alias_wrapper = '/usr/sbin/postalias -o -p hash:/etc/mail/sympa_aliases';

... then creating a new list via the web UI works just fine.
Both /etc/mail/sympa_aliases and /etc/mail/sympa_aliases.db get updated
correctly.

FWIW, I've checked the aliaswrapper - it's installed with perms 4750
root/sympa. Also, /etc/mail/sympa_aliases and /etc/mail/sympa_aliases.db
have permissions 0644 sympa/sympa.

Any suggestions as to what the problem might be, or what I might have missed?

Thanks & regards,

- Brendon.

--


10:30:58 up 2 days, 22:23, 1 user, load average: 0.11, 0.13, 0.08



  • [sympa-users] Problem configuring aliases with postfix, Brendon Oliver, 04/14/2008

Archive powered by MHonArc 2.6.19+.

Top of Page