过去,我曾尝试按照本指南在Ubuntu上设置邮件服务器(与Postfix,Dovecot和Squirrelmail一起使用),但均未成功.我似乎一切正常,但邮件没有通过.
In the past I have tried following this guide for setting up a mail server on Ubuntu (going with Postfix, Dovecot, and Squirrelmail) and have been unsuccessful. I seemed to have been doing everything right, but the mail was not going through.
无论如何,已经有一段时间了,我想从头开始.可以在Linux上设置SMTP服务器的最简单,最便宜的方式(最好是免费的,如果我已经拥有域名+服务器的话)?
Anyway, it's been a while, and I would like to start over from scratch. What is the simplest, cheapest (preferably free if I already have a domain name + server) way I can set up an SMTP server on Linux?
我的最终目标是能够(从命令行)向我的手机发送简单的简短电子邮件作为提醒.这就是我真正需要的.
My end goal is to be able to send simple, short emails to my cell phone (from the command line) as reminders. That's all I really need.
推荐答案sudo apt-get install mailutils
然后设置一个gmail帐户,并使用该帐户发送电子邮件.真的很容易.我这样做是为了查看谁登录了我的Minecraft服务器,以便儿子在他的朋友上线时可以跳进去: dymitruk/blog/2012/07/20/scripting-for-fun/
Then set up a gmail account and use that to send email with it. Works really easily. I've done this for seeing who's logged in to my minecraft server so my son can jump in when his friend goes on line: dymitruk/blog/2012/07/20/scripting-for-fun/