Dylan Stamat | 14 May 23:56

Interrupted System Calls

I'm on a brand new OSX (leopard) mutt-devel install, and every time I
try to send an
email via smtp, I get the following:

Could not connect to gmail.com (Interrupted system call).

This happens consistently, and the only hack I've been able to find is
the following:  http://bugs.mutt.org/trac/ticket/2059
http://linsec.ca/blog/2007/04/30/new-mutt-1515-has-a-very-nice-new-feature/

However, this is pretty hacky, and this is a flat out mutt-devel install via
ports, so don't have much in the way of extra services which could be
competing (afaik).

Any suggestions are welcome,
Thanks !

-------------------------------------------------------------------------------------------------------------
Mutt 1.5.17 (2007-11-01)
System: Darwin 9.2.0 (i386)
ncurses: ncurses 5.6.20061217 (compiled with 5.6)
libiconv: 1.11
hcache backend: GDBM version 1.8.3. 10/15/2002 (built May 13 2008 22:49:47)
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE
+USE_FCNTL  -USE_FLOCK   -USE_INODESORT
+USE_POP  +USE_IMAP  +USE_SMTP  -USE_GSS  +USE_SSL_OPENSSL
-USE_SSL_GNUTLS  +USE_SASL  +HAVE_GETADDRINFO
(Continue reading)

Kyle Wheeler | 15 May 07:03

Re: Interrupted System Calls


On Thursday, May 15 at 09:58 AM, quoth Dylan Stamat:
> I'm on a brand new OSX (leopard) mutt-devel install, and every time 
> I try to send an email via smtp, I get the following:
>
> Could not connect to gmail.com (Interrupted system call).

As you've read, the interrupt is usually a timeout. If you're getting 
the timeout right away, try increasing the timeout. If you're getting 
the timeout after a couple seconds, maybe your smtp url isn't right. 
Let's see it (don't send the password, of course).

I use Leopard, and my smtp_url setting is 
"smtp://kyle:XXXXX <at> smtp.memoryhole.net/"

> This happens consistently, and the only hack I've been able to find 
> is the following:  http://bugs.mutt.org/trac/ticket/2059

> However, this is pretty hacky, and this is a flat out mutt-devel 
> install via ports, so don't have much in the way of extra services 
> which could be competing (afaik).

Where do you get the idea that there's some sort of competition 
involved?

> Mutt 1.5.17 (2007-11-01)
> System: Darwin 9.2.0 (i386)

Update your system! Mine is Darwin 9.2.2. You never know, it could be 
an OSX bug that got fixed.
(Continue reading)

Dylan Stamat | 15 May 07:33

Re: Interrupted System Calls

Gah !  Kyle FTW !

My smtp_url was in incorrectly formatted...
Incorrect:  smtp_url=smtp://smtp.gmail.com:587:dylanstamat <at> gmail.com/
Correct:  smtp_url=smtp://dylanstamat <at> gmail.com <at> smtp.gmail.com:587

No idea where I got that incorrect format from.  I'm going to blame it on
some ill-configured muttrc that wanders the internet at night.

That... and yeah, my system is on the old kernel :)
Thanks for the help Kyle !
==
Dylan

On Thu, May 15, 2008 at 5:03 PM, Kyle Wheeler <kyle-mutt <at> memoryhole.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thursday, May 15 at 09:58 AM, quoth Dylan Stamat:
>> I'm on a brand new OSX (leopard) mutt-devel install, and every time
>> I try to send an email via smtp, I get the following:
>>
>> Could not connect to gmail.com (Interrupted system call).
>
> As you've read, the interrupt is usually a timeout. If you're getting
> the timeout right away, try increasing the timeout. If you're getting
> the timeout after a couple seconds, maybe your smtp url isn't right.
> Let's see it (don't send the password, of course).
>
> I use Leopard, and my smtp_url setting is
(Continue reading)


Gmane