Regional-de archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Postfix und pop3 mit Sasl und PAM



On Sun, Sep 19, 2010 at 08:26:26PM -0700, David Wetzel wrote:

> Wie macht ihr das ohne ldap?

Hm, kein bewusstes einsetzen von PAM. Ansonsten:
Gerade getestet wg. 2.7.2. läuft noch.

Kurz: eine externes User mit lahmer kiste (Pentium irgendwas), 
lahmer Server auf Shark, lahmes Netz dazwischen (dort 56k Modem).

Der stunnel stunnelt auf popa3d.

Jaja, ich weiss, dass ich eigentlich alles mit dem dovecot machen
koennte.

irgendwo gabs eine Anleitung - Postfix mit sasl/ postfix mit dovecot-sasl
oder so aehnlich.

        -is

Auszüge:

main.cf:

tls_random_source=dev:/dev/urandom
#Postfix2.3andlater
smtpd_tls_security_level=may
smtpd_tls_loglevel=2
#Obsolete,butstillsupported
#smtpd_use_tls=yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_type = dovecot
broken_sasl_auth_clients = yes
smtpd_tls_auth_only = no
smtpd_sasl_authenticated_header = yes
smtpd_sasl_path = /var/run/dovecot/auth-client

/usr/pkg/etc/dovecot.conf:

disable_plaintext_auth = yes
ssl_disable = no
ssl_cert_file = /usr/pkg/etc/stunnel/stunnel.pem
ssl_key_file = /usr/pkg/etc/stunnel/stunnel.pem
mail_debug = yes
auth default {
  mechanisms = cram-md5 # plain login
  passdb passwd-file {
        args = /usr/pkg/etc/dovecot.pass
  }


  passdb passwd {
  }
  userdb passwd {
  }
  user = root

  socket listen {
    client {
      path = /var/run/dovecot/auth-client
      mode = 0660
      group = postfix
    }
  }
}

/usr/pkg/etc/dovecot.pass:

is:{plain}mumble


Home | Main Index | Thread Index | Old Index