I have installed netqmail-1.04 + vpopmail 5.2.2 (with --enable-mysql=y,
--enable-roaming-users=y) and mysql-4.0.16.
Everything works fine except relay.
When I use my pop3 client, vpopmail update the lastauth and vmail tables,
but the remote_ip field still empty (remote_ip: ""). In my mysql log file
(how you can see below) I can see that my vpopmail and mysql servers can
talk, and the query sql to update the vmail and lastauth have remote_ip="".

And, when I tried to send message from that IP, I recieve the classic 553

In ~vpopmail/etc/tcp.smtp I have:

127.:allow,RELAYCLIENT="".,RELAYCLIENT="" (the IP of my qmail server).

In mysql databases I have something like:

mysql> select * from lastauth
*************************** 1. row ***************************
user: test
domain: hostname.domain.com
remote_ip: ""
timestamp: 1071342609
1 row in set (0.00 sec)

mysql> select * from relay
Empty set (0.00 sec)

My mysql log file shows:

031213 17:10:09 12 Connect [EMAIL PROTECTED] on vpopmail
12 Query select pw_name, pw_passwd, pw_uid,
pw_gid, pw_gecos, pw_dir, pw_shell from hostname.domain.com where pw_name =
12 Query INSERT INTO vlog set user="test",
domain="hostname.domain.com", logon="test", remoteip="", message="vchkpw:
login success [EMAIL PROTECTED]:", error=2,
12 Query replace into lastauth set user="test",
domain="hostname.domain.com", remote_ip="", timestamp=1071342609
12 Query select ip_addr from relay
12 Quit

What can I do to fix this problem?

Any help, ideas???



Reply via email to