Wha [sic] happens when the permissions are root:root rather than
confus:confus?
The same thing:
confus@confus:/etc$ sudo chown root:root postfix/
[sudo] password for confus:
confus@confus:/etc/postfix$ postmap hash:sasl_passwd
postmap: fatal: open sasl_passwd: Permission denied
** Description changed:
Binary package hint: postfix
- I tried to as sasly-authentication to my satellite install of postfix.
- In the postmap step to build passw.db an error oocured due to wrong
- permissions for /etc/postfix directory. Setting the owner of that
- directory to 'postfix' solved the problem. The own should be set right
- in the first place.
+ I tried sasl-authentication to my satellite install of postfix. In the
+ postmap step needed to build 'passw.db' an error occurred. This error is
+ due to wrong permissions for '/etc/postfix' directory. Setting the owner
+ for that directory to 'postfix' solved the problem, but the owner should
+ be set right in the first place.
- Below is my console session with futher information (including package
- version and ubuntu version). Note that it is a root-sheel:
+ Below is my console session with further information (including package
+ version and ubuntu version). Note that it is a root-shell:
confus@confus:~$ lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04
confus@confus:~$ apt-cache policy postfix
postfix:
- Installed: 2.8.2-1ubuntu2.1
- Candidate: 2.8.2-1ubuntu2.1
- Version table:
- *** 2.8.2-1ubuntu2.1 0
- 500 http://ubuntu.inode.at/ubuntu/ natty-updates/main amd64 Packages
- 500 http://ubuntu.inode.at/ubuntu/ natty-security/main amd64 Packages
- 100 /var/lib/dpkg/status
- 2.8.2-1ubuntu1 0
- 500 http://ubuntu.inode.at/ubuntu/ natty/main amd64 Packages
+ Installed: 2.8.2-1ubuntu2.1
+ Candidate: 2.8.2-1ubuntu2.1
+ Version table:
+ *** 2.8.2-1ubuntu2.1 0
+ 500 http://ubuntu.inode.at/ubuntu/ natty-updates/main amd64 Packages
+ 500 http://ubuntu.inode.at/ubuntu/ natty-security/main amd64 Packages
+ 100 /var/lib/dpkg/status
+ 2.8.2-1ubuntu1 0
+ 500 http://ubuntu.inode.at/ubuntu/ natty/main amd64 Packages
root@confus:/etc/postfix# echo 'smtp_sasl_auth_enable = yes' main.cf
root@confus:/etc/postfix# echo 'smtp_sasl_security_options = noplaintext
noanonymous' main.cf
root@confus:/etc/postfix# echo 'smtp_sasl_password_maps =
hash:/etc/postfix/sasl_passwd' main.cf
root@confus:/etc/postfix# ll
total 116
drwxr-xr-x 3 root root4096 2011-06-03 13:56 ./
drwxr-xr-x 154 root root 12288 2011-06-03 13:33 ../
-rw-r--r-- 1 root root 318 2011-06-03 13:32 dynamicmaps.cf
-rw-r--r-- 1 root root1562 2011-06-03 13:53 main.cf
-rw-r--r-- 1 root root5563 2011-06-03 13:32 master.cf
-rw-r--r-- 1 root root 19509 2011-05-10 15:06 postfix-files
-rwxr-xr-x 1 root root8729 2011-05-10 15:06 postfix-script*
-rwxr-xr-x 1 root root 25752 2011-05-10 15:06 post-install*
drwxr-xr-x 2 root root4096 2011-05-10 15:06 sasl/
-rw--- 1 confus confus51 2011-06-03 13:56 sasl_passwd
-rw-r--r-- 1 root root 28 2011-06-03 13:43 sender_canonical
-rw-r--r-- 1 root root 12288 2011-06-03 13:47 sender_canonical.db
- root@confus:/etc/postfix# postmap hash:sasl_passwd
+ root@confus:/etc/postfix# postmap hash:sasl_passwd
postmap: fatal: open database sasl_passwd.db: Permission denied
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to postfix in Ubuntu.
https://bugs.launchpad.net/bugs/792347
Title:
Permission for /etc/postfix not set right when building
sasl_password.db using postmap command
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/792347/+subscriptions
--
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs