1

Topic: chroot ptr resolve problem

Helo. I use iRedMail-0.5.1 on Centos 5.4. iRedMail was installed on fresh Centos installation wihtout any other services. Few days ago i decided to use "reject_unknown_client"  restriction in "smtpd_sender_restrictions" to prevent spam messages from hosts without valid ptr records. After this postfix started to reject any mail, even from hosts from valid prt records.
This is a record from maillog

Nov 25 11:55:00 email postfix/smtpd[31618]: NOQUEUE: reject: RCPT from unknown[209.85.218.211]: 450 4.7.1 Client host rejected: cannot find your hostname, [209.85.218.211]; from=<xxx@gmail.com> to=<xxx@mydomain.com> proto=ESMTP helo=<mail-bw0-f211.google.com>

.

This problem appears only when postfix run in chroot. When i change setting for smtpd in /etc/postfix/master.cf to remove it from chroot everything works fine. Files resolv.conf, localtime, hosts in /var/spool/postfix/etc/  are same as in/etc/ ones.

I don't want to run postfix without chroot, and i need your help. Thank you!

2

Re: chroot ptr resolve problem

Any update on this? We have the same issue!

3

Re: chroot ptr resolve problem

avb077 wrote:

This problem appears only when postfix run in chroot. When i change setting for smtpd in /etc/postfix/master.cf to remove it from chroot everything works fine. Files resolv.conf, localtime, hosts in /var/spool/postfix/etc/  are same as in/etc/ ones.

If files are the same ones, it should work as expected. This is really strange, i don't know why it happened now. sad