On Mon, 14 Feb 2005, Tom Collins wrote:
On Feb 14, 2005, at 12:37 PM, Charles Sprickman wrote:Any ideas?
Are you using replication?
Yes. The master/write server is on the same machine that vpopmail is on, FWIW.
There might be a chance that vpopmail is trying to load the user record so soon after writing it, that the read fails.
I bet you're right. :)
Go into vpopmail.c and look for this:
vsetuserquota (username, domain, quota);
And modify to this:
fprintf (stderr, "vseruserquota returned %s.\n", verror(vsetuserquota(username, domain, quota)));
And we'll find out why it fails.
Here we go:
[EMAIL PROTECTED]/usr/local/src/toaster/vpopmail/vpopmail-5.4.7]# ./vadduser [EMAIL PROTECTED]
Please enter password for [EMAIL PROTECTED]:
enter password again:
vsetuserquota returned User does not exist.
Interesting... So it's getting added, but the read server (which is another box) doesn't get the new user inserted quickly enough, right?
I wonder how widespread this is... My dir_control tables are all completely hosed as well, but I'll save that for another email.
-- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ You don't need a laptop to troubleshoot high-speed Internet: sniffter.com