RE: smtp auth
"Jays" <jays-JH+uNrmeKlFfnQLbYkrkMZ7PR6L3/[email protected]>
| Newsgroups | gmane.mail.postfix.user.indonesian |
|---|---|
| Message-ID | <003d01c432b5$b41c7610$0600000a@jays022004> |
> -----Original Message----- > From: postfix-users-bounces-7kn/[email protected] > [mailto:postfix-users-bounces-7kn/[email protected]]On Behalf Of I > Gede Wijaya S > Sent: Tuesday, May 04, 2004 12:41 PM > To: postfix-users-7kn/[email protected] > Subject: Re: [postfix-users] smtp auth > > > On Tue, May 04, 2004 at 02:46:01PM -0700, Jays wrote: > > Hi all, > > > > saya coba mengaktifkan smtp auth dgn sasl. > > tapi saya coba telnet hasilnya spt ini. > > > > saya pake authsasl -> mysql. (dari techie.org) > > pls help....knapa failed. > > > > --------------------- > > Connected to localhost. > > Escape character is '^]'. > > 220 xxx.co.id ESMTP Postfix > > ehlo gue.com > > 250-xxx.co.id > > 250-PIPELINING > > 250-SIZE 1024000000 > > 250-ETRN > > 250-AUTH LOGIN PLAIN DIGEST-MD5 CRAM-MD5 > > 250-AUTH=LOGIN PLAIN DIGEST-MD5 CRAM-MD5 > > 250-XVERP > > 250 8BITMIME > > auth mysql dGVzdABqYXlzQGluZm8uZ3VuYW51c2EuY28uaWRT > > 535 Error: authentication failed > > quit > > 221 Bye > > Connection closed by foreign host. > coba pada /etc/postfix/master.cf, edit baris pertama (yang tanpa > komentar) menjadi: > smtp inet n - n - - smtpd -v > > -v di akhir itu untuk menyatakan "verbose", atau "keterangan lebih > lengkap". Keterangan ini yang di tampilkan di log. misal log mail anda > di /var/log/mail.log, maka sebelum menjalankan test autentikasi, > jalankan: > shell$ tail -f /var/log/mail.log > > perhatikan keterangan di log tersebut untuk mengetahui bagian > mana yang > salah. Semoga membantu > > saya sudah mencoba -v pada master.cf di bawah ini ada baris : May 5 08:18:48 info postfix/smtpd[17646]: warning: SASL authentication failure: Can only find author/en (no password) apa ini masalahnya....tapi penyebabnya apa dan bagaimana resolve nya??? pls help.... ./jays ini log nya: May 5 08:18:28 info postfix/smtpd[17646]: connect from unknown[10.0.0.6] May 5 08:18:28 info postfix/smtpd[17646]: > unknown[10.0.0.6]: 220 mx1.info.xyz.co.id ESMTP Postfix May 5 08:18:28 info postfix/smtpd[17646]: watchdog_pat: 0x80b0698 May 5 08:18:39 info postfix/smtpd[17646]: < unknown[10.0.0.6]: ehlo info.xyz.co.id May 5 08:18:39 info postfix/smtpd[17646]: > unknown[10.0.0.6]: 250-mx1.info.xyz.co.id May 5 08:18:39 info postfix/smtpd[17646]: > unknown[10.0.0.6]: 250-PIPELINING May 5 08:18:39 info postfix/smtpd[17646]: > unknown[10.0.0.6]: 250-SIZE 1024000000 May 5 08:18:39 info postfix/smtpd[17646]: > unknown[10.0.0.6]: 250-ETRN May 5 08:18:39 info postfix/smtpd[17646]: > unknown[10.0.0.6]: 250-AUTH LOGIN PLAIN DIGEST-MD5 CRAM-MD5 May 5 08:18:39 info postfix/smtpd[17646]: > unknown[10.0.0.6]: 250-AUTH=LOGIN PLAIN DIGEST-MD5 CRAM-MD5 May 5 08:18:39 info postfix/smtpd[17646]: match_hostname: unknown ~? 127.0.0.0/8 May 5 08:18:39 info postfix/smtpd[17646]: match_hostaddr: 10.0.0.6 ~? 127.0.0.0/8 May 5 08:18:39 info postfix/smtpd[17646]: match_hostname: unknown ~? 202.158.28.0/28 May 5 08:18:39 info postfix/smtpd[17646]: match_hostaddr: 10.0.0.6 ~? 202.158.28.0/28 May 5 08:18:39 info postfix/smtpd[17646]: match_hostname: unknown ~? 10.0.0.0/24 May 5 08:18:39 info postfix/smtpd[17646]: match_hostaddr: 10.0.0.6 ~? 10.0.0.0/24 May 5 08:18:39 info postfix/smtpd[17646]: > unknown[10.0.0.6]: 250-XVERP May 5 08:18:39 info postfix/smtpd[17646]: > unknown[10.0.0.6]: 250 8BITMIME May 5 08:18:39 info postfix/smtpd[17646]: watchdog_pat: 0x80b0698 May 5 08:18:48 info postfix/smtpd[17646]: < unknown[10.0.0.6]: AUTH PLAIN amF5c0BpbmZvLmd1bmFudXNhLmNvLmlkAGpheXNAaW5mby5ndW5hbnVzYS5jby5pZFM= May 5 08:18:48 info postfix/smtpd[17646]: smtpd_sasl_authenticate: sasl_method PLAIN, init_response amF5c0BpbmZvLmd1bmFudXNhLmNvLmlkAGpheXNAaW5mby5ndW5hbnVzYS5jby5pZFM= May 5 08:18:48 info postfix/smtpd[17646]: smtpd_sasl_authenticate: decoded initial response jays-bm32o4Xm90wEKECqDok/[email protected] May 5 08:18:48 info postfix/smtpd[17646]: warning: SASL authentication failure: Can only find author/en (no password) May 5 08:18:48 info postfix/smtpd[17646]: warning: unknown[10.0.0.6]: SASL PLAIN authentication failed May 5 08:18:48 info postfix/smtpd[17646]: > unknown[10.0.0.6]: 535 Error: authentication failed May 5 08:18:49 info postfix/smtpd[17646]: watchdog_pat: 0x80b0698 May 5 08:18:52 info postfix/smtpd[17646]: < unknown[10.0.0.6]: quit May 5 08:18:52 info postfix/smtpd[17646]: > unknown[10.0.0.6]: 221 Bye May 5 08:18:52 info postfix/smtpd[17646]: disconnect from unknown[10.0.0.6] May 5 08:18:52 info postfix/smtpd[17646]: master_notify: status 1 May 5 08:18:52 info postfix/smtpd[17646]: connection closed May 5 08:18:52 info postfix/smtpd[17646]: watchdog_stop: 0x80b0698 May 5 08:18:52 info postfix/smtpd[17646]: watchdog_start: 0x80b0698 May 5 08:19:04 info postfix/smtpd[17646]: proxymap stream disconnect May 5 08:19:04 info postfix/smtpd[17646]: watchdog_stop: 0x80b0698 May 5 08:19:04 info postfix/smtpd[17646]: watchdog_start: 0x80b0698