MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: asqard on 2015-05-25, 19:22:50

Title: error send mail
Post by: asqard on 2015-05-25, 19:22:50
Hi. This is the qmail-send program at hosting-ns.net. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. <biuro@wykrojnikipolskie.pl>: User and password not set, continuing without authentication. 185.24.200.162 does not like recipient. Remote host said: 550 Your address 83.13.xxx.xxx does not resolve to a valid host name Giving up on 185.24.200.162. --- Below this line is a copy of the message.
Title: Re: error send mail
Post by: MRatWork on 2015-05-26, 02:58:59
Trouble with your hostname. Inform here your 'hostname; hostname -f; hostname -s'.
Title: Re: error send mail
Post by: asqard on 2015-05-26, 08:03:46
http://www.intodns.com/cano.com.pl

Even men do not know what and where in this kloxo-mr I just went crazy,
the hosts have the correct configuration now another mistake over and over; (
Title: Re: error send mail
Post by: opotoiki on 2015-05-26, 08:41:15
set your hostname at
/etc/hosts > 83.13.233.162 serwer-reinfo.net.pl serwer-reinfo
/etc/sysconfig/network > HOSTNAME=serwer-reinfo.net.pl

set DNS record for domain net.pl to

serwer-reinfo in A 83.13.233.162

add ip 83.13.233.162 to your spf record for domain cano.com.pl

done, now your domain is fully authenticated

Title: Re: error send mail
Post by: asqard on 2015-05-26, 08:52:46
ok i set

set your hostname at
/etc/hosts > 83.13.233.162 hosting-ns.net hosting-net
/etc/sysconfig/network > HOSTNAME=hosting-ns.net

set DNS record for domain net.pl to

hosting-net in A 83.13.233.162


Record TXT
Hostname:   __base__
v=spf1 a mx  a:v=spf1 a mx ip4:83.13.233.162 -all ip4:83.13.233.162 include:cano.pl.  IN TXT "v=spf1 mx a ip4:83.13.233.162" ~all
Title: Re: error send mail
Post by: opotoiki on 2015-05-26, 08:57:53
spf record for cano.pl, this record is enough

v=spf1 a mx ip4:83.13.233.162 ~all
Title: Re: error send mail
Post by: opotoiki on 2015-05-26, 09:09:35
you current DNS configuration is

serwer-reinfo.net.pl  A  83.13.233.164

then

your ip 83.13.233.162 rDNS is serwer-reinfo.net.pl

this is not match

so you need change A record for serwer-reinfo.net.pl

change to
serwer-reinfo.net.pl  A  83.13.233.162

if you change hostname to hosting-ns.net (you must resetting rDNS)
rDNS 83.13.233.162 > hosting-ns.net
and
hosting-ns.net A 83.13.233.162
Title: Re: error send mail
Post by: asqard on 2015-05-26, 09:14:04
I still have the error 550
when I try to send an email to one recipient
Code: [Select]
Hi. This is the qmail-send program at hosting-ns.net.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<biuro@wykrojnikipolskie.pl>:
User and password not set, continuing without authentication.
185.24.200.162 does not like recipient.
Remote host said: 550 Your address 83.13.233.162 does not resolve to a valid host name
Giving up on 185.24.200.162.

--- Below this line is a copy of the message.
Title: Re: error send mail
Post by: opotoiki on 2015-05-26, 09:40:59
you did not follow my advice properly
it is not about your domain cano.pl, it is about your hostname and your rDNS for your server ip

Title: Re: error send mail
Post by: MRatWork on 2015-05-26, 13:40:35
SPF declare in 'TXT record' as 'var=spf1 a mx ~all' that mean IP sender must be match with one of 'A record' or 'MX record'.

Sadly, qmail-toaster as mail server tend to use primary IP as IP sender. In Kloxo-MR 7.0, situation already fix with using declare 'domian:IP' in /var/qmail/control/outgoingips.

For Kloxo-MR 6.5, need declare 'A record' for every IP. Try 'ip1 IN A 111.111.111.111', 'ip2 in A 111.111.111.112' and so on.