* Hangs when sending mail via SMTP
@ 2012-04-19 6:46 Tassilo Horn
2012-04-19 7:45 ` Andreas Schwab
0 siblings, 1 reply; 3+ messages in thread
From: Tassilo Horn @ 2012-04-19 6:46 UTC (permalink / raw)
To: ding
Hi all,
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:
--8<---------------cut here---------------start------------->8---
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
--8<---------------cut here---------------end--------------->8---
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.
I can also invoke "killall emacs" from the command line which won't kill
emacs but interrupt the hang just as C-g.
Hm, it might not be a Gnus problem, as the latest commits don't look
overly related. In the same period, I updated my emacs bzr checkout
(TLS issue maybe?) and our university's mail server machine crashed and
was replaced...
Anyway, does anyone have similar issues?
Bye,
Tassilo
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Hangs when sending mail via SMTP
2012-04-19 6:46 Hangs when sending mail via SMTP Tassilo Horn
@ 2012-04-19 7:45 ` Andreas Schwab
2012-04-19 8:30 ` Tassilo Horn
0 siblings, 1 reply; 3+ messages in thread
From: Andreas Schwab @ 2012-04-19 7:45 UTC (permalink / raw)
To: Tassilo Horn; +Cc: ding
Tassilo Horn <tassilo@member.fsf.org> writes:
> Hi all,
>
> 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).
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Hangs when sending mail via SMTP
2012-04-19 7:45 ` Andreas Schwab
@ 2012-04-19 8:30 ` Tassilo Horn
0 siblings, 0 replies; 3+ messages in thread
From: Tassilo Horn @ 2012-04-19 8:30 UTC (permalink / raw)
To: Andreas Schwab; +Cc: ding
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-04-19 8:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-19 6:46 Hangs when sending mail via SMTP Tassilo Horn
2012-04-19 7:45 ` Andreas Schwab
2012-04-19 8:30 ` Tassilo Horn
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).