In my LAN I am running apache and sendmail.
I use some php scripts to send mails.
I can send mail to hotmail yahoo etc
But when I send mail to some other domains my mails get reject saying sender verify fails.
Because when i send mail using php it use apache@localhost as sender address
How do I change this apache mail address. i mean apache@localhost to email@example.com
some thing like that.
this is my mail headers
Received: from linux.proporta.lk ([22.214.171.124]) by mc6-f39.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Thu, 17 Nov 2005 00:01:06 -0800
Received: from linux (localhost [127.0.0.1] (may be forged))by linux.proporta.lk (8.13.4/8.13.4) with ESMTP id jAH8993x019489for <firstname.lastname@example.org>; Thu, 17 Nov 2005 14:09:09 +0600
Received: (from apache@localhost)by linux (8.13.4/8.13.4/Submit) id jAH899fV019488;Thu, 17 Nov 2005 14:09:09 +0600
X-Mailer: PHPMailer [version 1.73]
X-OriginalArrivalTime: 17 Nov 2005 08:01:06.0990 (UTC) FILETIME=[10639CE0:01C5EB4D]