Home > auth > sendmail reason=pam auth error

Sendmail Reason=pam Auth Error

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 up Here's how it works: Anybody can ask a question Anybody can answer The testsaslauthd best answers are voted up and rise to the top sendmail + SASL2 Auth Error up vote 0 down vote favorite My sendmail config is like so: /usr/lib/sasl2/Sendmail.conf pwcheck_method:saslauthd We are running "saslauthd" root 32102 1 0 81 0 - 1128 fcntl_ 11:37 ? 00:00:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam When I saslauth with account name "cccc" everything works OK. But when I saslauth with account name "cccc@domain.com" it fails. /var/log/messages saslauthd[32103]: do_auth : auth failure: [user=cccc] [service=smtp] [realm=domain.com] [mech=pam] [reason=PAM auth error] What's the problem? sendmail share|improve this question edited Apr 8 '11 at 9:49 Jeff Atwood♦ 7,303186288 asked Apr 8 '11 at 2:45 Paul Cho 12 migrated from stackoverflow.com Apr 8 '11 at 9:47 This question came from our site for professional and enthusiast programmers. add a comment| 1 Answer 1 active oldest votes up vote 0 down vote Your saslauthd is using pam as the backend for authentication. Mostly on a system the smtp/imap check is just a lookup of you system account. And there are no system accounts like whatever@domain.com. So pam cannot find such a user and so rejecting authentication. Take a look in /etc/pam.d/smtp If you really want using pam, which I would suggest you, you can use a mysql table for your authentication or other fancy things. Take a look at pam-mysql e.g. Either use a apropriate setup for you pam or use sasldb as a backend for sasalauthd saslauthd -a sasldb Then you can use the userland tool saslpasswd2 for setting up your accounts. share|improve this answer answered May 24 '11 at

inHidden fieldsSearch for groups or messages

messageログには、下記、ログが大量に出力されていました。 Nov 23 16:53:33 ns1 saslauthd[6761]: do_auth : auth failure: [user=vernon] [service=smtp] [realm=] [mech=pam] [reason=PAM auth error] 一度に1~2つのホストからアタックしきて、ブロックされると、替わりのホストから執拗にアタックしてくるようです。この不正アクセスのログには、IPが直接出力されないので、非常にたちが悪いです。インターネットのあちこちの情報を参考に対策してみました。参考にさせて頂いたサイトの方には、この場をかりて、お礼申し上げます。 sendmail のログレベルを 9 → 10 に上げると、mail ログに詳しい内容が表示されるようです。https://bugzilla.redhat.com/show_bug.cgi?id=683797 /etc/mail/sendmail.mcdnl define(`confLOG_LEVEL', `9')dnl↓define(`confLOG_LEVEL', `10')dnlhttp://www.blindead.jp/sick/2008/07/sendmailmc1.html#cd /etc/mail#vi sendmail.mc で内容を修正(#make たぶん make は、自動なので必要ない。)#service sendmail restart で、有効になります。 下が、変更後の mail ログ Nov 23 16:25:49 ns1 sendmail[9800]: NOQUEUE: connect from ool-4b7fecc2.static.optonline.net [75.127.236.194]Nov 23 16:25:57 ns1 sendmail[9800]: qAN7Pnm4009800: AUTH failure (LOGIN): authentication failure (-13) SASL(-13): authentication failure: checkpass failedNov 23 16:25:59 ns1 sendmail[9800]: qAN7Pnm4009800: AUTH failure (LOGIN): authentication failure (-13) SASL(-13): authentication failure: checkpass failedNov 23 16:26:02 ns1 sendmail[9800]: qAN7Pnm4009800: AUTH failure (LOGIN): authentication failure (-13) SASL(-13): authentication failure: checkpass failedNov 23 16:26:04 ns1 sendmail[9800]: qAN7Pnm4009800: AUTH failure (LOGIN): authentication failure (-13) SASL(-13): authentication failure: checkpass failedNov 23 16:26:06 ns1 sendmail[9800]: qAN7Pnm4009800: AUTH failure (LOGIN): authentication failure (-13) SASL(-13): authentication failur

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

saslauthd pam acct error
Saslauthd Pam Acct 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 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 pop login Wanted the user to authenticate as user domain tld instead of user-domain tld or user domain tld Some research on

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 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