简体   繁体   中英

How to read email from command line in linux?

I have a server with roundcube installed in it. I tried sending email into it from external email with my username@servername. It turns out that I was not able to read emails (no email pops up in inbox) but when I send email to some external email address from roundcube then it works fine. I was wondering if there is any command-line code to read any emails that any user @server receives.

Yes. There is a nearly 30 yrs old 'mail' command. But an

apt-get install alpine

helped a lot as well.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM