Thanks This is sorted now. Rgds Dhaval On 02/09/05, JamesBenson <jb@xxxxxxxxxxxxxxxxx> wrote: > > http://php.net/mail > > > > choksi wrote: > > Hi All, > > I have php running over Apache on a debian box. I am tryin to use the > php > > mail function. When i run this command from console (php email.php) it > will > > run and the mail is delivered as it will get the from username from the > > postfix config file but when i run the command from browser it runs > through > > apache it uses the apache user nobody and give me error. > > Can some help with how can i change the from username. > > Sep 2 12:00:11 localhost postfix/smtp[17821]: 3B83A52CF6: to=< > > choksi.dhaval@xxxxxxxxx>, said: 450 <nobody@xxxxxxxxxxxxxxxxxxxxx>: > Sender > > address rejected: Domain not found (in reply to RCPT TO command)) > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Rgds Choksi