Attached is the updated patch. The most important difference compared with the previous one is that this version allows to specify mailbox URLs (pop://user:pass@server) even when emacs movemail is used. One notice: rmail-insert-inbox-text contains branches that move inbox contents directly using (copy-file) or (rename-file). Currently these are not used, since the controlling variable `movemail' is set unconditionally to `t'. Are there any plans to use these branches? Or can I just remove them? ChangeLog entry: 2004-11-22 Sergey Poznyakoff * mail/rmail.el: Updated to work with movemail from GNU Mailutils (rmail-pop-password,rmail-pop-password-required): Moved to rmail-obsolete group. (rmail-set-pop-password): Renamed to rmail-set-remote-password. All callers updated. (rmail-get-pop-password): Renamed to rmail-get-remote-password. Take an argument specifying whether it is POP or IMAP mailbox we are using. All callers updated. (rmail-pop-password-error): Renamed to rmail-remote-password-error. Added mailutils-specific error message. (rmail-movemail-search-path) (rmail-movemail-variant-in-use): New variables. (rmail-remote-password,rmail-remote-password-required): New customization variables. (rmail-probe,rmail-autodetect,rmail-movemail-variant-p): New functions (rmail-parse-url): New function. (rmail-get-new-mail,rmail-insert-inbox-text): Updated for use with GNU mailutils movemail. Accept mailbox URLs no matter what flavor of movemail is being used. * etc/NEWS: Document changes to rmail.el * man/rmail.texi: Likewise Regards, Sergey