Dear all
balik lagi nih :)
masih berhubungan antara postfix dan qmail, saat ini saya mencoba instal
postfix support mysql, tujuannya untuk menquery table vpopmail pada mesin
qmail, agar saya tidak kerepotan tambah2 virtual user ke postfix :)
saat ini saya telah melakukan konfigurasi seperti :

main.cf
relay_recipient_maps =
 mysql:/etc/postfix/vpopmail-users.cf
 mysql:/etc/postfix/vpopmail-domains.cf

dan vpopmail-users.cf dan vpopmail-domains.cf yg mungkin isinya masih
"ngawur", maklum masih coba2.
$ cat vpopmail-users.cf

user = postfix
password = secret
hosts = ip.qmail
dbname = vpopmail
table = vpopmail
select_field = description
where_field = pw_name


$ cat vpopmail-domains.cf

user = postfix
password = secret
hosts = ip.qmail
dbname = vpopmail
table = vpopmail
select_field = description
where_field = pw_domain

yg saya kurang paham pada konfigurasi
vpopmai.-users.cf/vpopmail-domains.cf adalah pada select_field dan
where_field.

dengan konfigurasi di atas, saya coba jalankon postfixnya tp saya
mendapatkan error " Temporary lookup failure"

Feb 21 18:35:27 mangubi postfix/smtpd[12738]: BE873547E7: reject: RCPT
from unknown[202.152.167.67]: 451 <[EMAIL PROTECTED]>: Temporary lookup
failure; from=<[EMAIL PROTECTED]> to=<[EMAIL PROTECTED]> proto=ESMTP
helo=<proxy.olami.net.id>

FYI: saya telah membuat grant for [EMAIL PROTECTED]
dan untuk memastikan saya bisa remote mysqlnya dr mesin postfix saya sudah
coba connect dr mesin postfix

# /usr/local/mysql/bin/mysql --host=202.152.167.68 -upostfix -p vpopmail
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 33803 to server version: 3.23.57-log

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>


mohon pencerahannya

 Wassalam  .^.
          /V\  ---   Y! ID : cl34ns3rv
Duken,-  // \\  |http://person.olami.net.id/~duken /
        /(   )\ +---------------------------------/
         ^^-^^
-== OLAMiNET - Nothing That Not Possible ==-

Reply via email to