From: =?utf-8?q?K=C4=81rlis_Repsons?= on
Hi there,
hopefully this can be easy: as I have $myhostname other than virtual domain
name, when server relays my v.d. mails, it uses $myhostname and so sometimes I
receive a refusal like this: "550 Reverse DNS lookup failed for host"; how
should I make server use my virtual domain's name when relaying from virtual
domain's address, so that lookup succeeds? Any other thing comes in mind what
could likely cause such problem?
From: Noel Jones on
On 4/20/2010 1:00 PM, Kārlis Repsons wrote:
> Hi there,
> hopefully this can be easy: as I have $myhostname other than virtual domain
> name, when server relays my v.d. mails, it uses $myhostname and so sometimes I
> receive a refusal like this: "550 Reverse DNS lookup failed for host"; how
> should I make server use my virtual domain's name when relaying from virtual
> domain's address, so that lookup succeeds? Any other thing comes in mind what
> could likely cause such problem?

This has nothing to do with your virtual domain name.

If you're getting errors about reverse DNS lookups, you should
verify that your reverse DNS is set correctly, and verify
there is a matching A record for your rDNS hostname.
Otherwise, some sites may reject your mail.

ie. for mail server mta.example.com at 1.1.1.2:

# host 1.1.1.2
mta.example.com.

# host mta.example.com
1.1.1.2


For your server (from list mail headers)
Received: from pasts.trikata.com (unknown [85.15.210.5])
by english-breakfast.cloud9.net (Postfix) with ESMTP id
0B4E52CFE4E
for <postfix-users(a)postfix.org>; Tue, 20 Apr 2010 14:00:53
-0400 (EDT)

# host 85.15.210.5
Host 5.210.15.85.in-addr.arpa not found: 3(NXDOMAIN)

Oops, no rDNS. Many sites won't accept mail from IPs with no
rDNS. Contact your ISP about adding a PTR of
"pasts.trikata.com" for your IP.

From: =?utf-8?q?K=C4=81rlis_Repsons?= on
On Tuesday 20 April 2010 18:46:51 Noel Jones wrote:
> For your server (from list mail headers)
> Received: from pasts.trikata.com (unknown [85.15.210.5])
Well and if I have a domain 11.lv, for which this is given:
host 11.lv
11.lv has address 85.15.210.5
11.lv mail is handled by 10 mail.11.lv.
11.lv mail is handled by 20 mail2.11.lv.
shouldn't that server be made to use mail.11.lv instead of pasts.trikata.com,
if I send out as @11.lv?

> by english-breakfast.cloud9.net (Postfix) with ESMTP id
> 0B4E52CFE4E
> for <postfix-users(a)postfix.org>; Tue, 20 Apr 2010 14:00:53
> -0400 (EDT)
>
> # host 85.15.210.5
> Host 5.210.15.85.in-addr.arpa not found: 3(NXDOMAIN)
Sorry, how is that supposed to be known about what addresses point to
85.15.210.5? Besides there are/should be two or more...

> Oops, no rDNS. Many sites won't accept mail from IPs with no
> rDNS. Contact your ISP about adding a PTR of
> "pasts.trikata.com" for your IP.
Perhaps you mean DNS service or pasts.trikata.com?
From: Noel Jones on
On 4/20/2010 2:03 PM, Kārlis Repsons wrote:
> On Tuesday 20 April 2010 18:46:51 Noel Jones wrote:
>> For your server (from list mail headers)
>> Received: from pasts.trikata.com (unknown [85.15.210.5])
> Well and if I have a domain 11.lv, for which this is given:
> host 11.lv
> 11.lv has address 85.15.210.5
> 11.lv mail is handled by 10 mail.11.lv.
> 11.lv mail is handled by 20 mail2.11.lv.
> shouldn't that server be made to use mail.11.lv instead of pasts.trikata.com,
> if I send out as @11.lv?

No. The name of the server has nothing to do with the mail
sender name.

Here's the problem, your IP has no hostname:
# host 85.15.210.5
Host 5.210.15.85.in-addr.arpa not found: 3(NXDOMAIN)

Pick a name for your server and use it consistently. I
suggested pasts.trikata.com since that's what you're using as
your HELO greeting, and it's best if the HELO and server name
match.

Your HELO name and rDNS name should match, there should be an
A record for the rDNS name that points back to the same IP.
Notice I didn't say anything about matching the sender name or
virtual domain name.

-- Noel Jones

From: =?utf-8?q?K=C4=81rlis_Repsons?= on
On Tuesday 20 April 2010 20:50:08 Noel Jones wrote:
> Here's the problem, your IP has no hostname:
> # host 85.15.210.5
> Host 5.210.15.85.in-addr.arpa not found: 3(NXDOMAIN)
...
> Your HELO name and rDNS name should match, there should be an
> A record for the rDNS name that points back to the same IP.
Thanks...