It is surprising gnus asks username/password for a "gmx+AIA", which is weird. Doesn't make sense. Can it be a bug for trying to merge/simplify the gnus select methods ? Is there any work, underway to combine gnus-select-method and gnus-secondary-select-methods ? Hope all this helps ! For my configuration: 1. I have no /etc/emacs files. 2. The $HOME/.emacs.d/init.el file is: (setq custom-file "~/customize.el") (load custom-file) (prefer-coding-system 'utf-8) 3. The customize.el is attached. (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(custom-file "~/customize.el") '(gnus-message-archive-group '(lambda (grp) (if grp gnus-newsgroup-name "Send-Mail"))) '(gnus-message-archive-method '(nnimap "gmx")) '(gnus-nntp-server nil) '(gnus-nntpserver-file "/etc/news/spool") '(gnus-play-startup-jingle t) '(gnus-secondary-select-methods '((nnimap "AIA" (nnimap-address "imap-mail.outlook.com") (nnimap-stream ssl) (nnimap-server-port "imaps")))) '(gnus-secondary-servers nil) '(gnus-select-method '(nnimap "gmx" (nnimap-address "imap.gmx.com") (nnimap-server-port "imaps") (nnimap-stream ssl) (nnmail-expiry-target "Trash") (nnmail-expiry-wait immediate))) '(gnus-summary-line-format "%U%R%z%o %I%(%[%4L: %-23,23f%]%) %s ") '(gnus-total-expirable-newsgroups "mail.test") '(gnus-use-trees nil) '(message-user-fqdn "myhome223.gr") ) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. )