Heiko and all the rest of of the Exim monks of wisdom,
Heiko, thank you for your response.
On 11-05-11 12:42, Heiko Schlittermann wrote:
> Louis Kruger <zr6abc@???> (Tue May 10 20:33:32 2011):
> (…)
>> "SMTP error from remote mail server after end of data:
>> host smtp.isdsl.net [196.26.208.199]: 550 A valid sender header is
>> required in message (llsjk@???)"
> Seems to be another exim there ☺ And they seem to do sender
> verification.
>
> Having a valid sender header is a good idea always. Make sure that the
> return path your're using is a valid mail address. But this is not the
> point here.
That is what is so odd, mail to my address @ my domain comes in.
>
> They seem to check the headers of your mail, the From: and the Sender:
> header. If both are there, the Sender: takes precedence (I think).
I receive the following response (sans the spam detail and body):
llk@???
SMTP error from remote mail server after end of data:
host smtp.isdsl.net [196.26.208.197]: 550 A valid sender header is required in message (llsjk@???)
------ This is a copy of the message, including all the headers. ------
Return-path: <llsjk@???>
Received: from uil.krugers.tuis ([172.16.22.22])
by lakruger.za.org with esmtp (Exim 4.72)
(envelope-from <llsjk@???>)
id 1QKAF8-0002Bw-Fd
for llk@???; Wed, 11 May 2011 16:18:26 +0200
Message-ID: <4DCA9AB2.3090808@???>
Date: Wed, 11 May 2011 16:18:26 +0200
From: =?ISO-8859-1?Q?Louis_LSJ_Kr=FCger?= <llsjk@???>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9
MIME-Version: 1.0
To: llk@???
Subject: test
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Spam-Score: -1.0 (-)
Well there is no Sender:, do you think that is what is missing? Should I then maybe add an add_header and copy the From: to it? (Where in the config file would one do that?)
> Your exim probably puts it there if your mail client writes a From:
> line, and your local Exim does not trust it (because it differs from
> what your Exim would like to see there). This is the normal setup for
> the mail submission mode, your local exim decuces your (in)"valid mail
> address" from your local user id and the local host name (+domain).
>
> The brutalo method would be to make your local Exim trusting you. (the
> trusted_users option).
I had that in the config file while I was getting that response from the
smtp host.
> A cleaner way out could be the untrusted_set_sender option. This allows
> your MTA to choose a nice From: line and Exim will accept it.
>
I am tried untrusted_set_sender = * just after where the normal
trusted_users were and it did not work. So I tried = ^$sender_ident- and
it also did not work.
> Just another way is rewriting the From: and probably Sender: lines to
> nicer values.
I went through the spec and could not find a good example or the right
place to put it, but I will google and read through the spec again. (I
wish I had the paper to print the whole spec.)
Regards,
Louis.