Dinesh Devkota
Dinesh Devkota

Reputation: 1417

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.

Upvotes: 7

Views: 6091

Answers (1)

peterh
peterh

Reputation: 1

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

apt-get install alpine

helped a lot as well.

Upvotes: 14

Related Questions