Dylan Stamat | 14 May 01:45

IMAP Issues (error / speed)

I'm on a fresh install of OSX (Leopard), and did a macport install of
mutt-devel,
(see bottom of email for config opts).  I had no issues on my OpenBSD machine,
but in moving my .muttrc over to this new machine, there are the
following problems.

1)  When sending an email, it hangs for a while (probably until connect_timeout
 seconds), then gives me the following error (obviously, gmail as the
smtp server):"Could not connect to gmail.com (Can't assign requested
address)."

2)  When starting mutt, it sits on "Looking up imap.gmail.com..." for about 20
seconds before taking me into my default inbox.  I've tried toggling
"imap_check_subscribed" and "imap_list_subscribed", but to no avail.

Any suggestions would be appreciated !
Thanks !
==
Dylan

-------------------------------------------------------------------------------------------------------------
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
(Continue reading)

Rocco Rutte | 14 May 10:58

Re: IMAP Issues (error / speed)

Hi,

* Dylan Stamat wrote:

>I'm on a fresh install of OSX (Leopard), and did a macport install of
>mutt-devel,
>(see bottom of email for config opts).  I had no issues on my OpenBSD machine,
>but in moving my .muttrc over to this new machine, there are the
>following problems.

>1)  When sending an email, it hangs for a while (probably until connect_timeout
> seconds), then gives me the following error (obviously, gmail as the
>smtp server):"Could not connect to gmail.com (Can't assign requested
>address)."

This is likely for the same reason as 2).

>2)  When starting mutt, it sits on "Looking up imap.gmail.com..." for about 20
>seconds before taking me into my default inbox.  I've tried toggling
>"imap_check_subscribed" and "imap_list_subscribed", but to no avail.

The "Looking up..." message says that mutt is waiting for the OS to 
return the IP address for the given host. I guess in your case you have 
some DNS problems unrelated to mutt.

How long does 'host imap.google.com' on the command line take on OS X 
for you?

Rocco

(Continue reading)

Dylan Stamat | 14 May 11:54

Re: IMAP Issues (error / speed)

Hey Rocco, thanks for the response.  Here is the output for both
imap and smtp:

host -v smtp.gmail.com
=========================================
Trying "smtp.gmail.com"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51892
;; flags: qr rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;smtp.gmail.com.                        IN      A

;; ANSWER SECTION:
smtp.gmail.com.         10000   IN      A       209.85.201.109

Received 48 bytes from 10.1.1.1#53 in 2 ms
Trying "smtp.gmail.com"
;; Warning: Message parser reports malformed message packet.
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63148
;; flags: qr rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;smtp.gmail.com.                        IN      AAAA

Received 32 bytes from 10.1.1.1#53 in 2 ms
Trying "smtp.gmail.com"
;; connection timed out; no servers could be reached
=========================================

host -v imap.gmail.com
(Continue reading)

Dylan Stamat | 14 May 23:45

Re: IMAP Issues (error / speed)

DNS issues indeed.  My router was trying some black magic with DNS
relaying, so I turned it off and explicitly added my DNS servers.
Works like a charm now.  Thanks !

On Wed, May 14, 2008 at 9:54 PM, Dylan Stamat <dylanstamat <at> gmail.com> wrote:
> Hey Rocco, thanks for the response.  Here is the output for both
> imap and smtp:
>
> host -v smtp.gmail.com
> =========================================
> Trying "smtp.gmail.com"
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51892
> ;; flags: qr rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
>
> ;; QUESTION SECTION:
> ;smtp.gmail.com.                        IN      A
>
> ;; ANSWER SECTION:
> smtp.gmail.com.         10000   IN      A       209.85.201.109
>
> Received 48 bytes from 10.1.1.1#53 in 2 ms
> Trying "smtp.gmail.com"
> ;; Warning: Message parser reports malformed message packet.
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63148
> ;; flags: qr rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
>
> ;; QUESTION SECTION:
> ;smtp.gmail.com.                        IN      AAAA
>
> Received 32 bytes from 10.1.1.1#53 in 2 ms
(Continue reading)


Gmane