Hello,

I'm running qmail for a long time without any problems.
Now I should run qbiff for a couple of users, but
without success. Diging in the source I found this:

        if (!(st.st_mode & 0100)){
                close (fdtty);
                continue;
        }

I'm not a C programmer, so please tell me what this
means ? As far as I can read it, in st.st_mode is
stored mode of respective tty line. In my case this
is /dev/ttyp0 wich mode is 20620. (20620 & 0100) is
0, so fdtty gets closed and qbiff doesn't send notify.
Is this mean, that in order to receive notifications
about incoming mails I must set all my tty's in
mode 700 ? Why ?
Please feel free to correct me if I'm totally wrong.
And excuse my poor english ;-)

Thank you for your time.

-- 
        =- --rw------- =--=--=--=--=--=--=--=--=--=--=--=--=--=
          Theodor Milkov           Administrator IP Networks
          Davidov Electric Ltd.    Phone: +359 (2) 730158
          PGP: http://www.zimage.delbg.com/zimage.pkr
        =--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=

Reply via email to