Dan Candea wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Crucificator said the following on 10/13/04 20:02: >| yoyo wrote: >| >| >|>de ce mai ai nevoie de: >|>"smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd" >|>cand vrei sa-ti autentifice utilizatorii din sistem? >|> >|> >|> >|>On Wed, 13 Oct 2004 15:48:19 +0200, Crucificator ><[EMAIL PROTECTED]> wrote: >|> >|> >|> >|>>Incerc sa abilitez sasl in postfix si nu autentifica. Poate cineva sa ma >|>>ajute? >|>> >|>># rpm -q sasl >|>>package sasl is not installed >|>>[EMAIL PROTECTED] sysconfig]# rpm -q cyrus-sasl >|>>cyrus-sasl-2.1.15-4mdk >|>>[EMAIL PROTECTED] sysconfig]# rpm -q cyrus >|>>package cyrus is not installed >|>>[EMAIL PROTECTED] sysconfig]# rpm -qa |grep sasl >|>>libsasl2-plug-plain-2.1.15-4mdk >|>>cyrus-sasl-2.1.15-4mdk >|>>libsasl2-plug-crammd5-2.1.15-4mdk >|>>libsasl2-2.1.15-4mdk >|>>libsasl2-plug-digestmd5-2.1.15-4mdk >|>> >|>># postconf | grep sasl >|>> >|>>lmtp_sasl_auth_enable = no >|>>lmtp_sasl_password_maps = >|>>lmtp_sasl_security_options = noplaintext, noanonymous >|>>smtp_sasl_auth_enable = no >|>>smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd >|>>smtp_sasl_security_options = noplaintext, noanonymous >|>>smtp_sasl_tls_security_options = $var_smtp_sasl_opts >|>>smtp_sasl_tls_verified_security_options = $var_smtp_sasl_tls_opts >|>>smtpd_client_restrictions = permit_mynetworks, permit sasl_authenticated >|>>smtpd_sasl_auth_enable = yes >|>>smtpd_sasl_local_domain = $myhostname >|>>smtpd_sasl_security_options = noanonymous >|>>smtpd_sasl_tls_security_options = $smtpd_sasl_security_options >|>> >|>># cat /usr/lib/sasl2/smtpd.conf (are symlink in /usr/local/lib/sasl2) >|>>pwcheck_method: saslauthd >|>>mech_list: plain shadow >|>> >|>># cat /etc/sysconfig/saslauthd >|>># $Id: saslauthd.sysconfig,v 1.1 2001/05/02 10:55:48 wiget Exp $ >|>># Authentications mechanism (for list see saslauthd -v) >|>>SASL_AUTHMECH=shadow >|>> >|>># Hostname for remote IMAP server (if rimap auth mech is used) >|>># Ldap configuration file (if ldap auth mech is used) >|>>SASL_MECH_OPTIONS= >|>> >|>># Extra options (for list see saslauthd -h) >|>>SASLAUTHD_OPTS=shadow >|>> >|>># ps aux|grep sasl >|>>root 22712 0.0 0.1 4088 1084 ? S 15:33 0:00 saslauthd >|>>shadow -a shadow >|>>root 22713 0.0 0.1 4088 1084 ? S 15:33 0:00 saslauthd >|>>shadow -a shadow >|>>root 22714 0.0 0.1 4088 1084 ? S 15:33 0:00 saslauthd >|>>shadow -a shadow >|>>root 22715 0.0 0.1 4088 1084 ? S 15:33 0:00 saslauthd >|>>shadow -a shadow >|>>root 22716 0.0 0.1 4088 1084 ? S 15:33 0:00 saslauthd >|>>shadow -a shadow >|>>root 22899 0.0 0.0 1824 600 pts/0 R 15:45 0:00 grep sasl >|>> >|>># tail /var/log/mail/warnings >|>>Oct 13 12:39:05 www postfix/smtpd[22800]: warning: SASL authentication >|>>failure: Password verification failed >|>>Oct 13 12:39:05 www postfix/smtpd[22800]: warning: unknown[ip.ip.ip.ip]: >|>>SASL PLAIN authentication failed >|>> >|>>Multzam fain >|>> >|>>--- >|>>Detalii despre listele noastre de mail: http://www.lug.ro/ >|>> >|>> >|>> >|>> >|> >|> >|> >|> >| >| Merci pentru raspuns, >| Da, sorry, a ramas de la o incercare mai veche, disregard. Nu merge nici >| fara. Alte idei? > >ar trebui ceva de genu: > >virtual_mailbox_maps=mysql:/etc/postfix/mysql_users.cf >cat /etc/postfix/mysql_users.cf >user=postfix >password=xxxxx >dbname=maildb >table=mail_users >select_field=concat(domain,'/',virtualuser,'/',maildir) >where_field=address >hosts=127.0.0.1 192.168.1.15 > >vezi http://kirb.insanegenius.net/postfix.html >http://www.sweeney.demon.co.uk/pfix_imap_virtual.html >si la http://www.postfix.org/documentation.html > >| >| --- >| Detalii despre listele noastre de mail: http://www.lug.ro/ >| >| >| > > >- -- >Dan Candea >Does God Play Dice? >0xD9241077 at pgp.mit.edu >http://www.e-bizz.ro > > >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.2.4 (GNU/Linux) >Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org > >iD8DBQFBbjm7aKesMdkkEHcRAkVJAJ4465csxSFWmpbkuoqavdfXFnKCuQCg8nZA >JJXYgYCMnVcwc/7OXg4vSI0= >=JSKH >-----END PGP SIGNATURE----- > >--- >Detalii despre listele noastre de mail: http://www.lug.ro/ > > > > > merci pentru raspuns. As vrea totusi autentificare pe shadow nu pe baza de date. In configuratia actuala ce am gresit?
--- Detalii despre listele noastre de mail: http://www.lug.ro/
