Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134776 - Postfix with sasldb permission denied
Summary: Postfix with sasldb permission denied
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-29 06:13 UTC by Icebird2000
Modified: 2007-02-04 04:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Icebird2000 2006-05-29 06:13:57 UTC
If I configure Postfix like this
---smtpd.conf-------------------------------
log_level: 3
pwcheck_method: auxprop
mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5
auxprop_plugin: sasldb
--------------------------------------------

I get this error:
warning: SASL authentication problem: unable to open Berkeley db /etc/sasl2/sasldb2: Permission denied

the ebuild cyrus-sasl-2.1.20.ebuild make this
-------cyrus-sasl-2.1.20.ebuild-------------
chown root:mail "${D}/etc/sasl2/sasldb2"
chmod 0640 "${D}/etc/sasl2/sasldb2"
--------------------------------------------

but the postfix ebuild dosn
Comment 1 Icebird2000 2006-05-29 06:13:57 UTC
If I configure Postfix like this
---smtpd.conf-------------------------------
log_level: 3
pwcheck_method: auxprop
mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5
auxprop_plugin: sasldb
--------------------------------------------

I get this error:
warning: SASL authentication problem: unable to open Berkeley db /etc/sasl2/sasldb2: Permission denied

the ebuild cyrus-sasl-2.1.20.ebuild make this
-------cyrus-sasl-2.1.20.ebuild-------------
chown root:mail "${D}/etc/sasl2/sasldb2"
chmod 0640 "${D}/etc/sasl2/sasldb2"
--------------------------------------------

but the postfix ebuild dosn´t add the group postfix to the group mail
-------group--------------------------------
mail::12:mail,postfix
--------------------------------------------
Comment 2 Andrej Kacian (RETIRED) gentoo-dev 2007-02-04 04:23:53 UTC
I have changed 2.2.10 (current stable), 2.3.6 (soon to be stabilized) and 2.3.7 (latest ~arch) ebuilds so that postfix user is added to both postfix and mail groups.

Note that if postfix user already exists, enewuser will not change its group membership.

Thanks for reporting this!