1 (edited by Hoper 2013-11-08 20:53:58)

Topic: DNS says does not exist on iRedMail

==== Required information ====
- iRedMail version: 0.8.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: ubuntu 12.04
- Related log if you're reporting an issue:
====
Some mail-servers get errors with connect to iredmail.
=====
host mail.pd.by[195.222.87.181] said: 451 <mail.my_domain.itd> is invalid or DNS says does not exist (in reply to MAIL FROM command))
=====
May I change /etc/postfix/mail.cf
myhostname = netbios_name_my_server.my_domain.ltd
myorigin = netbios_name_my_server.my_domain.ltd
to
myhostname = mail.my_domain.ltd
myorigin = mail.my_domain.ltd
??

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: DNS says does not exist on iRedMail

*) Is it hard for you to add an A record for 'mail.my_domain.ltd'?
*) If you don't have A record for 'netbios_name_my_server.my_domain.ltd' in DNS, you will get the same issue.

3

Re: DNS says does not exist on iRedMail

ZhangHuangbin wrote:

*) Is it hard for you to add an A record for 'mail.my_domain.ltd'?

A record for "mail.my_domain.ltd" is.
#telnet mail.centr.by 25
Trying 1.1.1.1...
Connected to mail.my_domain.ltd.
Escape character is '^]'.
220 netbios_name_my_server.my_domain.ltd ESMTP Postfix (Ubuntu)
...
and sone mailservers get error sad

ZhangHuangbin wrote:

*) If you don't have A record for 'netbios_name_my_server.my_domain.ltd' in DNS, you will get the same issue.

netbios_name_my_server.my_domain.ltd - not good idea. IMHO

4

Re: DNS says does not exist on iRedMail

Hoper wrote:

host mail.pd.by[195.222.87.181] said: 451 <mail.my_domain.itd> is invalid or DNS says does not exist (in reply to MAIL FROM command))

If you have proper A record for mail.my_domain.ltd, then i don't understand what this error message means. Maybe reverse DNS record for mail.my_domain.ltd? Could you please show us output of below commands:

# postconf -n | grep '^my'

5

Re: DNS says does not exist on iRedMail

#postconf -n | grep '^my'
mydestination = $myhostname, localhost, localhost.localdomain, localhost.$myhostname
mydomain = centr.by
myhostname = mail.centr.by  (I change it, was post-lin64-s4.centr.by)
mynetworks = 127.0.0.0/8
mynetworks_style = subnet
myorigin = post-lin64-s4.centr.by