php3-list | 200003

Re: [PHP3] Qmail and mail() From: Jesper Hess Nielsen (jesper <email protected>)
Date: 03/21/00

Hmmm after restarting qmail, I get this in /tmp/somefile :

18950 --- SIGTTIN (Stopped (tty input)) ---
18950 --- SIGTTIN (Stopped (tty input)) ---
18950 read(0, 0x8053620, 8192) = ? ERESTARTSYS (To be restarted)
18950 --- SIGTTIN (Stopped (tty input)) ---
18950 --- SIGTTIN (Stopped (tty input)) ---
18950 read(0, 0x8053620, 8192) = ? ERESTARTSYS (To be restarted)
18950 --- SIGTTIN (Stopped (tty input)) ---
18950 --- SIGTTIN (Stopped (tty input)) ---
18950 read(0, 0x8053620, 8192) = ? ERESTARTSYS (To be restarted)
18950 --- SIGTTIN (Stopped (tty input)) ---
18950 --- SIGTTIN (Stopped (tty input)) ---
18950 read(0, 0x8053620, 8192) = ? ERESTARTSYS (To be restarted)
18950 --- SIGTTIN (Stopped (tty input)) ---
18950 --- SIGTTIN (Stopped (tty input)) ---

and it just keeps coming and coming and co.....

Any ideas?

/Jesper
----- Original Message -----
From: tc lewis <tim <email protected>>
To: Jesper Hess Nielsen <jesper <email protected>>
Cc: <php3 <email protected>>
Sent: Monday, March 20, 2000 11:54 PM
Subject: Re: [PHP3] Qmail and mail()

>
> hmm, maybe even try restarting qmail and apache after that, as ridiculous
> as it sounds. hmm i'm not sure. my method of debugging to actually find
> that error consisted of changing php's mail function to "strace -f -o
> /tmp/somefile /usr/sbin/sendmail -t" or something along those lines. try
> that, perhaps, and see what shows up in /tmp/somefile after a test mail().
>
> -tcl.
>
>
> On Mon, 20 Mar 2000, Jesper Hess Nielsen wrote:
>
> > I tried changing the permissions on /root but get the same error...
> >
> > Information like "You shouldn't use xxx - use yyy instead" are useless
to
> > me. I'm running qmail and that's that. And PHP should be able to
function
> > with Qmail - so that's what I'm looking for.
> >
> > /Jesper
> >
> > ----- Original Message -----
> > From: tc lewis <tim <email protected>>
> > To: Chris Mauritz <ritz <email protected>>
> > Cc: Jesper Hess Nielsen <jesper <email protected>>; <php3 <email protected>>
> > Sent: Monday, March 20, 2000 11:38 PM
> > Subject: Re: [PHP3] Qmail and mail()
> >
> >
> > >
> > > well it shouldn't be looking for /root/.lists unless qmail-inject is
> > > running as root (ie: root is sending a mail). "nobody" (webserver
user)
> > > should be sending the mail. i'm not really sure where the problem
lies
> > > exactly.
> > >
> > > personally i think qmail is superb, but that discussion shall be
reserved
> > > for another list. =)
> > >
> > > -tcl.
> > >
> > >
> > > On Mon, 20 Mar 2000, Chris Mauritz wrote:
> > >
> > > > I forget why, but I believe Dan does this on purpose. I've actually
> > stopped
> > > > using qmail and have standardized on posfix. It seems faster for me
and
> > a
> > > > bit easier to configure and care for.
> > > >
> > > > C
> > > > ----- Original Message -----
> > > > From: "tc lewis" <tim <email protected>>
> > > > To: "Jesper Hess Nielsen" <jesper <email protected>>
> > > > Cc: <php3 <email protected>>
> > > > Sent: Monday, March 20, 2000 5:31 PM
> > > > Subject: Re: [PHP3] Qmail and mail()
> > > >
> > > >
> > > > >
> > > > > i once experienced a similar problem and after very very very much
> > time of
> > > > > tracking it down, it turns out qmail-inject was trying to read
> > > > > /root/.lists for some unexplained reason.
> > > > >
> > > > > try this:
> > > > > chmod 711 /root
> > > > >
> > > > > -tcl.
> > > > >
> > > > >
> > > > > On Mon, 20 Mar 2000, Jesper Hess Nielsen wrote:
> > > > >
> > > > > > Hi all
> > > > > >
> > > > > > I still can't get php3s mail() to work with qmail-inject. I get
an
> > error
> > > > in my apache logs saying :
> > > > > >
> > > > > > qmail-inject: fatal: read error
> > > > > >
> > > > > > What can I do to get it to work? It's really important, as I'm
> > > > developing an advanced authentication scheme for my company that
> > involves
> > > > mailing users a session password.
> > > > > >
> > > > > > /Jesper
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > PHP 3 Mailing List <http://www.php.net/>
> > > > > To unsubscribe, send an empty message to
> > php3-unsubscribe <email protected>
> > > > > To subscribe to the digest, e-mail:
> > php3-digest-subscribe <email protected>
> > > > > To search the mailing list archive, go to:
> > > > http://www.php.net/mailsearch.php3
> > > > > To contact the list administrators, e-mail:
> > php-list-admin <email protected>
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > PHP 3 Mailing List <http://www.php.net/>
> > > > To unsubscribe, send an empty message to
php3-unsubscribe <email protected>
> > > > To subscribe to the digest, e-mail:
php3-digest-subscribe <email protected>
> > > > To search the mailing list archive, go to:
> > http://www.php.net/mailsearch.php3
> > > > To contact the list administrators, e-mail:
php-list-admin <email protected>
> > > >
> > > >
> > >
> > >
> > > --
> > > PHP 3 Mailing List <http://www.php.net/>
> > > To unsubscribe, send an empty message to
php3-unsubscribe <email protected>
> > > To subscribe to the digest, e-mail:
php3-digest-subscribe <email protected>
> > > To search the mailing list archive, go to:
> > http://www.php.net/mailsearch.php3
> > > To contact the list administrators, e-mail:
php-list-admin <email protected>
> > >
> > >
> >
> >
> > --
> > PHP 3 Mailing List <http://www.php.net/>
> > To unsubscribe, send an empty message to php3-unsubscribe <email protected>
> > To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
> > To search the mailing list archive, go to:
http://www.php.net/mailsearch.php3
> > To contact the list administrators, e-mail: php-list-admin <email protected>
> >
> >
>
>

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>