Hai milisers,

Server postfix dg virtual mailbox di slackware 10 ini menggunakan smtpd
auth dg sasl2.  Account mailbox virtual domain di mesin ini dicreate
melalui interface postfixadmin, di mana config postfixadmin
menggunakan metode md5crypt untuk create password.

Saat saya coba kirim email dg smtp auth ternyata autentikasinya ditolak.
problemnya rupanya konfigurasi /usr/lib/sasl2/smtpd.conf di bawah ini
belum mendukung metode md5crypt untuk pembacaan field password 

[EMAIL PROTECTED]:log# cat /usr/lib/sasl2/smtpd.conf
pwcheck_method: auxprop
auxprop_plugin: sql
sql_engine: mysql
mech_list: PLAIN LOGIN
sql_hostnames: localhost
sql_user: postfix
sql_passwd: postfix
sql_database: postfix
sql_select: SELECT password FROM mailbox WHERE username = '[EMAIL PROTECTED]'

Sedikit log /var/log/debug (cari lognya ini susah2 gampang, kupikir ada
di /var/log/maillog, rupanya di slackware agak beda):

...sql plugin Parse the username [EMAIL PROTECTED]
...sql plugin try and connect to a host
...sql plugin trying to open db 'postfix' on host 'localhost'
...sql plugin Parse the username [EMAIL PROTECTED]
...sql plugin try and connect to a host
...sql plugin trying to open db 'postfix' on host 'localhost'
...begin transaction
...sql plugin create statement from userPassword admin slackware.org
...sql plugin doing query SELECT password FROM mailbox WHERE username = '[EMAIL 
PROTECTED]';
...sql plugin create statement from cmusaslsecretPLAIN admin slackware.org
...sql plugin doing query SELECT password FROM mailbox WHERE username = '[EMAIL 
PROTECTED];
...commit transaction
...sql plugin Parse the username [EMAIL PROTECTED]
...sql plugin try and connect to a host
...sql plugin trying to open db 'postfix' on host 'localhost'

Sebenarnya metode autentikasi dg sasl2 ini sdh berhasil, asalkan 
password di mysql memakai clear password.

TIA

~yudi




-- 
Unsubscribe: kirim email kosong ke [EMAIL PROTECTED]
Arsip, FAQ, dan info milis di http://linux.or.id/milis
Tidak bisa posting? Baca:
http://linux.or.id/problemmilis
http://linux.or.id/tatatertibmilis

Kirim email ke