質問

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

役に立ちましたか?

解決

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

他のヒント

I don't think it's possible to manually receive mails with simple command lines. You can try to use some tools tough. Like procmail or what the guy wrote at this address http://www.linuxquestions.org/questions/linux-newbie-8/receive-and-parse-email-in-bash-or-execute-script-when-message-is-received-769222/. Make sure that the port to receive mail is open on the server.

I've got it! Fetchmail & Procmail are my friends.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top