Home » Questions » Computers [ Ask a new question ]

Just want to send emails from my Ubuntu Server. What simple SMTP server solution to use? [closed]

Just want to send emails from my Ubuntu Server. What simple SMTP server solution to use? [closed]

Basically I have a Ubuntu Server machine and I would like an idiot-proof solution for sending emails from my website that is also running in this same machine.

Asked by: Guest | Views: 37
Total answers/comments: 4
Guest [Entry]

"You don't need to run an SMTP server yourself. You can rig your system to send using a different box's server. For instance, if you have access to your ISP's (or hosting service's) mail server, you can send mail from there.

To give a really useful answer would require actually knowing what you're trying to do--your explanation is really vague. Do you want to send email from a CGI script, or what?"
Guest [Entry]

"It's possible that your mail was marked as spam because the sender was an obvious default - ""mysite.dyndnsdotorg"".

To fix that: I'm far from a Postfix expert, but have you looked in /etc/postfix/, probably the file main.cf?"
Guest [Entry]

"1) You only need a smtp server if you want to receive email. It is not needed to only send it.

3) the spam box is a function of the receivers email system, not the senders. There is no way to guarantee not to be put in the spam box. You can minimize it by making your messages not look like spam (which is a topic for another question).

4) That is probably the default sender. Whatever api you are using to send mail should allow you to configure that. It should probably be set to an address that can receive mail."
Guest [Entry]

"Postfix is dead easy if you aren't going to be relaying mail. Your problem is not Postfix's fault: it sounds as if Postfix is working fine.

Spam: look at SPF — SPF can tell other sites that you have a policy of only sending mail that comes from the same machine. But you'll need to hack DNS to set that up. Use a nameserver checker to see if there aren't any obvious problems, like reverse DNS not being set up on your site: see the SF qn, Nameserver Checker."