Hi, All

I have problem.
E.g. domain test.tst, there are boxes f1 and f2.
dot-qmail files:

test.tst/f1/.qmail:
/var/vpopmail/domains/Y/test.tst/f1/Maildir/
&[EMAIL PROTECTED]

test.tst/f2/.qmail:
/var/vpopmail/domains/Y/test.tst/f2/Maildir/
&[EMAIL PROTECTED]

And I get loop that vdelivermail can't define. While debugging seems like I 
found the problem.
At function
int is_looping(..)
there is lseek(0,0L,SEEK_SET);
and I think that it really don't rewind descriptor 0 to start.
because after checking mail for first line in dot-qmail 
(/var/vpopmail/domains/Y/test.tst/f1/Maildir/)
it continues (even after "lseek") check mail for next line (&[EMAIL PROTECTED]) i.e. 
it doesn't see Delivered-To lines.
system is redhat 7.2

where is the problem? in lseek function or?


Reply via email to