Open Bug 53488 Opened 25 years ago Updated 3 years ago

[RFE] Should be possible to logout of IMAP mail account

Categories

(MailNews Core :: Networking: IMAP, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: bugzilla-mozilla-20220926, Unassigned)

References

(Blocks 1 open bug)

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-3 i686; en-US; m18) Gecko/20000915 BuildID: 2000091508 It's not currently possible, that I can see, to log out of an IMAP mail account (or all accounts at once) without quitting Mozilla. This would be useful for the case where one connects to an account via an SSH-forwarded port: logging out of the remote shell is not completed until Mozilla is completely exited, because it's holding the forwarded port open. Reproducible: Always Steps to Reproduce: 1. ssh to tunnelhost, forwarding remote port to local port (e.g. 'ssh -R 143:mailhost:143 tunnelhost'). 2. Connect Mozilla to the server on localhost:143 (the tunneled port to the remote server). 3. Read some messages on the remote server. 4. Exit the ssh shell. It will report something like: > logout Waiting for forwarded connections to terminate... The following connections are open: listen port 143 for mailhost port 143, connect from localhost.localdomain port 1110 Expected Results: At some point, Mozilla should close the connection to the server, perhaps when a message on another server is selected, or by a user's direct request (File/Close mail server?).
Promoting to NEW, adding "[RFE]" to summary.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Should be possible to logout of IMAP mail account → [RFE] Should be possible to logout of IMAP mail account
This is something we'd like to consider in the next release.
Target Milestone: --- → Future
nominating for mozilla 1.0 and pulling back from future since we're in the next release cycle now.
Keywords: mozilla1.0
Target Milestone: Future → ---
workaround: click on the online/offline button in the lower right corner. This should give a hint how to implement it. You don't need to setup a ssh-tunnel to test this, any imap-account will do. Use netstat (Unix, Linux, Windows) to see your connections. Click on the offline-icon, and they dissapear.
I actually thought of this--one local connection stays in TIME_WAIT, and the ssh-tunneled session stays in FIN_WAIT2, TIME_WAIT or CLOSE_WAIT. I suppose the latter behaviour could be a bug in SSH, but I don't have similar problems using tunneled Pine to access IMAP.
It should also be possible to log out of POP mail account (forget the passwords) If Mozilla is used to manage a number of role accounts, and the PC is left unattended, the risk to privacy/security may be reduced by logging out of inactive accounts
QA Contact: huang → gchan
*** Bug 193653 has been marked as a duplicate of this bug. ***
Keywords: mozilla1.0
*** Bug 213203 has been marked as a duplicate of this bug. ***
Blocks: 193653
Product: MailNews → Core
OS: Linux → All
Hardware: PC → All
Assignee: mscott → nobody
Product: Core → MailNews Core
QA Contact: grylchan → networking.imap
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.