-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Halo Rekan2

Lagi mau nyoba' nieh. Postfix + mysql + Courier-Imap
Kenapa tiap kali send selalu di tanyai password, untuk MUA selain OE
(kayak netscape dan mozilla), kalau OE bablas aza :

Ini settingan smtpd.conf di /usr/lib/sasl2/smtpd.conf :

pwcheck_method: auxprop
auxprop_plugin: mysql
mysql_user: postfix
mysql_password: password
mysql_host: localhost
mysql_database: postfix
mysql_statement: select password from mailbox where username='[EMAIL PROTECTED]'

Ini postconf -n :

alias_database = dbm:/etc/aliases
alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
hash_queue_depth = 2
home_mailbox = Maildir/
inet_interfaces = all
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
maximal_queue_lifetime = 2d
mydestination = $myhostname, localhost.$mydomain
mydomain = domainku
myhostname = mail.domainku
mynetworks = 178.51.10.0/24, 127.0.0.0/8, 203.xxx.xxx.xxx/32
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.0.16/README_FILES
recipient_delimiter = +
sample_directory = /usr/share/doc/postfix-2.0.16/samples
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
unknown_local_recipient_reject_code = 550
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf,
hash:/var/lib/mailman/data/virtual-mailman
virtual_create_maildirsize = yes
virtual_gid_maps = static:105
virtual_mailbox_base = /home/virtual
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_limit = 0
virtual_mailbox_limit_inbox = no
virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql_virtual_quota_maps.cf
virtual_mailbox_limit_override = yes
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_maildir_extended = yes
virtual_minimum_uid = 73
virtual_overquota_bounce = yes
virtual_transport = virtual
virtual_uid_maps = static:73


Ini log : /var/log/mail/info -- biasa mandrake :)


Mar 11 14:55:35 mail postfix/smtpd[31611]: lost connection after AUTH
from unknown[178.51.10.212]
Mar 11 14:55:35 mail postfix/smtpd[31611]: disconnect from
unknown[178.51.10.212]

Saya cancel -- > masukin password nggak ada yg bener

Ini hasil Telnet : telnet localhost 25

[EMAIL PROTECTED] postfix]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost (127.0.0.1).
Escape character is '^]'.
220 mail.domainku ESMTP Postfix (2.0.16)
EHLO domainku
250-mail.domainku
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-AUTH OTP PLAIN LOGIN GSSAPI SRP DIGEST-MD5 NTLM
250-AUTH=OTP PLAIN LOGIN GSSAPI SRP DIGEST-MD5 NTLM
250-XVERP
250 8BITMIME
quit
221 Bye
Connection closed by foreign host.

Ini Log dari /var/log/mail/warnings

Mar 11 14:53:41 mail postfix/smtpd[31611]: warning:
unknown[178.51.10.212]: SASL NTLM authentication failed
Mar 11 14:53:42 mail postfix/smtpd[31611]: warning: SASL authentication
failure: Password verification failed
Mar 11 14:53:42 mail postfix/smtpd[31611]: warning:
unknown[178.51.10.212]: SASL PLAIN authentication failed
Mar 11 14:53:44 mail postfix/smtpd[31611]: warning:
unknown[178.51.10.212]: SASL LOGIN authentication failed
Mar 11 14:55:21 mail postfix/smtpd[31611]: warning: SASL authentication
failure: no secret in database

Mar 11 15:01:21 mail postfix/smtpd[32451]: warning:
unknown[178.51.10.166]: SASL PLAIN authentication failed
Mar 11 15:01:34 mail postfix/smtpd[32451]: warning: SASL authentication
failure: Password verification failed


Untuk OE nggak di tanyak in apa2, mungkin karena ada perintah ini : broken_sasl_auth_clients = yes

Sudah saya coba restart saslauthd dan reload postfix (kalo nggak yakin
malah tak stop - start )

Sorry jika terlalu banyak ketik .. :)
Atas bantuannya thank's


- -- ~ Anwar Purnomo ~ <[EMAIL PROTECTED]> ~ PGPKeyID: 6589D68F KeyServer: http://pgp.mit.edu

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAUCHP5efRdWWJ1o8RAirMAJ9jd41bb8aRSPJ/a1hyj8OsQpuYugCg40RI
Ce6E/oKS0XD4A4Qy/HWTgbo=
=SQQO
-----END PGP SIGNATURE-----

Reply via email to