Re: [exim] mail to myself is rejected

Top Page
Delete this message
Reply to this message
Author: Chris Purves
Date:  
To: exim-users
Subject: Re: [exim] mail to myself is rejected
B. Johannessen wrote:
 > Chris Purves wrote:
 >> If I send a message to myself using a 3rd party SMTP server, exim
 >> rejects the mail and I receive the following message in the returned
 >> mail:
 >> <chris@???>: host mail.northfolk.ca[220.234.29.148] said: 500
 >> error
 >>     (in reply to MAIL FROM command)
 >> There is no record of the mail in either mainlog, rejectlog, or 

paniclog.
>
> Strange. When I try, I get the error following the RCPT command. And
> there's an additional line that looks like the last part of an error
> message:
>
> 220 aurora.northfolk.ca ESMTP Exim 4.50 Sun, 02 Apr 2006 10:32:22 +0800
> EHLO db.org
> 250-aurora.northfolk.ca Hello db.org [195.159.98.118]
> 250-SIZE 52428800
> 250-PIPELINING
> 250-STARTTLS
> 250 HELP
> MAIL FROM:<chris@???>
> 250 OK
> RCPT TO:<chris@???>
> 500 error
> t local; please try <forward-path>
> Connection closed by foreign host.


I was seeing the same thing, but was finally able to see the entire
error message. Depending what server I telnet from I see the cut off
message you see or the following:

220 aurora.northfolk.ca ESMTP Exim 4.50 Mon, 03 Apr 2006 12:28:58 +0800
helo sales
250 aurora.northfolk.ca Hello adsl-67-115-158-162.dsl.snfc21.pacbell.net
[67.115.158.162]
mail from:<chris@???>
250 OK
rcpt to:<chris@???>
551 User not local; please try <forward-path>
Connection closed by foreign host.

From mainlog I see:

2006-04-03 12:37:47 unexpected disconnection while reading SMTP command
from adsl-67-115-158-162.dsl.snfc21.pacbell.net (sales) [67.115.158.162]
(error: Connection reset by peer)

My server (as well as myself) is located in Shanghai. I can run the
above test using telnet from within the city and the mail is accepted
with no error message. If I try with a server outside the country it is
rejected.



> My guess is that this has something to do with the way your Exim was
> built. What platform is this? What libraries are linked with the Exim
> binary. What changes was made to Local/Makefile (diff Local/Makefile
> src/EDITME)?


I'm running exim 4.5 on Debian Sarge with an almost completely default
configuration, so if it's a build problem I'll need to contact the
Debian guys.


>> How can I debug this problem?
>
> You could always try running Exim in debug mode, though I'm not sure it
> will help identify this specific problem:
> http://www.exim.org/exim-html-4.50/doc/html/spec_5.html#IX329


Looking into this, thanks.



--
Good day, eh.
Chris