Removing "-i" option from default sendmail_path

From: Date: Sun, 26 May 2002 18:24:45 +0000
Subject: Removing "-i" option from default sendmail_path
Groups: php.dev 
Request: Send a blank email to php-dev+get-84489@lists.php.net to get a copy of this message
I don't use sendmail, but we may better to consider removing "-i" option from default sendmail_path. Any comments? -- Yasuo Ohgaki ====== from qmail@list.cr.yp.to ======== * Anselm Nehls <anselm@gmx.net> [020525 08:54]:
interesstig. I'm interessted too in the right configuration of php4 to work with qmail. I'm sure my php-configuration was not right to use qmail. I found out by a maildeliveringscript. It functions by my ISP that uses not qmail. But on my local host, that runs qmail the script fails. In both cases the scriptcode was the same.
PHP itself is not right. The developers have shown that they have no interest in the right/intelligent way to do things (esp. WRT email). Moreover, they get all pissy with people who *do* do the right thing. Need proof? [http://bugs.php.net/bug.php?id=15841]
to change that, open /etc/php.ini (or wherever you store your php configuration) and change the value of sendmail_path to sendmail_path = /var/qmail/bin/sendmail -t -i
Why -i?
    67    while ((opt = getopt(argc,argv,"vimte:f:p:o:B:F:EJxb:")) != opteof)
    68      switch(opt) {
    [...]
    75        case 'i': break; /* what an absurd concept */
No undue offense to the poster, but this is the kind of misinformation and inattention to detail that plagues the PHP developer's community. /pg -- Peter Green : Architekton Internet Services, LLC : pcg@ais.cx ------------------------------------------------------------- If you ever drop your keys into a river of molten lava, let 'em go, because, man, they're gone. (Jack Handey)

« previous php.dev (#84489) next »