Outils pour utilisateurs

Outils du site


informatique:reseau:postfix

Ceci est une ancienne révision du document !


Postfix

Tips

Stats tools

Mailgraph - a RRDtool frontend for Mail statistics: http://mailgraph.schweikert.ch/

Pflogsumm - The Postfix Log Entry Summarizer: https://calomel.org/pflogsumm.html

Dovecot SASL configuration for the Postfix SMTP server

In order to enable SASL support in the Postfix SMTP server:

  /etc/postfix/main.cf:
      smtpd_sasl_auth_enable = yes

In order to allow mail relaying by authenticated remote SMTP clients:

  /etc/postfix/main.cf:
      smtpd_recipient_restrictions = 
          permit_mynetworks 
          permit_sasl_authenticated 
          reject_unauth_destination

Dovecot SASL support is available in Postfix 2.3 and later. On the Postfix side you need to specify the location of the Dovecot authentication daemon socket. We use a pathname relative to the Postfix queue directory, so that it will work whether or not the Postfix SMTP server runs chrooted:

  /etc/postfix/main.cf:
      smtpd_sasl_type = dovecot
      smtpd_sasl_path = private/auth

On the Dovecot side you also need to specify the Dovecot authentication daemon socket. In this case we specify an absolute pathname. In the example we assume that the Postfix queue is under /var/spool/postfix/.

  /some/where/dovecot.conf:
      auth default {
        mechanisms = plain login
        passdb pam {
        }
        userdb passwd {
        }
        socket listen {
          client {
            path = /var/spool/postfix/private/auth
            mode = 0660
            user = postfix
            group = postfix
          }
        }
      }

See the Dovecot documentation for how to configure and operate the Dovecot authentication server.

Non-Unix users

SpamAssassin et ClamAV

LDAP

informatique/reseau/postfix.1258507939.txt.gz · Dernière modification : 19/05/2012 00:15 (modification externe)

Sauf mention contraire, le contenu de ce wiki est placé sous les termes de la licence suivante : CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki