Using Mutt to Check POP or IMAP Email
scottalanmiller last edited by
If you are like me and manage a lot of email, sometimes it is nice to use a command line email client just to see what is going on. One thing that I really like is that with the Mutt command line client, I do not have to "set up" an account, I can just specify the details in the connection string and voila, it connects. If I was on Thunderbird, for example, I would spend a lot of time creating an account in the application for each mailbox that I want to test, and then wanting to delete it afterwards. With Mutt, the details only exist for as long as I am connected.
Installing Mutt is trivial. On Fedora or similar, dnf install mutt. On Ubuntu, Debian and their ilk just apt install mutt. Doesn't get any easier.
All you then need to know is the format to connect. This is the part that no one tells you. The format is -f (for file, but it isn't a file) and you can use one or two @ signs in the string because the format is...
mutt -f pop://[email protected]
Where: host can be an IP, hostname, localhost, etc.
Where: mailbox can be a name or a full email address with its own @ sign.
mutt -f pop://[email protected]/ mutt -f imap://[email protected]/ mutt -f pop://[email protected]@localhost/ muff -f imap://[email protected]@myemailmta.org/
Pete.S last edited by
alpinemail client seems popular as well. Do you know if there is a similar way to use directly from the command line?
@scottalanmiller No example output?