Package: exim4
Version: 4.50-8sarge2

I have set a mailname in /etc/mailname that is different from my hostname. I set the mailname to the dns record for my IP address.

advance9:~# host 82.69.45.180
180.45.69.82.in-addr.arpa domain name pointer 82-69-45-180.dsl.in-addr.zen.co.uk.
advance9:~# cat /etc/mailname
82-69-45-180.dsl.in-addr.zen.co.uk
advance9:~# echo `hostname`.`dnsdomainname`
advance9.home

When I look at the headers of an email sent from my system they show that exim4 is not using the mailname in its helo command. It is using the hostname and dnsdomainname. i.e. the header contain Received: from 82-69-45-180.dsl.in-addr.zen.co.uk ([82.69.45.180] helo=advance9.home)

This causes problems when I email sites that use Spam Filtering. e.g. spamassassin adds headers
X-Spam-Report: Spam Filtering performed by sourceforge.net.
        See http://spamassassin.org/tag/ for more details.
        Report problems to 
http://sf.net/tracker/?func=add&group_id=1&atid=200001
        1.0 FORGED_RCVD_HELO       Received: contains a forged HELO
        1.1 FORGED_HOTMAIL_RCVD2   hotmail.com 'From' address, but no 
'Received:'


exim4 also fails to use the mailname when I connect to its smtp port.

advance9:~# telnet localhost smtp
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
220 advance9.home ESMTP Exim 4.50 Fri, 16 Feb 2007 02:14:41 +0000
quit
221 advance9.home closing connection
Connection closed by foreign host.
advance9:~#


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to