[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

failing to connect to server



I may have been too hasty in my success report with pgnus 0.83/nnimap
0.97.. I have two accounts on the same mail server set up for access
with nnimap:

(setq 
 gnus-select-method                
 '(nnimap "spray"
	  (nnimap-server-address "mail.razorfish.fi")
	  (nnimap-stream ssl)
	  (nnimap-list-pattern ("INBOX" "imap_mail/*")))
  gnus-secondary-select-methods 
  '(
    (nnimap "admin"
	    (nnimap-server-address "mail.razorfish.fi")
	    (nnimap-stream ssl)
	    (nnimap-list-pattern ("INBOX" "imap_mail/*")))
  )
)

authinfo:
machine spray login oa
machine admin login admin

After Gnus has been idle for some time, and the imap connections have
closed, sometimes I get into a state where the secondary (admin)
account will not open. Below you can see the *nnimap-debug* and
*imap-log* buffers when I at this point go to the Server buffer to
force the connections open. It seems nnimap will get confused about
the server address for the admin account.

Additionally, I sometimes get the password dialog again when nnimap
tries to reopen the connection even though I answer yes to the
"remember password for this session" question (which, by the way, I'd
like to be able to default to yes and not get asked at all).


======================================================================
1 -> nnimap-open-server: server="admin" defs=nil
| 2 -> nnimap-server-opened: server="admin"
| 2 <- nnimap-server-opened: nil
1 <- nnimap-open-server: nil
======================================================================
1 -> nnimap-open-server: server="spray" defs=((nnimap-server-address "mail.razorfish.fi") (nnimap-stream ssl) (nnimap-list-pattern ("INBOX" "imap_mail/*")))
| 2 -> nnimap-server-opened: server="spray"
| 2 <- nnimap-server-opened: nil
| 2 -> nnimap-possibly-change-server: server="spray"
| 2 <- nnimap-possibly-change-server: " *nnimap* spray"
1 <- nnimap-open-server: (("spray" " *nnimap* spray"))
======================================================================
1 -> nnimap-server-opened: server="spray"
1 <- nnimap-server-opened: (run)


gethostbyname failure
connect:errno=2

Process imap exited abnormally with code 1
gethostbyname failure
connect:errno=2

Process imap exited abnormally with code 1
depth=0 /C=FI/ST=Finland/O=Razorfish Oy/CN=mail.razorfish.fi/Email=admin@razorfish.fi
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 /C=FI/ST=Finland/O=Razorfish Oy/CN=mail.razorfish.fi/Email=admin@razorfish.fi
verify error:num=21:unable to verify the first certificate
verify return:1
* OK localhost IMAP4rev1 v12.250 server ready
7 LOGIN "oa" "password"
7 OK LOGIN completed

-- 
Osma Ahvenlampi