Source Repository:No results

Summary: A fast and secure drop-in replacement for sendmail.



New Ports-2017 tree and Kits

Funtoo has a new ports-2017 tree, and introducing kits! (BETA)
2017-03-27 by Drobbins

Xorg and other Updates

Xorg and other Updates
2017-02-05 by Oleg

Kde4 to Plasma5 migration

Migration to Plasma 5
2017-02-02 by Oleg



We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

Postfix is an advanced mail server, MTA (mail transport agent). Postfix attempts to be fast, easy to administer, and secure. The outside has a definite Sendmail-ish flavor, but the inside is completely different. Funtoo is providing postfix as default MTA. The main change in funtoo's default postfix configuration is that it is running using unix sockets instead listening on IP address.

Unix sockets allow for greater security and speed when running services that use postfix on the same server as postfix. If you prefer to listen to IP addresses, or your application doesn't support listening on UNIX sockets, editing should do the trick:

/etc/postfix/ -
# /etc/postfix/
# Postfix master process configuration file.  For details on the format
# of the file, see the master(5) manual page (command: "man 5 master" or
# on-line:
# Do not forget to execute "postfix reload" after editing this file.
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (no)    (never) (100)
# ==========================================================================
#smtp      unix  n       -       y       -       -       smtpd
smtp      inet  n       -       n       -       1        smtpd
#smtpd     pass  -       -       n       -       -       smtpd
#dnsblog   unix  -       -       n       -       0       dnsblog
#tlsproxy  unix  -       -       n       -       0       tlsproxy
#submission inet n       -       n       -       -       smtpd

The above configuration shows that the "smtp unix" line is commented out, disabling listening on sockets. Instead, the line "smtp inet" is uncommented which tells postfix to listen on IP addresses. After editing the file reload the configuration:

# postfix reload
After that, check that postfix is listening on a port (port 25 by default):

# netstat -tlpn
tcp        0      0*               LISTEN      1099/master         
tcp        0      0  *               LISTEN      1099/master
Depending on your configuration, additional steps might be required, but this should be enough to get simple applications started.