Hi Victor,
At 19:54 09-04-2008, Victor Sudakov wrote:
OK, this was a poor example. Here is a better one. Let's start anew :)
The rule is
whitelist_from_rcvd [EMAIL PROTECTED] mncs.tomsk.ru
The relay is mncs.tomsk.ru, as you see, whose forward and reverse DNS
mapping is correct.
The forward and reverse DNS mapping for that host is correct.
Why does the rule not work with the message below?
=================================================
>From [EMAIL PROTECTED] Thu Mar 27 14:13:24 2008
X-Virus-Scanned: by clamd daemon 0.91.2 for FreeBSD at relay2.tomsk.ru
X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on meow.tomsk.su
X-Spam-Level: ***
X-Spam-Status: No, score=3.4 required=5.0 tests=AWL,BAYES_50,HTML_MESSAGE,
MIME_HTML_MOSTLY,MISSING_SUBJECT,TVD_SPACE_RATIO
autolearn=no version=3.2.4
Return-Path: <[EMAIL PROTECTED]>
Received: from mncs.tomsk.ru ([212.73.124.135] verified)
by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.13)
with ESMTP id 9786656 for [EMAIL PROTECTED]; Thu, 27 Mar 2008
15:08:17 +0600
That's because there isn't a hostname in the Received header. The
"mncs.tomsk.ru" appearing in there is the helo. See whether the
absence of the hostname is because of a CommuniGate Pro configuration
problem or a DNS problem (the host doesn't get the correct answer
when doing a reverse DNS).
Regards,
-sm