From: Tassilo Horn <tassilo@member.fsf.org>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: ding@gnus.org
Subject: Re: Hangs when sending mail via SMTP
Date: Thu, 19 Apr 2012 10:30:05 +0200 [thread overview]
Message-ID: <87pqb49l9u.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: <m2wr5c2mhl.fsf@igel.home> (Andreas Schwab's message of "Thu, 19 Apr 2012 09:45:42 +0200")
Andreas Schwab <schwab@linux-m68k.org> writes:
>> since 2 or three days (always using the current git master), I have
>> frequent hangs when sending mail via SMTP. In *Messages* I get the
>> usual output:
>>
>> 235 2.7.0 Authentication successful
>> 250 2.1.0 Ok
>> 250 2.1.5 Ok [4 times]
>> 354 End data with <CR><LF>.<CR><LF>
>> Sending email
>> Sending email done
>> 250 2.0.0 Ok: queued as 28C71D244A
>> 221 2.0.0 Bye
>> Mark set
>> Sending...done
>>
>> The hang occurs while "Mark set" is shown in the echo area. It
>> usually takes about 20-30 seconds before "Sending...done" appears and
>> the mail buffer is closed.
>>
>> What's a bit strange: when I hit C-g during the hang (possibly
>> repeatedly), I'll get the "Sending...done" immediately without
>> noticing any bad effect. The sent mail is also copied to the group I
>> wrote from as specified by gcc-self setting.
>
> Probably the SMTP server sometimes refuses to acknowledge the QUIT
> command for some time (smtpmail waits for an answer here).
Yes, that's likely. It seems to be a server-side issue. Sometimes it
works immediately, sometimes it hangs. I'll try to send some test mails
at home this evening, where I can use some other SMTP server.
Bye,
Tassilo
prev parent reply other threads:[~2012-04-19 8:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-19 6:46 Tassilo Horn
2012-04-19 7:45 ` Andreas Schwab
2012-04-19 8:30 ` Tassilo Horn [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pqb49l9u.fsf@thinkpad.tsdh.de \
--to=tassilo@member.fsf.org \
--cc=ding@gnus.org \
--cc=schwab@linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).