Home > auth > saslauthd pam acct error

Saslauthd Pam Acct Error

sasl error 9 posts / 0 new Log in or register to post comments Last post #1 Tue, 09/14/2010 - 06:24 aplima SMTP auth refused with sasl error I had several errors reported like this: SASL LOGIN authentication failed: authentication failure I searched and googled, and googled and searched... Never saslauthd do_auth : auth failure: found a solution that would solve my problem. I had a similar problem with imap and debug: auth_pam: pam_authenticate failed: authentication failure pop3 login. Wanted the user to authenticate as user@domain.tld instead of user-domain.tld or user.domain.tld Some research on virtualmin and webmin foruns pointed me to the smtpd_sasl_type right direction... And today, I tried to use the user-domain.tld format and my emails started to be sent. I've been using qmail since forever, and was trying postfix. Have been testing the spam and virus filtering for some months now, testsaslauthd and I decided it was time for a definitive change. There was the problem with sending emails. I wish someone could point me where to enable the use of: user@domain.tld in smtp auth. Thanks. Log in or register to post comments #2 Tue, 09/14/2010 - 09:50 andreychek Howdy, If you haven't already, you may want to take a peek in System Settings -> Server Templates -> Default -> Mail for Domain, and verify that "Format for usernames that include domain" is set the way you want it. (which sounds like it would be the user@domain format). That will only change new email accounts that are created... any existing account will continue to use the previous style. If you've created a new email account using the user@domain format, and it still doesn't allow you to log in, you'd want to make sure that saslauthd is running with the -r option. You can verify that by looking at the running process, which you can do with this command: "ps auxw | grep saslauth" If it does not have the -r option, we can get that fixed, just let us know what distro you're using :-) -Eric Log in or register to post comments #3 Tue, 09/14/2010 - 10:13 (Reply to #2) aplima Here is the output to ps auxw | grep saslauth root 27000 0.0 0.0 5564 488 ? Ss 14:24 0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam root 27001 0.0 0.0 5608 980 ? S 14:24 0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam root 27002 0.0 0.0 5564 264 ? S 14:24 0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam root 27003 0.0 0.0 5564 264 ? S 14:24 0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam root 27004 0.0 0.0 5564 264 ? S 14:24 0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam root 31563 0.0 0.0 3916 680 pts/0 S+ 16:10 0:00 grep saslauth I can login any user (before or after the change on default address format) on pop3

pam_mysql: acct error if acoount is not present in /etc/passwd) Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Hello all If I add the mailaccount-username authentication works (password is the one from the db and not the one from passwd). The output is already https://www.virtualmin.com/node/15570 described in the archives of this list. Dec 16 11:10:35 pacman saslauthd[9264]: pam_mysql - SELECT pw FROM ****** WHERE uname = '******' Dec 16 11:10:35 pacman saslauthd[9264]: pam_mysql - pam_mysql_sql_log() called. Dec 16 11:10:35 pacman saslauthd[9264]: pam_mysql - pam_mysql_sql_log() returning 0. Dec 16 11:10:35 https://lists.andrew.cmu.edu/pipermail/cyrus-sasl/2005-December/000209.html pacman saslauthd[9264]: pam_mysql - pam_mysql_check_passwd() returning 0. Dec 16 11:10:35 pacman saslauthd[9264]: pam_mysql - pam_sm_authenticate() returning 0. Dec 16 11:10:35 pacman saslauthd[9264]: pam_mysql - pam_mysql_release_ctx() called. Dec 16 11:10:35 pacman saslauthd[9264]: pam_mysql - pam_mysql_destroy_ctx() called. Dec 16 11:10:35 pacman saslauthd[9264]: pam_mysql - pam_mysql_close_db() called. Dec 16 11:10:35 pacman saslauthd[9264]: do_auth : auth failure: [user=mail0264] [service=imap] [realm=] [mech=pam] [reason=PAM acct error] Any idea what I did wrong? I already testet using another pam-module but the setup of pam_mysql seems to be OK. Regards Peter Guhl Previous message: Cyrus SASL build question Next message: solved: (Re: saslauthd -a pam, pam_mysql: acct error if acoount is not present in /etc/passwd) Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the Cyrus-sasl mailing list

Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us http://serverfault.com/questions/522259/saslauthd-on-centos-no-authentication Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and : auth rise to the top saslauthd on centos no authentication up vote 2 down vote favorite I want instal on centos 6.4 postfix with auth-smtp, i instal sasl ps -ef | grep pam root 3148 1 0 15:29 ? 00:00:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam root 3150 3148 0 15:29 ? 00:00:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam root 3151 3148 0 15:29 ? 00:00:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam saslauthd pam acct root 3152 3148 0 15:29 ? 00:00:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam root 3153 3148 0 15:29 ? 00:00:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam root 3237 1276 0 16:20 pts/0 00:00:00 grep pam but if it test testsaslauthd -u user -p pass 0: NO "authentication failed" in /var/log/messages auth failure: [user=mardon] [service=imap] [realm=] [mech=pam] [reason=PAM auth error] cat /etc/sasl2/smtpd.conf pwcheck_method: saslauthd mech_list: plain login why testsaslauthd not authenticate? centos saslauthd share|improve this question asked Jul 10 '13 at 14:49 mardon 160415 add a comment| 2 Answers 2 active oldest votes up vote 0 down vote accepted Since saslauthd was configured to contact the PAM authentication framework, you have to specify an additional -s smtp: $ testsaslauthd -u user -p pass -s smtp share|improve this answer answered Jul 10 '13 at 15:59 quanta 36.5k783161 add a comment| up vote 0 down vote 2016/03/31 Had a similar issue on my Fedora 15. By setting FLAGS=-d in /etc/init.d/saslauthd and restarting it, I found, by inspecting /var/log/messages that testsaslauthd uses the imap service by default. A little tidbit of information the author though he'd keep to himself :( On my system, too, saslauthd is configured, in /etc/sysconfig/saslauthd to use PAM. There was no /etc/pam.d/imap file on my sy

Related content

saslauthd mech=pam reason=pam auth error
Saslauthd Mech pam Reason pam Auth Error p Postfix version with dovecot I am having below saslauthd do auth auth failure problem for plain text authentication Jun smtp pam unix debug auth pam pam authenticate failed authentication failure check pass user unknown Jun smtp pam unix authentication failure logname uid euid saslauthd pam tty ruser rhost Jun saslauthd do auth auth failure service smtp realm xxxx com mech pam reason PAM auth error My etc pam d smtp file is as under p Smtpd sasl type p PAM- auth required pam stack so service system-auth account required pam stack so

saslauthd reason=pam auth error
Saslauthd Reason pam Auth Error p Postfix version with dovecot I am having below problem for plain p Saslauthd Do auth Auth Failure p text authentication Jun smtp pam unix check pass user mech pam unknown Jun smtp pam unix authentication failure logname uid euid tty ruser rhost Jun debug auth pam pam authenticate failed authentication failure saslauthd do auth auth failure service smtp realm xxxx com mech pam reason PAM auth error My etc pam d smtp file is as under PAM- auth required pam stack so service system-auth account p Saslauthd Pam p required pam stack so service

sasl reason=pam auth error
Sasl Reason pam Auth Error p sasl error posts new Log in or register to post comments Last post Tue - aplima SMTP auth refused with sasl error I had several errors reported like saslauthd do auth auth failure this SASL LOGIN authentication failed authentication failure I searched and googled and googled mech pam and searched Never found a solution that would solve my problem I had a similar problem with imap and pop p Debug Auth pam Pam authenticate Failed Authentication Failure p login Wanted the user to authenticate as user domain tld instead of user-domain tld or user

saslauthd auth failure pam auth error
Saslauthd Auth Failure Pam Auth Error p Postfix version with dovecot I am having below problem for plain text authentication Jun smtp pam unix check pass user unknown Jun saslauthd do auth auth failure smtp pam unix authentication failure logname uid euid tty ruser rhost Jun saslauthd mech pam do auth auth failure service smtp realm xxxx com mech pam reason PAM auth error My etc pam d smtp file is as under PAM- auth required p Debug Auth pam Pam authenticate Failed Authentication Failure p pam stack so service system-auth account required pam stack so service system-auth Just done

saslauthd do auth reason pam auth error
Saslauthd Do Auth Reason Pam Auth Error p sasl error posts new Log in or register to post comments Last post Tue - aplima SMTP auth refused with sasl error I had several errors reported saslauthd do auth auth failure like this SASL LOGIN authentication failed authentication failure I searched and googled and p Mech pam p googled and searched Never found a solution that would solve my problem I had a similar problem with imap and debug auth pam pam authenticate failed authentication failure pop login Wanted the user to authenticate as user domain tld instead of user-domain tld

sasl pam auth error
Sasl Pam Auth Error p sasl error posts new Log in or register to post comments Last post Tue - aplima SMTP auth refused with sasl error I saslauthd do auth auth failure had several errors reported like this SASL LOGIN authentication failed authentication failure mech pam I searched and googled and googled and searched Never found a solution that would solve my problem I saslauthd pam had a similar problem with imap and pop login Wanted the user to authenticate as user domain tld instead of user-domain tld or user domain tld Some research on virtualmin and webmin foruns

saslauthd auth failure reason=pam auth error
Saslauthd Auth Failure Reason pam Auth Error p Postfix version with dovecot I am having below problem for plain text authentication Jun smtp pam unix check pass user unknown Jun p Saslauthd Do auth Auth Failure p smtp pam unix authentication failure logname uid euid tty ruser rhost Jun mech pam saslauthd do auth auth failure service smtp realm xxxx com mech pam reason PAM auth error My etc pam d smtp file is as p Debug Auth pam Pam authenticate Failed Authentication Failure p under PAM- auth required pam stack so service system-auth account required pam stack so service

saslauthd pam error
Saslauthd Pam Error p sasl error posts new Log in or register to post comments Last post Tue - aplima SMTP auth refused with sasl error I had several errors reported like this SASL LOGIN authentication failed authentication failure I searched and googled and googled and searched Never p Saslauthd Do auth Auth Failure p found a solution that would solve my problem I had a similar problem with imap and debug auth pam pam authenticate failed authentication failure pop login Wanted the user to authenticate as user domain tld instead of user-domain tld or user domain tld Some research

sendmail reason=pam auth error
Sendmail Reason pam Auth Error p Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site saslauthd do auth auth failure About Us Learn more about Stack Overflow the company Business Learn more about debug auth pam pam authenticate failed authentication failure hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question Server Fault smtpd sasl type is a question and answer site for system and network administrators Join them it only takes a minute Sign

sendmail saslauthd pam auth error
Sendmail Saslauthd Pam Auth Error p Postfix version with dovecot I am having below problem for saslauthd ldap plain text authentication Jun smtp pam unix check pass saslauthd do auth auth failure user unknown Jun smtp pam unix authentication failure logname uid euid tty ruser rhost fatal no sasl authentication mechanisms Jun saslauthd do auth auth failure service smtp realm xxxx com mech pam reason PAM auth error My etc pam d smtp file is as under PAM- auth required pam stack so p Smtpd sasl type p service system-auth account required pam stack so service system-auth Just done know

service=smtp realm= mech=pam reason=pam auth error
Service smtp Realm Mech pam Reason pam Auth Error p Postfix version with dovecot I am having below problem for plain text authentication Jun smtp pam unix check pass user unknown Jun saslauthd do auth auth failure smtp pam unix authentication failure logname uid euid tty ruser rhost Jun debug auth pam pam authenticate failed authentication failure saslauthd do auth auth failure service smtp realm xxxx com mech pam reason PAM auth error My etc pam d smtp file is as under PAM- auth saslauthd pam required pam stack so service system-auth account required pam stack so service system-auth Just