Page 1 of 1

Host not found

Posted: Wed Jun 15, 2016 5:17 am
by braingames
Hi,

Jun 15 10:40:51 smtp sendmail[34992]: u5A9ndhn031876: to=<***@dp.ru>, delay=4+21:51:12, xdelay=00:00:00, mailer=esmtp, pri=10789329, relay=mx2.dp.ru. [84.204.80.67], dsn=4.7.1, stat=Deferred: 450 4.7.1 <smtp.brain-games.ru>: Helo command rejected: Host not found
Jun 15 10:40:51 smtp sendmail[34992]: u5A9ndhn031876: to=<***@dp.ru>, delay=4+21:51:12, xdelay=00:00:00, mailer=esmtp, pri=10789329, relay=mx1.dp.ru. [84.204.203.234], dsn=4.7.1, stat=Deferred: 450 4.7.1 <smtp.brain-games.ru>: Helo command rejected: Host not found

smtp.brain-games.ru - my FQDN

[root@smtp etc]# ping 84.204.80.67
PING 84.204.80.67 (84.204.80.67) 56(84) bytes of data.
64 bytes from 84.204.80.67: icmp_seq=1 ttl=59 time=3.24 ms
64 bytes from 84.204.80.67: icmp_seq=2 ttl=59 time=2.65 ms
64 bytes from 84.204.80.67: icmp_seq=3 ttl=59 time=2.64 ms

--- 84.204.80.67 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5009ms
rtt min/avg/max/mdev = 2.643/2.842/3.244/0.210 ms

[root@smtp etc]# ping 84.204.203.234
PING 84.204.203.234 (84.204.203.234) 56(84) bytes of data.
64 bytes from 84.204.203.234: icmp_seq=1 ttl=59 time=3.15 ms
64 bytes from 84.204.203.234: icmp_seq=2 ttl=59 time=3.82 ms
64 bytes from 84.204.203.234: icmp_seq=3 ttl=59 time=4.50 ms

--- 84.204.203.234 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 3.158/3.827/4.504/0.554 ms


Help please, why HOST NOT FOUND. Other letter addresses reach

Jun 15 11:29:09 smtp sendmail[38987]: u5F8T80T038979: to=<*****@yandex.ru>, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=124135, relay=mx.yandex.ru. [87.250.250.89], dsn=2.0.0, stat=Sent (Ok: queued on mxfront2m.mail.yandex.net as 1465979350-owgLHme2Oc-T9oeKTOB)

Re: Host not found

Posted: Wed Jun 15, 2016 9:31 am
by dsummerbell
This is so vague. I hope support can help with your problem.

Re: Host not found

Posted: Wed Jun 15, 2016 12:08 pm
by ScalixSupport
Hi,

your problem is with dns. Your host smtp.brain-games.ru is unknown in your zone. So that is why this remote MTA refuses to accept mail from you as it does a lookup of smtp.brain-games.ru. You should be a forward dns and a reverse dns set for your relay server

Regards,
Scalix Support Team

Re: Host not found

Posted: Thu Jun 16, 2016 8:28 am
by braingames
At the moment

brain-games.ru. MX. 10. mail.brain-games.ru. IN. 600.
mail.brain-games.ru. A. 85.143.185.229. IN. 600.

reverse dns:
mail.brain-games.ru [85.143.185.229]

smtp.brain-games.ru - hostname on RHEL.

smtp.brain-games.ru must have a record in DNS?

Re: Host not found

Posted: Fri Jun 17, 2016 5:37 am
by ScalixSupport
Hello,

Yes, smtp.brain-games.ru should have dns record. OR if you want to relay through mail.brain-games.ru you should add it as smarthost in sendmail config file.

Regards,
Scalix Support Team

Re: Host not found

Posted: Fri Jun 17, 2016 6:03 am
by braingames
Thank you

where I have to add smarthost in sendmail config file?

Re: Host not found

Posted: Fri Jun 17, 2016 7:22 am
by ScalixSupport
Hello,

Fallow the instruction in http://www.scalix.com/wiki/index.php?title=Configuring_Sendmail_with_smarthost_Ubuntu_Gutsy#Configuring_a_smarthost_for_sendmail

Note: See only the smarthost part

Regards,
Scalix Support Team

Re: Host not found

Posted: Mon Jun 20, 2016 3:34 am
by braingames
edit the file /etc/mail/sendmail.mc

add
define(`SMART_HOST', smtp.brain-games.ru)dnl

result
<smtp.brain-games.ru>: Helo command rejected: Host not found

What could it be?

Re: Host not found

Posted: Mon Jun 20, 2016 5:24 am
by ScalixSupport
Hi,

Please try this.

Open your configuration file:

Code: Select all

# vi /etc/mail/sendmail.mc


Append or modify macro that read as follows :

Code: Select all

define(`SMART_HOST',`mail.brain-games.ru')


Regenerate a new sendmail.cf config file with m4 command:

Code: Select all

# m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf


Restart sendmail service:

Regards,
Scalix Support Team

Re: Host not found

Posted: Tue Jun 21, 2016 10:59 am
by braingames
Thank you

I added the record dns

my letter has gone.

Re: Host not found

Posted: Sun Jun 26, 2016 5:14 pm
by idconsult
Try solving DNS issue as suggested. This should work accordingly.