Subject: The mailing list for listmasters using Sympa
List archive
- From: Steve Rich <address@concealed>
- To: Steve Shipway <address@concealed>, "address@concealed" <address@concealed>
- Subject: Re: [sympa-users] Postfix newaliases
- Date: Wed, 19 Aug 2015 17:18:33 +0000
Date: Tuesday, August 18, 2015 at 6:18 PM
To: Steve Rich, "address@concealed"
Subject: RE: Postfix newaliases
Might be a permissions issue.
Check the ownership and permissions on the sympa_aliases.db file. Can you run ‘newaliases’ as root, but not as sympa? I’m not sure about 6.2, but under 6.1 there was a sympa_newaliases-wrapper script that needed to have setuid set for it to run (to give permission to update the aliases databases).
Maybe move the sympa_aliases file under /etc/sympa, rather than /etc/postfix (have to change the postfix config file to point to the new location, and the sympa.conf as well). This will allow the sympa user to compile the aliases into this directory (it is unlikely to have write permission to the postfix directory without the setuid wrapper). We do it this way with Sympa 6.1.23
Steve
From:
address@concealed [mailto:address@concealed]
On Behalf Of Steve Rich
Sent: Wednesday, 19 August 2015 4:30 a.m.
To: address@concealed
Subject: [sympa-users] Postfix newaliases
I have Sympa 6.2.3 and postfix 2.10.1 installed in a RHEL 7 host and I’m having issues. I have specified the following in the sympa config:
sendmail_aliases |
/etc/postfix/sympa_aliases |
aliases_program |
postalias |
aliases_db_type |
Hash |
We use ldap for aliasing our primary domain and so when a list is installed, we have a custom alias_manager script that creates an LDAP entry for the list and adds the list aliases to /etc/postfix/sympa_aliases.
For some reason, sympa is not rebuilding the database /etc/postfix/sympa_aliases.db when a new list is installed. The logs don’t indicate that anything is wrong. When I run the alias_manager.pl script manually like so,
alias_manager.pl add test example.com
I get "newaliases exited with status 255.”
The aliases are appended to /etc/postfix/sympa_aliases but the db is not rebuilt properly. I would really appreciate some insight on this as it is creating quite a few problems for us.
Thanks,
Steve
-
[sympa-users] Postfix newaliases,
Steve Rich, 08/18/2015
-
RE: [sympa-users] Postfix newaliases,
Steve Shipway, 08/18/2015
- Re: [sympa-users] Postfix newaliases, Steve Rich, 08/19/2015
- <Possible follow-up(s)>
- Re: [sympa-users] Postfix newaliases, Steve Rich, 08/19/2015
-
RE: [sympa-users] Postfix newaliases,
Steve Shipway, 08/18/2015
Archive powered by MHonArc 2.6.19+.