Re: Re[2]: [PHP-DEV] sendmail_from in linux installation

2001-12-14 Thread Alexander Wagner
Javier Crespo wrote: > > if you omit the 4th argument, it's your MAIL TRANSFER AGENT (i.e. > > qmail, sendmail, exim, ...) which puts in the [EMAIL PROTECTED] and > > not PHP. have a look at your MTA's manual for this problem. > > I know, And that's my problem. All mail is sent by nobody (this is

Re: Re[2]: [PHP-DEV] sendmail_from in linux installation

2001-12-14 Thread Javier Crespo
>> I don't understand this. I can set headers in fourth argument to mail >> function so I can send >> mail("[EMAIL PROTECTED]","Hello","msgbody","From:spammer") >> If user does not set 4th argumment mail is sent with from >> [EMAIL PROTECTED] > > if you omit the 4th argument, it's your MAIL TRAN

Re: [PHP-DEV] sendmail_from in linux installation

2001-12-14 Thread Derick Rethans
Hello, mail has a 5th param, that one works, like: mail ("[EMAIL PROTECTED]", "Subject", "Body", "From: [EMAIL PROTECTED]", "[EMAIL PROTECTED]"); will make the mail come from [EMAIL PROTECTED] Derick On Fri, 14 Dec 2001, Sander Roobol wrote: > > > The "from" in your mail header therefore com

Re[2]: [PHP-DEV] sendmail_from in linux installation

2001-12-14 Thread Daniel Lorch
hi, > I don't understand this. I can set headers in fourth argument to mail > function so I can send > mail("[EMAIL PROTECTED]","Hello","msgbody","From:spammer") > If user does not set 4th argumment mail is sent with from [EMAIL PROTECTED] if you omit the 4th argument, it's your MAIL TRANSFER AG

Re: [PHP-DEV] sendmail_from in linux installation

2001-12-14 Thread Sander Roobol
> > The "from" in your mail header therefore comes from your mail transfer > > agent and has little to do with PHP. therefore you have to look for > > this problem there. > > I don't understand this. I can set headers in fourth argument to mail > function so I can send > mail("[EMAIL PROTECTED]","

Re: [PHP-DEV] sendmail_from in linux installation

2001-12-14 Thread Javier Crespo
Daniel Lorch wrote: > on un*x, PHP passes your mails directly to sendmail/qmail/exim or whatever > mail software is running on your machine. if you're using windows, PHP > uses it's own SMTP function instead. that's the difference. > > The "from" in your mail header therefore comes from your mai

Re: [PHP-DEV] sendmail_from in linux installation

2001-12-14 Thread Daniel Lorch
hi, > I would like to include sendmail_from directive in the apache's virtual > server configuration in order to fix the from field in mail sent by our > sendmail server via php and perharps to trace in system logs. this directive doesn't isn't meant do be doing that. it's only for error message

[PHP-DEV] sendmail_from in linux installation

2001-12-14 Thread Javier Crespo
Hi All: We are serving some virtual domains at dsland.org and found with a problem concerning the limitation of to prevent/track mail sent by our users. I would like to include sendmail_from directive in the apache's virtual server configuration in order to fix the from field in mail sent by o