Re: AUTH with sendmail and saslaud on FC3

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

 



On 4/10/06, Herward Hoyer (gua808) <no-reply-gw@xxxxxxxxxxxxxxxxx> wrote:
> Hi I got a problem to authentificate with Sendmail AUTH.
>
> my maillog:
>
> AUTH: available mech=GSSAPI PLAIN LOGIN DIGEST-MD5 CRAM-MD5 ANONYMOUS, allowed mech=EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN
> AUTH failure (CRAM-MD5): user not found (-20) SASL(-13): user not found: no secret in database
> AUTH failure (PLAIN): user not found (-20) SASL(-13): user not found: Password verification failed
> AUTH failure (LOGIN): user not found (-20) SASL(-13): user not found: checkpass failed
> AUTH failure (CRAM-MD5): user not found (-20) SASL(-13): user not found: no secret in database
> AUTH failure (PLAIN): user not found (-20) SASL(-13): user not found: Password verification failed
> AUTH failure (LOGIN): user not found (-20) SASL(-13): user not found: checkpass failed

It seems you don't have a file which sendmail is to use to authenticate..

>
> But when i:
> testsaslauthd -u <user> -p <password>
> I can authentificate.
>
> Some lines from my sendmail.mc
>
> define(`confDEF_USER_ID',``8:12'')dnl
> dnl define(`confAUTO_REBUILD')dnl
> define(`confTO_CONNECT', `1m')dnl
> define(`confTRY_NULL_MX_LIST',true)dnl
> define(`confDONT_PROBE_INTERFACES',true)dnl
> define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
> define(`ALIAS_FILE', `/etc/aliases')dnl
> define(`STATUS_FILE', `/var/log/mail/statistics')dnl
> define(`UUCP_MAILER_MAX', `2000000')dnl
> define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
> define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
> define(`confAUTH_OPTIONS', `A')dnl
> define(`confAUTH_OPTIONS', `A p')dnl
> define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
> define(`confTO_IDENT', `0')dnl
> FEATURE(`no_default_msa',`dnl')dnl
> FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
> FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
> FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl

FEATURE(`authinfo',`hash -o /etc/mail/authinfo)dnl
this file should also exsit in your mail directory with permission 600

the content of the file should be

ISP: "U:username" "P:password" "M: plain, or cram-md5"
you need to find out what is it...

please read about sendmail (client authentication) this should solve
your problem..

> FEATURE(redirect)dnl
> FEATURE(always_add_domain)dnl
> FEATURE(use_cw_file)dnl
> FEATURE(use_ct_file)dnl
> FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl
> FEATURE(`access_db',`hash -T<TMPF> -o /etc/mail/access.db')dnl
> FEATURE(`blacklist_recipients')dnl
> EXPOSED_USER(`root')dnl
> DAEMON_OPTIONS(`Port=smtp,Addr=0.0.0.0, Name=MTA')dnl
> DAEMON_OPTIONS(`Port=submission, Name=MSA, M=Ea')dnl
>
> my /usr/lib/sasl2/Sendmail.conf
> pwcheck_method:saslauthd
>
> The process:
> 11632 ?        Ss     0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam -n 1
>
> cat /etc/pam.d/smtp
> #%PAM-1.0
> auth       required     pam_stack.so service=system-auth
> account    required     pam_stack.so service=system-auth
>
> cat /etc/pam.d/smtp
> #%PAM-1.0
> auth       required     pam_stack.so service=system-auth
> account    required     pam_stack.so service=system-auth
>
> Someone got an Idea?
> Help whould be realy nice!
>
>
> --
> This is an email sent via the webforum on http://fcp.homelinux.org
> http://fcp.homelinux.org/modules/newbb/viewtopic.php?post_id=77377&topic_id=19054&forum=6#forumpost77377
>
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux