Posts tagged with: server

Setup server to send email directly in Ubuntu without using SMTP gateway

There are a lot of usage for servers such as web hosting, filesharing, application hosting and so on. Most of these servers does no need to have a full fledged email service running in them. However, very often these servers still need to send out emails for example, in the form of alerts such as diskspace full and so on. There are basically 2 ways of doing this,

1) setup server or applications to send email using SMTP login to a proper email server

2) setup server to allow it send out email directly without going through SMTP

The proper way of doing this is using method 1. However it entails a lot of work and I personally prefer method 2. It is much easier to setup and does not rely on SMTP server to send out email. Here, I will show how to setup server to send out email using method 2 on Ubuntu using postfix MTA. It should work for most version of Ubuntu and Debian based system.

[cc lang=”bash” escaped=”true” width=”100%”]

apt-get update

apt-get install postfix mailx

[/cc]

During postfix installation, you will be brought to postfix setup screen. If you don’t get that screen, manually type dpkg-reconfigure postfix.

General type of mail configuration: Internet

Just press enter for the rest of the options.

Once this is done, a basic config file will be generated for postfix. You don’t really need to config file. You can just empty it and restart postfix.

[cc lang=”bash” escaped=”true” width=”100%”]

cat /dev/null > /etc/postfix/main.cf

/etc/init.d/postfix restart

[/cc]

Test sending out email:

[cc lang=”bash” escaped=”true” width=”100%”]

echo testing | mail -s subjecttesting [email protected]

[/cc]

Done


HP announces upgraded ProLiant MicroServer models powered by AMD Turion N40L

HP Proliant MicroServer

Good news to those interested to join the gang with HP MicroServer. HP is launching updated version of this popular server with basically upgrades in hardware inside the server. The outer look will still be maintained which is fine with me as I am very satisfied with the current design.

CPU has been upgraded from the original 1.3GHz dual-core AMD AthlonII NEO N36L to a newer and better performing 1.5GHz dual-core AMD TurionII NEO N40L.

Models Processor Memory Harddisk Drive Others
Old HP MicroServer 1.3GHz dual-core AMD AthlonII NEO N36L  1GB ECC DDR3 1 x 160GB
New Entry Level 1.5GHz dual-core AMD TurionII NEO N40L  2GB ECC DDR3 1 x 250GB
New Higher Level 1.5GHz dual-core AMD TurionII NEO N40L  4GB ECC DDR3 2 x 500GB SBS 2001 Essentials

Reference: http://h10010.www1.hp.com/wwpc/uk/en/sm/WF06b/15351-15351-4237916-4237917-4237917-4248009-5163346.html