1 (edited by mrteam 2013-07-31 21:53:52)

Topic: Cannot resolve dns reverse

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version: 0.8.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: CentOS 6.4
- Related log if you're reporting an issue: /var/log/maillog
====

Hi

I try fresh install and postfix cannot resolve dns reverso, but it running not chroot mode all occurred  fine.

in /var/spool/postfix/etc

[root@mail etc]# pwd
/var/spool/postfix/etc
[root@mail etc]# ls -l
total 640
-rw-r--r-- 1 root root    192 Jul 31 10:36 hosts
-rw-r--r-- 1 root root    714 Jul 31 10:36 localtime
-rw-r--r-- 1 root root     64 Jul 31 10:36 resolv.conf
-rw-r--r-- 1 root root 641020 Jul 31 10:36 services

and is equal to /etc/

connect from unknown[209.85.212.171]
[root@mail etc]# host 209.85.212.171
171.212.85.209.in-addr.arpa domain name pointer mail-wi0-f171.google.com.

any suggestions?

Thank.

2

Re: Cannot resolve dns reverse

Hello

I Solved! create dir lib in /var/spool/postfix and copy the files from /lib

libnss_compat-2.12.so  libnss_dns.so.2       libnss_hesiod-2.12.so  libnss_nisplus-2.12.so  libresolv.so.2
libnss_compat.so.2     libnss_files-2.12.so  libnss_hesiod.so.2     libnss_nisplus.so.2
libnss_dns-2.12.so     libnss_files.so.2     libnss_nis-2.12.so     libnss_nis.so.2

and  copy /etc/nsswitch.conf to /var/spool/postfix/etc/