[KLUG Members] Mail from PHP

Robert G. Brown members@kalamazoolinux.org
Sun, 18 Apr 2004 16:28:21 -0400


I added a very similar record to the /etc/mail/genericstable, and restarted
sendmail.

This file is not mentioned in send,ail.cf or sendmail.mc.

It doesn't hurt, but it also doesn't seem to help at all.

					Thanks and Regards,
						---> RGB <---

On Sun, 18 Apr 2004 15:50:44 -0400, Matt Scott  wrote:

>On Sun, 2004-04-18 at 14:04, Robert G. Brown wrote:
>> I'm using the php mail() function to send stuff to someone at charter.net, 
>> like this...
>> 
>> mail(someone@charter.net,"Response from the website",$yada_yada,
>>       "From: thewebsite@thewebsotedomain.com");
>> 
>> charter.net rejects it because it's from "apache@localhost.localdomain"
>> 
>> How can that be changed?
>> 
>> 							Regards,
>> 							---> RGB <---
>
>When I was having a similar problem with mail being sent from phpbb I
>added a line something like this to the sendmail generics file in
>/etc/mail.
>
>apache  phpbb@domain.com
>
>That did the job quite nicely.
>
>Matt
>_______________________________________________
>Members mailing list
>Members@kalamazoolinux.org
>