OK I have tried to debug and I haven't been able to find out why
  things happen the way the do =(

  This is the qmail-smtpd log:

@4000000041da806c26fb60b4 tcpserver: status: 1/40
@4000000041da806c26fb83dc tcpserver: pid 15062 from 127.0.0.1
@4000000041da80a827639864 tcpserver: ok 15062 :::ffff:127.0.0.1:25 
:::ffff:127.0.0.1::37879
@4000000041da80b32ff9651c tcpserver: end 15062 status 256
@4000000041da80b32ff98c2c tcpserver: status: 0/40
  

 And this is the qmail-send log:

@4000000041da80b32dd96b4c new msg 2016357
@4000000041da80b32dd98e74 info msg 2016357: bytes 1078 from <[EMAIL PROTECTED]> 
qp 15085 uid 0
@4000000041da80b32e77224c starting delivery 234: msg 2016357 to local [EMAIL 
PROTECTED]
@4000000041da80b32e77512c status: local 1/10 remote 0/20
@4000000041da80b338e44ee4 delivery 234: success: did_0+0+1/
@4000000041da80b338f3f2cc status: local 0/10 remote 0/20
@4000000041da80b338f40e24 end msg 2016357

As you can see it says "success" I also get the email in my inbox.

I am using SMTP AUTH (PLAIN) when sending mail, maybe that could have
something to do with it?  But I get no authenticantion failures in the
logs.

I have attached the mail headers from one mail sent through
squirrelmail and one from my email client using the same addreses.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From SquirrelMail
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED] 
Received: (qmail 15085 invoked by uid 0); 4 Jan 2005 12:40:25 +0100
Received: from 127.0.0.1 by mail.tnonline.net (envelope-from <[EMAIL 
PROTECTED]>, uid 201) with qmail-scanner-1.23st 
 (spamassassin: 3.0.2.  
 Clear:RC:0(127.0.0.1):SA:0(-2.6/5.0):. 
 Processed in 10.571714 secs); 04 Jan 2005 11:40:25 -0000
X-Spam-Status: No, hits=-2.6 required=5.0
Received: from unknown (HELO mail.tnonline.net) ([EMAIL PROTECTED]@127.0.0.1)
  by 127.0.0.1 with SMTP; 4 Jan 2005 12:40:14 +0100
Received: from 192.168.0.10
        (SquirrelMail authenticated user [EMAIL PROTECTED]);
        by mail.tnonline.net with HTTP;
        Tue, 4 Jan 2005 12:40:15 +0100 (CET)
Message-ID: <[EMAIL PROTECTED]>
Date: Tue, 4 Jan 2005 12:40:15 +0100 (CET)
Subject: testing =?iso-8859-1?Q?=E5=F6=E4?=
From: [EMAIL PROTECTED] 
To: [EMAIL PROTECTED] 
User-Agent: SquirrelMail/1.4.3a
X-Mailer: SquirrelMail/1.4.3a
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From TheBat!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED] 
Received: (qmail 15128 invoked by uid 0); 4 Jan 2005 12:45:43 +0100
Received: from 192.168.0.10 by mail.tnonline.net (envelope-from <[EMAIL 
PROTECTED]>, uid 201) with qmail-scanner-1.23st 
 (spamassassin: 3.0.2.  
 Clear:RC:0(192.168.0.10):SA:0(-1.4/5.0):. 
 Processed in 10.461876 secs); 04 Jan 2005 11:45:43 -0000
X-Spam-Status: No, hits=-1.4 required=5.0
Received: from unknown (HELO KADZUKI) ([EMAIL PROTECTED]@192.168.0.10)
  by 192.168.0.1 with SMTP; 4 Jan 2005 12:45:32 +0100
Date: Tue, 4 Jan 2005 12:45:28 +0100
From: Anders Widman <[EMAIL PROTECTED]>
Reply-To: Anders Widman <[EMAIL PROTECTED]>
X-Priority: 3 (Normal)
Message-ID: <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] 
Subject: testing aao123
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


>>>   I just recently started getting problems with SquirrelMail. Whenever
>>>   I try to send an email it takes about 60 seconds then I get an error
>>>   in the Compose screen: "Server replied: 354".

>> 354 is just the server asking for data ala:

>> 354 End data with <CR><LF>.<CR><LF>

>  oh ok.

>>>   I have no idea how to track down what is causing this. 

>> This is not an error, but it seems as if your SMTP server's delayed send
>> of the 354 might be an issue(?).

>   Yes, could be. I started investigating a little more and it may be
>   something going on with apache+php. Not 100% sure yet. The problem
>   seem to be intermittent.


>>> According to
>>>   the logs on the mailsever everything is good. The mail gets
>>>   delivered. Using normal IMAP applications like Thunderbird and
>>>   Evolution works with no problems.

>> Show some.  Show the logs when you run configtest, show them when you
>> send using SM.  Show them when you use Thunderbird.

>   Well this mail was sent through the same server. I am using courier
>   only for the IMAP part. For SMTP I am using Qmail.

>   I will get back to this list when I find out what it could have been
>   :)

>>>   I am using Courier-imap 3.0.8.
>>> 
>>>   The configtest.php reports no errors, though it takes roughly 50-60
>>>   seconds to respond.
>>> 
>>>   Thanks for any help you can give me.


>> Try telnetting yourself to localhost port 25 and running your own SMTP
>> conversation:

>> % telnet localhost 25
>> Trying 127.0.0.1...
>> Connected to localhost.
>> Escape character is '^]'.
>> 220 mydomain.com SOME BANNER MSG
>> ehlo asdf.com
>> 250-mydomain.com
>> 250-PIPELINING
>> 250-ETRN
>> 250-etc.... etc....
>> mail from: [email protected]
>> 250 Ok
>> rcpt to: [EMAIL PROTECTED]
>> 250 Ok
>> DATA
>> 354 End data with <CR><LF>.<CR><LF>
>> asdfasdf
>> asdfasdf
>> .
>> 250 Ok: queued as 3834E3441D1
>> quit
>> 221 Bye
>> Connection closed by foreign host.
> �

�

-- 



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
--
squirrelmail-users mailing list
Posting Guidelines: 
http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: [email protected]
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to