Search code examples
bashsmtpimapsmtps

How to receive email using linux, bash and imaps?


I have some email server which receives from clients via smtps (port 465, ssl/tls, normal passwort) and send to clients via imaps (port 993, ssl/tls, normal password).

What I need are bash commandos to receive/send emails from/to this server. I've already managed to send emails to the server via smtps. There are many examples. What I did not get to manage is to receive emails from the server via imaps.

Are there any bash commandos which could help me?

Thanks in advance

Goran


Solution

  • Fetchmail will help you. It is small and easy client for pulling mail. See here: http://fetchmail.berlios.de/fetchmail-man.html