Just want to send emails from my Ubuntu Server. What simple SMTP server solution to use? [closed]
Desktop Ubuntus choice is the package msmtp-mta (installed as default sendmail replacement).
This is not exactly the solution you said you were looking for, but if you have access to some other smtp server, you can use nullmailer.
It is 93kB installed for karmic, and needs one or two lines of configuration.. :)
Description: simple relay-only mail transport agent Nullmailer is a replacement MTA for hosts, which relay to a fixed set of smart relays. It is designed to be simple to configure and especially useful on slave machines and in chroots.
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?
First: You will want to add the possibility to receive mails, and if it's only for Bounces, unless you use an email other than one on the server. If you do, you probably won't need the SMTP server either – every email provider I know provides one by itself.
Postfix is not very difficult to configure, as long as you know what you are doing. You might want to read the Postfix documentation and about mail systems in general.
Yes, this is work, but you chose to run your own server. If you don't want the work, don't run one.
The email sender was [email protected]. How do I change that?
This should be the canonical address rewriting.
About the spam thing: Is your server located at your home? Mails from dialup connections are usually blocked everywhere.
An SMTP server is used to send mail and a POP3 to receive mail. For the spam delivery, I am not sure of what could cause that, because I sent a mail from an application using gmail SMTP detail, but the mail was delivered into my spam mails.