Re: postmap: fatal: open database /etc/postfix/sasl_passwd.db: Permission denied

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Alexander Farber wrote:
> I'm trying to configure mail forwarding through Gmail
> on CentOS 6 with postfix, following the blog
> http://carlton.oriley.net/blog/?p=31
> and I think the blog has missed the step:
>
> # postmap /etc/postfix/sasl_passwd
>
>  - as I've seen in the /var/log/maillog:
>
> postfix/smtp[1926]: fatal: open database /etc/postfix/sasl_passwd.db:
> No such file or directory
<snip>
> But when I try to run postmap, I get
>
> postmap: fatal: open database /etc/postfix/sasl_passwd.db: Permission
> denied
>
> even though the postfix service is stopped,
> the SELinux is permissive and the file is writable:
>
> [root@preferans postfix]# ll
> -rw-r--r--. 1 root    root  20K Jun 25 14:50 access
<snip>
One thing I keep finding very annoying with most versions of Linux is the
alias for ll, which is *not* what I was used to in sun, Solaris, Irix, or
Tru64. Out of curiosity, try ls -laF /etc/postfix, and the libexec, and
let's see what permissions and ownerships the *directories* have.

       mark

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux