Re: FUD client with virtual domains

2008-06-15 Thread Tornoci Laszlo
Tornoci Laszlo wrote:
 I have been using the FUD client/server for local users for some time 
 successfully. I am planning to introduce virtual domains, and did some 
 testing.
 
 ACL's are ok for local user torlasz and virtual user 
 [EMAIL PROTECTED]:
 localhost.localdomain lam user.torlasz
 torlasz lrswipcda
 anonymous 0
 localhost.localdomain lam [EMAIL PROTECTED]
 [EMAIL PROTECTED] lrswipkxtecda
 anonymous 0
 
 FUD works fine for local user torlasz:
 $ ./fud-client localhost torlasz user.torlasz
 user: torlasz
 mbox: user.torlasz
 Number of Recent 5
 Last read: Mon May 19 20:55:00 2008
 Last arrived: Wed May 21 04:10:10 2008
 
 However, fud times out for the virtual user (line may be wrapped):
 $ ./fud-client localhost [EMAIL PROTECTED] 
 [EMAIL PROTECTED]
 fud-client: request timed out.
 
 FUD responds to local users about virtual mailboxes:
 $ ./fud-client localhost foobar [EMAIL PROTECTED]
 user: foobar
 mbox: [EMAIL PROTECTED]
 Number of Recent 9
 Last read: Thu Jan  1 01:00:00 1970
 Last arrived: Wed May 21 13:44:41 2008

In the meantime I did more tests. The user requesting the FUD info does 
not have to be local to get a response, it just has to have a login name 
which is shorter than 20 chars (including local part, '@' and the domain 
name). If the login name is 20 chars or longer, the request times out. 
This is reproducible and definitely looks like a bug, or at least an 
inappropriate limitation. However, I am not much of a programmer to 
delve into the code to find it. Can anyone help?

Yours: Laszlo

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


FUD client with virtual domains

2008-05-24 Thread Tornoci Laszlo
Hi,

I cannot make FUD to work with virtual domain users. Can someone help me 
with this?

I have been using the FUD client/server for local users for some time 
successfully. I am planning to introduce virtual domains, and did some 
testing.

ACL's are ok for local user torlasz and virtual user 
[EMAIL PROTECTED]:
localhost.localdomain lam user.torlasz
torlasz lrswipcda
anonymous 0
localhost.localdomain lam [EMAIL PROTECTED]
[EMAIL PROTECTED] lrswipkxtecda
anonymous 0

FUD works fine for local user torlasz:
$ ./fud-client localhost torlasz user.torlasz
user: torlasz
mbox: user.torlasz
Number of Recent 5
Last read: Mon May 19 20:55:00 2008
Last arrived: Wed May 21 04:10:10 2008

However, fud times out for the virtual user (line may be wrapped):
$ ./fud-client localhost [EMAIL PROTECTED] 
[EMAIL PROTECTED]
fud-client: request timed out.

FUD responds to local users about virtual mailboxes:
$ ./fud-client localhost foobar [EMAIL PROTECTED]
user: foobar
mbox: [EMAIL PROTECTED]
Number of Recent 9
Last read: Thu Jan  1 01:00:00 1970
Last arrived: Wed May 21 13:44:41 2008

However, the Last read: info is not correct. Am I doing something 
wrong, or is this a bug?

Yours: Laszlo

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html