;;; -*-Scheme-*-
;;;
-;;; $Id: rmail.scm,v 1.44 1995/10/12 22:44:27 cph Exp $
+;;; $Id: rmail.scm,v 1.45 1995/10/12 22:54:32 cph Exp $
;;;
;;; Copyright (c) 1991-95 Massachusetts Institute of Technology
;;;
(if entry
(let ((user-name (cadr entry))
(password (caddr entry)))
- (cond ((or (string? password)
- (and (pair? password) (eq? 'FILE (car password))))
+ (cond ((string? password)
(values user-name password #f))
((eq? 'PROMPT-ONCE password)
(let ((password
#t))))
((eq? 'PROMPT-ALWAYS password)
(values user-name (prompt-for-pop-server-password server) #f))
+ ((and (pair? password) (eq? 'FILE (car password)))
+ (values user-name
+ (list 'FILE
+ (->namestring
+ (merge-pathnames (cadr password)
+ (user-homedir-pathname))))))
(else
(error "Illegal password value in rmail-pop-accounts entry:"
password))))
;;; -*-Scheme-*-
;;;
-;;; $Id: unix.scm,v 1.58 1995/10/12 22:45:41 cph Exp $
+;;; $Id: unix.scm,v 1.59 1995/10/12 22:54:47 cph Exp $
;;;
;;; Copyright (c) 1989-95 Massachusetts Institute of Technology
;;;
(newline port)))
(receiver (list "-P" filename)))))
((and (pair? password) (eq? 'FILE (car password)))
- (receiver
- (list "-P" (->namestring (merge-pathnames (cadr password))))))
+ (receiver (list "-P" (cadr password))))
(else
(error "Illegal password:" password)))
(cond ((string? password)