Mailing List Archive

[Bug 684] $sender_host_name via CNAME resolving error
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=684




--- Comment #1 from Dmitry <postmaster@edimeta.ru> 2008-03-30 11:21:44 ---
(In reply to comment #0)
> If a host PTR assigned via CNAME, variable $sender_host_name contains CNAME,
> but not finally host name.
>
> For example:
> IP=85.21.42.3
>
> nslookup output:
> > 85.21.42.3
> Non-authoritative answer:
> 3.42.21.85.in-addr.arpa canonical name = 3.subnet-0.42.21.85.in-addr.arpa.
> 3.subnet-0.42.21.85.in-addr.arpa name = mx.sonet.ru.
> 3.subnet-0.42.21.85.in-addr.arpa name = h3c.sonet.ru.
>
> Finally host name: mx.sonet.ru (h3c.sonet.ru - not found)
>
> But $sender_host_name in acl_smtp_rcpt contains
> 3.subnet-0.42.21.85.in-addr.arpa
>

Sorry, result is empty string, not CNAME
"not found" has a higher priority than resolved name ?


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[Bug 684] $sender_host_name via CNAME resolving error [ In reply to ]
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=684




--- Comment #2 from Tony Finch <dot@dotat.at> 2008-03-31 11:30:11 ---
On Sun, 30 Mar 2008, Dmitry wrote:
>
> If a host PTR assigned via CNAME, variable $sender_host_name contains CNAME,
> but not finally host name.
>
> For example:
> IP=85.21.42.3
>
> Sorry, result is empty string, not CNAME

It works for me.

$ exim -oMa 85.21.42.3 -be '$sender_host_name'
mx.sonet.ru
$

Tony.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[Bug 684] $sender_host_name via CNAME resolving error [ In reply to ]
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=684




--- Comment #3 from Dmitry <postmaster@edimeta.ru> 2008-03-31 11:41:52 ---
For me is not...

[root@mx ~]# exim -oMa 85.21.42.3 -be '$sender_host_name'
2008-03-31 14:36:20 [22392] no host name found for IP address 85.21.42.3

With many other hosts I has no problems.
What's a different ?

p.s. Sorry for bad English.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[Bug 684] $sender_host_name via CNAME resolving error [ In reply to ]
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=684




--- Comment #4 from Dmitry <postmaster@edimeta.ru> 2008-03-31 11:44:27 ---
May be problem in my bind...

Can you show your's nslookup result for this host ?


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[Bug 684] $sender_host_name via CNAME resolving error [ In reply to ]
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=684




--- Comment #5 from Dmitry <postmaster@edimeta.ru> 2008-03-31 12:00:29 ---
I have found the reason.

I receive such result with probability 0.5, as well as should be. Exim here
there is nothing.

Thanks, a problem is solved.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[Bug 684] $sender_host_name via CNAME resolving error [ In reply to ]
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=684

Tony Finch <fanf@exim.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |fanf@exim.org
Status|NEW |RESOLVED
Resolution| |WORKSFORME




--- Comment #6 from Tony Finch <fanf@exim.org> 2008-03-31 17:47:51 ---
Problem solved by submitter


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##