View Single Post

  #3 (permalink)  
Old 03-22-2008
Martin Gregorie
 
Posts: n/a
Default Re: how-to for postfix

Matthias Hanft wrote:
> Dirk Lehmann wrote:
>> If not, is there a how-to how to set up a mailserver without webmin by
>> manual editing the config files.

>
> You know the website http://www.postfix.org/ ? The "Howtos and FAQs"
> and the "Documentation" pages give a lot of information...
>
> Furthermore, the Postfix setup is pretty simple:
>
> 1.) Install it.
> (for example, with Gentoo Linux, it's just "emerge postfix")
>
> 2.) If needed, configure it.
> Generally, no configuration at all is needed; optionally you
> can put your hostnames into "mydestination = ..." in the
> /etc/postfix/main.cf file.
>
> 3.) Start it.
> normally /etc/init.d/postfix start
>
> That's it. Easy, huh?!
>
> A very good source of information in German is Peer Heinlein's
> "Das Postfix Buch". The 2004 edition seems to be out of stock
> right now, but a new edition will appear in June 2008:
> http://tinyurl.com/3ybern
>
> -Matt

One other point:

If your distro has sendmail as the default mta and has the alternatives
system installed there's another step to take.

Debian and Fedora default to this set-up. You need to use alternatives
to set Postfix as the current mta after installing it. For Fedora the
sequence is:

- see if Postfix is installed:
yum list postfix

- if its not installed, get it:
yum install postfix

- check the alternative setting:
alternatives --display mta

- and set it to Postfix if needed:
alternatives --set mta /usr/sbin/sendmail.postfix


--
martin@ | Martin Gregorie
gregorie. | Essex, UK
org |
Reply With Quote