title: How to receive email using linux, bash and imaps?
body: <p>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).</p>
  
  <p>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.</p>
  
  <p>Are there any bash commandos which could help me?</p>
  
  <p>Thanks in advance</p>
  
  <p>Goran</p>