Subject: The mailing list for listmasters using Sympa
List archive
- From: Steve Shipway <address@concealed>
- To: Steve Rich <address@concealed>, "address@concealed" <address@concealed>
- Subject: RE: [sympa-users] Postfix newaliases
- Date: Tue, 18 Aug 2015 22:18:54 +0000
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
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:
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
|
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
-
[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+.