在Linux上设置SMTP服务器的最简单,最便宜的方法? [英] Simplest, cheapest way to set up SMTP server on Linux?

查看:229
本文介绍了在Linux上设置SMTP服务器的最简单,最便宜的方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

过去,我曾尝试按照本指南在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服务器,以便儿子在他的朋友上线时可以跳进去:

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: http://dymitruk.com/blog/2012/07/20/scripting-for-fun/

这篇关于在Linux上设置SMTP服务器的最简单,最便宜的方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆