jmcfarlane

Posts: 607 Replies: 0
September 30, 2006 @02:47 (Updated: October 05, 2006 @21:20) Same topic | Reply to this post This post is read only View this post by itself

How do you fix: authdaemond: could not translate host name "pgsql.example.com"?

In Gentoo land, this means you emerged net-libs/courier-authlib with the "postgres" use flag enabled. Courier's authentication logic essentially looks to several "data stores" to use for authentication. The problem is that you're rig thinks it should authenticate against Postgres when you likely want it to authenticate against PAM. Solution:

root# cd /etc/courier/authlib
root# mv authpgsqlrc authpgsqlrc.DISABLED
root# mv authpgsqlrc.dist authpgsqlrc.dist.DISABLED
root# /etc/init.d/courier-imapd-ssl restart # Assuming you only use ssl :)

Going forward you could think about adding this to /etc/portage/package.use

net-libs/courier-authlib -postgres


John M.



authdaemond
courier
email
postgresql
ssl
FCGI/WSGI
0.13.3
138.175011 ms