Re: [PHP] sendmail smrsh symlinks not working against php scripts

2007-04-21 Thread dan1
On Fri, April 20, 2007 10:27 am, dan1 wrote: I would simply like the script to be executed, when passed as a symlink as argument, instead of a hardlink. The problem is that when I specify the script to be executed (ecardbounce.php) as being a symlink, in the /etc/aliases like this: ecard-bounce:

Re: [PHP] sendmail smrsh symlinks not working against php scripts

2007-04-20 Thread Richard Lynch
On Fri, April 20, 2007 10:27 am, dan1 wrote: > I would simply like the script to be executed, when passed as a > symlink as > argument, instead of a hardlink. > The problem is that when I specify the script to be executed > (ecardbounce.php) as being a symlink, in the /etc/aliases like this: > ecar

RE: [PHP] sendmail loop

2007-04-20 Thread WeberSites LTD
Would something like this help? http://www.weberdev.com/get_example-4616.html -Original Message- From: John Pillion [mailto:[EMAIL PROTECTED] Sent: Saturday, April 14, 2007 12:54 AM To: php-general@lists.php.net Subject: [PHP] sendmail loop I have a sendmail script that loops through a

Re: [PHP] sendmail smrsh symlinks not working against php scripts

2007-04-20 Thread dan1
However, if I put a hardlink instead of the symlink, all works fine! The permissions of the symlink and the file linekd are all 777. Has anyone already had this problem before, or would anyone have an idea of the cause? smrsh itself may disallow symlinks. Wouldn't surprise me. Why not just us

Re: [PHP] sendmail smrsh symlinks not working against php scripts

2007-04-19 Thread Richard Lynch
On Thu, April 19, 2007 1:33 pm, dan1 wrote: > This is a poor place to find an answer, because the one thing that > stands out is that this is a problem with php, not Sendmail, and this > is > a Sendmail newsgroup not a php newsgroup. Your dangerously outdated > version of php is running and emitt

Re: [PHP] sendmail smrsh symlinks not working against php scripts

2007-04-19 Thread Richard Lynch
On Thu, April 19, 2007 1:23 pm, dan1 wrote: >>> However, if I put a hardlink instead of the symlink, all works >>> fine! >>> The permissions of the symlink and the file linekd are all 777. >>> >>> Has anyone already had this problem before, or would anyone have an >>> idea of >>> the cause? >> >> s

Re: [PHP] sendmail smrsh symlinks not working against php scripts

2007-04-19 Thread dan1
smrsh itself may disallow symlinks. Wouldn't surprise me. Why not just use #!/usr/bin/php -q at the top of your PHP script? Something else to my previous answer. Here is the answer of the sendmail guys. Maybe they are still right? Would PHP have a problem to handle symlinked input files? I ha

Re: [PHP] sendmail smrsh symlinks not working against php scripts

2007-04-19 Thread dan1
However, if I put a hardlink instead of the symlink, all works fine! The permissions of the symlink and the file linekd are all 777. Has anyone already had this problem before, or would anyone have an idea of the cause? smrsh itself may disallow symlinks. Wouldn't surprise me. Why not just us

Re: [PHP] sendmail smrsh symlinks not working against php scripts

2007-04-18 Thread Richard Lynch
On Wed, April 18, 2007 11:20 am, dan1 wrote: > I am trying to forward the e-mails received to one address towards a > php > script, under CentOS 4 (RHEL). > I am trying all I can but nothing does. > > I have edited my /etc/aliases file and added this line. > ecard-bounce: "|/usr/bin/php /etc/smrsh/

Re: [PHP] sendmail loop

2007-04-14 Thread tedd
At 4:54 PM -0600 4/13/07, John Pillion wrote: I have a sendmail script that loops through an array of email addresses. the problem is, the list can sometimes be fairly long, and the page does not finish loading until the loop has completed. Currently, I have the majority of the page loading, inc

Re: [PHP] sendmail loop

2007-04-13 Thread Tijnema !
On 4/13/07, John Pillion <[EMAIL PROTECTED]> wrote: I have a sendmail script that loops through an array of email addresses. the problem is, the list can sometimes be fairly long, and the page does not finish loading until the loop has completed. Currently, I have the majority of the page loadin

RE: [PHP] Sendmail issue

2006-03-02 Thread t20040727 . 1430
> > -Original Message- > > From: Dave Goodchild [mailto:[EMAIL PROTECTED] > > Sent: Thursday, March 02, 2006 1:07 PM > > To: php-general@lists.php.net > > Subject: [PHP] Sendmail issue > > > > > > Hi all, I am trying to trigger a php script by sending an > > email to it. The > > script

Re: [PHP] Sendmail issue

2006-03-02 Thread John Nichel
Dave Goodchild wrote: Hi all, I am trying to trigger a php script by sending an email to it. The script commences with #!/usr/local/bin/php to run as a general cgi, and then proceeds to access the email by opening php://stdin. I get all that. However, I am editing the /etc/aliases file to crea

Re: [PHP] Sendmail issue

2006-03-02 Thread Stut
Dave Goodchild wrote: However, I am editing the /etc/aliases file to create an email alias for the script by inserting the following line: agecon "/|/home/agecon/dm/ac_incomingphp" Shouldn't this read... agecon: "| /home/agecon/dm/ac_incomingphp" I'm not an expert at this stuff, but tha

Re: [PHP] sendmail crash

2005-01-21 Thread Michiel van der Blonk
Hi New results: This problem does not seem to be Smarty related, although it did occur when Smarty tried to read from memory. Probable cause: PEAR was missing a field in the ini file where the email address was defined, which resulted in empty addresses being given to sendmail. Sendmail doesn't re

Re: [PHP] sendmail crash

2005-01-14 Thread Michiel van der Blonk
Hi > > Is the above the ACTUAL email you are sending? Haha. That would be a funny email. No, this is just sample text. The actual email is 8KB and contains no images/attachments. > (I just tried googling the problem but the only thing that seemed > related that I came up with were Michiel posts

Re: [PHP] sendmail crash

2005-01-12 Thread Jochem Maas
Richard Lynch wrote: > Michiel van der Blonk wrote: > ... > > Is the above the ACTUAL email you are sending? > > Or merely a demonstrative sample? > > Cuz, like, if the email you are REALLY sending is *HUGE* then I'd not be > surprised by the messages above... > Richard, what do you consider huge.

Re: [PHP] sendmail crash

2005-01-12 Thread Richard Lynch
Michiel van der Blonk wrote: > I am having a problem with sendmail. It gives me a segfault when I use the > Mail and Mail_Mime package right when I call sendmail. > > I am using the following params > Array > ( > [host] => localhost > [port] => 25 > [auth] => 1 >

Re: [PHP] Sendmail Return-Path

2004-07-27 Thread Enda Nagle - Lists
Hi Justin, I just tried this code: $headers .= "MIME-Version: 1.0\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\n"; $headers .= "From: Webstore <[EMAIL PROTECTED]>\n"; $headers .= "To: $email_address\n"; $headers .= "Bcc: [EMAIL PROTECTED]"; $headers .= "X-Priority: 1\n"; $headers

Re: [PHP] Sendmail Return-Path

2004-07-27 Thread Curt Zirzow
* Thus wrote Enda Nagle - Lists: > Hi Guys, > > I¹m using PHP¹s mail() function on several sites, but have difficulty > sometimes with the mails being tagged as SPAM. > > I want to have the Return-Path set to the site admin, but can¹t see where to > do this. > > I know that it can be done at ser

Re: [PHP] Sendmail Return-Path

2004-07-27 Thread Justin Patrin
On Tue, 27 Jul 2004 22:07:52 +0100, Enda Nagle - Lists <[EMAIL PROTECTED]> wrote: > Hi Guys, > > I¹m using PHP¹s mail() function on several sites, but have difficulty > sometimes with the mails being tagged as SPAM. > > I want to have the Return-Path set to the site admin, but can¹t see where to

Re: [PHP] sendmail vs smpt

2003-12-02 Thread David T-G
Pablo -- ...and then Pablo Gosse said... % % Hi all. I'm curious as to the performance difference between scripts % that use sendmail vs. smtp for their mailing abilities. Using sendmail will almost always be very very much faster because - you're talking to the local machine - you're offl

Re: [PHP] Sendmail Problem

2003-06-15 Thread Don Read
On 10-Jun-2003 Uma Shankari T. wrote: > > Hello, > > I am having some problem in sendmail using this code. > > $MP = "/usr/sbin/sendmail -t -f [EMAIL PROTECTED]"; > > by main server id name..because of this outside mails are bouncing back.. > > Can any one pls tell me where is the prob

Re: [PHP] Sendmail function

2003-01-25 Thread Chris Hewitt
Christian Ista wrote: Hello, A friend would like to know how to check on the server (dedicated) if the function sendmail is enable or not, how ? if not activated how activate ? Thanks, If I understand your question correctly (and I may not): Assuming RedHat linux, then as root "which sendma

[PHP] RE: php/sendmail/apache/linux...

2003-01-24 Thread Bruce Douglas
TED] [mailto:[EMAIL PROTECTED]]On Behalf Of Brian Schmidt Sent: Friday, January 24, 2003 6:04 PM To: [EMAIL PROTECTED] Subject: RE: php/sendmail/apache/linux... On Fri, 24 Jan 2003, Bruce Douglas wrote: > However, as I stated, I'm fairly sure that the Sendmail app is working given >

Re: [PHP] Sendmail Security

2002-12-28 Thread Timothy Hitchens (HiTCHO)
Regardless if mail() takes precautions you should also check input prior to trusting it. Note: If mail does or doesn't if it changes in the future you are covered if you always check. I would suggest a simple addslashes and the (shell/sendmail) will be fine OR better still do an array with a ca

RE: [PHP] Sendmail

2002-12-10 Thread Peter Houchin
check out sendmail.org > -Original Message- > From: Kris [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 11 December 2002 6:03 PM > To: PHP List > Subject: [PHP] Sendmail > > > Hey Guys > > I know this is off subject but you people seem to be the only > people on the net that know anythi

Re: [PHP] Sendmail doesn't send...

2002-06-26 Thread Jason Wong
On Wednesday 26 June 2002 21:52, Nightshade wrote: > [mail function] > SMTP= localhost ;for win32 > only > sendmail_from = [EMAIL PROTECTED];for win32 only > sendmail_path = /usr/sbin/ ;for unix >

Re: [PHP] Sendmail doesn't send...

2002-06-26 Thread Analysis & Solutions
On Wed, Jun 26, 2002 at 03:52:48PM +0200, Nightshade wrote: > SMTP= localhost ;for win32 > sendmail_from = [EMAIL PROTECTED];for win32 only > sendmail_path = /usr/sbin/ ;for unix Try commenting

Re: [PHP] Sendmail doesn't send...

2002-06-26 Thread Chris Hewitt
I don't have the /usr/sbin in mine (I left it at the default blank) and it works. Can an ordinary user send emails to the destinations you are trying to get to with PHP? If not, then you have a sendmail configuration issue. HTH Chris Nightshade wrote: >[mail function] >SMTP

Re: [PHP] Sendmail doesn't send...

2002-06-26 Thread Nightshade
Adi wrote: > Look in var/log/maillog or similar for errors > > - Original Message - > From: "Nightshade" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, June 26, 2002 3:18 PM > Subject: [PHP] Sendmail doesn't send... > [mail function] SMTP= lo

Re: [PHP] Sendmail doesn't send...

2002-06-26 Thread adi
Look in var/log/maillog or similar for errors - Original Message - From: "Nightshade" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 26, 2002 3:18 PM Subject: [PHP] Sendmail doesn't send... > Hi, that's my configuration: > I've Mdk 8.2 > Today I've installed sendmail

Re: [PHP] sendmail return-path (not 4 newbies)

2002-05-03 Thread Stuart Dallas
On 3 May 2002 at 12:48, Anthony Rodriguez wrote: > PROBLEM > > When a php script uses mail() and sendmail, if the e-mail address is > not right, the e-mail is returned to the envelope sender (the hosting > provider), NOT to the "From", "Reply-To", "Return-Path", or any other > additional headers

Re: [PHP] Sendmail 8.10.2 headers

2002-04-08 Thread Jason Wong
On Monday 08 April 2002 15:44, Anthony Rodriguez wrote: > As you may know, headers included in the 4th argument of PHP's mail() are > sent to the outgoing mail server. > > What header(s) can I send to sendmail 8.10.2 (running under Linux Redhat > 6.2) in order for invalid e-mails be returned to my

Re: [PHP] Sendmail, I've had enough of it!

2002-02-22 Thread James Taylor
plication (ezmlm > handles the PHP mailing lists). > > goto: http://cr.yp.to/qmail.html > > -Original Message- > From: Anas Mughal [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 22, 2002 1:41 PM > To: Liam MacKenzie; [EMAIL PROTECTED] > Subject: Re: [PHP

RE: [PHP] Sendmail, I've had enough of it!

2002-02-22 Thread Rick Emery
Message- From: Anas Mughal [mailto:[EMAIL PROTECTED]] Sent: Friday, February 22, 2002 1:41 PM To: Liam MacKenzie; [EMAIL PROTECTED] Subject: Re: [PHP] Sendmail, I've had enough of it! I had suffered a little bit with sendmail myself last week. It took me some reading, and I got it workin

Re: [PHP] Sendmail, I've had enough of it!

2002-02-22 Thread Anas Mughal
I had suffered a little bit with sendmail myself last week. It took me some reading, and I got it working the second day. Here is a useful link: http://www.samag.com/documents/s=1168/sam0002f/0002f.htm Also, check out the book titled "Essential System Administration". That should be all you nee

Re: [PHP] Sendmail and setting From

2002-02-19 Thread Todd Cary
Greg - Many thanks! That is what I am doing now and I was hoping that I could do the same in Linux as I do with the NT server: have a default in a conf file. Todd -- Dr. Todd Cary Ariste Software 707-773-4523 [EMAIL PROTECTED] "It is a worthy thing to fight for one's freedom; it is another s

Re: [PHP] Sendmail and setting From

2002-02-19 Thread Greg Donald
> On careful reading of the php.ini file, I now realize that the settings > for the "From" is for WIN32 *only*. So, as a newbie to the world or > Linux/Unix, I am not sure where I place the setting for the default > "From". I can add it as the fourth argument in the mail() function, but > I woul

Re: [PHP] Sendmail and setting From

2002-02-18 Thread Todd Cary
Greg - On careful reading of the php.ini file, I now realize that the settings for the "From" is for WIN32 *only*. So, as a newbie to the world or Linux/Unix, I am not sure where I place the setting for the default "From". I can add it as the fourth argument in the mail() function, but I would

Re: [PHP] Sendmail and setting From

2002-02-18 Thread Greg Donald
> I have RH 7.2 with Apache and PHP. The mail() function in PHP worked > out of the box!! Fantastic! The setting in the php.ini is being over > written with Apache. > > Where can I change the setting? What setting is being overwritten by apache? the mta setting? On my RH 7.2 box, my php.ini i

Re: [PHP] Sendmail, I've had enough of it!

2002-02-18 Thread Liam MacKenzie
y" <[EMAIL PROTECTED]> To: "'Liam MacKenzie'" <[EMAIL PROTECTED]> Sent: Tuesday, February 19, 2002 2:04 AM Subject: RE: [PHP] Sendmail, I've had enough of it! > Liam, > > I, too, am trying to set-up sendmail on my RH 7.0 Linux. I can't e

Re: [PHP] Sendmail & PHP

2002-02-17 Thread Liam MacKenzie
- Original Message - From: "-BD-" <[EMAIL PROTECTED]> To: "Liam MacKenzie" <[EMAIL PROTECTED]> Sent: Sunday, February 17, 2002 11:01 PM Subject: Re: [PHP] Sendmail & PHP > it's operationenigma.net, not operationengima.net, isn't it? > c

Re: [PHP] Sendmail

2002-01-28 Thread Jeff Van Campen
>The system have to send mail automatically to the username stored in >mysql table.I am having the details of usermailid,date.By using php script >how do i go about with this To send the mail, use the mail function: http://www.php.net/manual/en/function.mail.php -- PHP General Mailing Lis

Re: [PHP] sendmail administration api?

2001-07-30 Thread Chris Fry
There's one included in Webmin:- http://www.webmin.com/webmin Chris Christopher Cheng wrote: > Does anybody know any Sendmail Administration API for PHP? > > Thanks > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-

Re: [PHP] Sendmail

2001-03-25 Thread Atet Sugiharto
Dear All, I put the code like this : Email Thank you for your input\n"; } else{ echo "Error \n"; } ?> I've try to put this code to another server and it's work. I really lost to figure out what's wrong with my configuration (I'm new in PHP too..)

Re: [PHP] Sendmail

2001-03-25 Thread Chris Anderson
it would help if you showed a snippet of your mail code - Original Message - From: "Atet Sugiharto" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, March 24, 2001 1:49 AM Subject: [PHP] Sendmail > Hi , > > I'm at a lossI've searched throught the knowledgebase, archives, d

RE: [PHP] sendmail

2001-03-16 Thread Marius Kirschner
March 16, 2001 11:41 AM > To: Marius Kirschner; [EMAIL PROTECTED] > Subject: RE: [PHP] sendmail > > > Do you have the switches for sendmail in your path? > > Our installs have: /usr/sbin/sendmail -t -i for the path information... > > Sincerely, > > Robert T. C

RE: [PHP] sendmail

2001-03-16 Thread Robert Covell
Do you have the switches for sendmail in your path? Our installs have: /usr/sbin/sendmail -t -i for the path information... Sincerely, Robert T. Covell President / Owner Rolet Internet Services, LLC Web: www.rolet.com Email: [EMAIL PROTECTED] Phone: 816.210.7145 Fax: 816.753.1952 -Original

Re: [PHP] Sendmail User ID

2001-01-18 Thread Yurais Fernández Leal
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ok I solved the problem I put a user on the trusted class of the sendmail and added -f otheruser in the php.ini file... thanks everyone -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.8 for non-commercial use iQA/AwUBOm

Re: [PHP] Sendmail User ID

2001-01-18 Thread Yurais Fernández Leal
ot;Robert Hough" <[EMAIL PROTECTED]> To: "Yurais Fernandez Leal" <[EMAIL PROTECTED]> Sent: Thursday, January 18, 2001 5:54 PM Subject: Re: [PHP] Sendmail User ID > On Thu, 18 Jan 2001, Yurais Fernandez Leal wrote: > > > But the mails are been sent as nobody@webs

Re: [PHP] Sendmail User ID

2001-01-18 Thread Egan
On Thu, 18 Jan 2001 13:50:56 -0500, Yurais Fernández Leal <[EMAIL PROTECTED]> wrote: >The problem is, yes, I know that in the remote mail client the mail >appears as if sent from [EMAIL PROTECTED], but in the sendmail >connection, for example the Return-Path is set to the UID of the web >server,

Re: [PHP] Sendmail User ID

2001-01-18 Thread Yurais Fernández Leal
riginal Message - From: "Andrew Rush" <[EMAIL PROTECTED]> To: "Yurais Fernandez Leal" <[EMAIL PROTECTED]> Sent: Thursday, January 18, 2001 12:22 PM Subject: Re: [PHP] Sendmail User ID > > On Thursday, January 18, 2001, at 12:05 PM, Yurais Fernandez Le

Re: [PHP] Sendmail User ID

2001-01-18 Thread Julia A . Case
$mailsent = mail("[EMAIL PROTECTED]", "Subject", $mesg, "From: [EMAIL PROTECTED]\n") Try this, Julia Quoting Yurais Fernandez Leal ([EMAIL PROTECTED]): > > Hi > > I have a web site that sends virtual greetings cards > > But the mails are been sent as nobody@webserver > > nobody is