Re: Removing "-i" option from default sendmail_path

From: Date: Sun, 26 May 2002 19:04:02 +0000
Subject: Re: Removing "-i" option from default sendmail_path
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-84492@lists.php.net to get a copy of this message
Rasmus Lerdorf wrote:
Why? Without -i a single . will terminate a message which is definitely not what we want.
I'm not sure if sendmail treat pipe as usual file or not. I don't have sendmail installed system handy. But I just remember some code using sendmail via pipe only specify "-t" option. (Perl script IIRC) I thought we are better to remove unneeded option, if it is not needed actually. If it is needed for some sendmail, we are better to leave the option as-is, of course. -- Yasuo Ohgaki
-Rasmus On Mon, 27 May 2002, Yasuo Ohgaki wrote:
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) -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php
__________________________________________________ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/

« previous php.dev (#84492) next »