samedi 6 décembre 2008

SMTP MTA setup

Setting up a simple SMTP server

This is based around Postfix on Ubuntu linux.

Install: sudo apt-get install postfix

Config: during apt-get install you'll get a configuration dialog.
  1. enter your local host name and a dummy mail domain (this assumes that you don't own a proper domain name). For instance, myhost.mymail.
  2. To allow outgoing email; enter the SMTP host for your internet provider (e.g. smtp.myprovider.com). This is not going to allow incoming emails to flow in (for this you'll need fetchmail or a full SMTP setup which goes beyond this post)
To allow shell utilities like mailx to send internet emails, a further step is required.

Aucun commentaire: