Hey,

I solved it!

Sendmail was trying to identify [email protected] as a user on the server.

I changed the hostname of the server to another other than a name similar to
the domain name and Voila

Thanks


On Sat, Jul 23, 2011 at 6:16 PM, sanga collins <[email protected]>wrote:

> If [email protected] is the sender, then it looks like sendmail cant
> determine who the sender is correctly. would need more logs and tests to
> confirm
>
> On Sat, Jul 23, 2011 at 3:28 AM, Richard Zulu <[email protected]> wrote:
>
>> Hey,
>>
>> I installed sendmail and php on my webserver since I need my php forms to
>> be able to send email.
>>
>>  Changed my php.ini to point to use sendmail, "/usr/sbin/sendmail",
>> however, when i test the php mail function, it doesnt work.
>>
>> Sendmail says user not known.
>>
>> Check out my mail log below:
>>
>> : p6LHInIe002293: from=www-data, size=103, class=0, nrcpts=1, msgid=<
>> [email protected]>, relay=www-data@localhost
>> Jul 21 20:18:49 fecu sm-mta[2295]: p6LHInok002295: <[email protected]>... *User
>> unknown*
>> Jul 21 20:18:49 fecu sendmail[2293]: p6LHInIe002293: [email protected],
>> ctladdr=www-data (33/33), delay=00:00:00, xdelay=00:00:00, mailer=relay,
>> pri=30103, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1,* stat=User unknown*
>> Jul 21 20:18:49 fecu sm-mta[2295]: p6LHInok002295: from=<
>> [email protected]>, size=103, class=0, nrcpts=0, proto=ESMTP,
>> daemon=MTA-v4, relay=fecu.com [127.0.0.1]
>>
>> Anyone have any ideas?
>>
>>
>> --
>> Richard Zulu
>> gtug lead, Kampala (Uganda)
>> http://kampala.gtugs.org
>>  <http://kampala.gtugs.org>
>> ---------------------------------------------------------
>> There is no place like 127.0.0.1
>>
>>
>>
>> _______________________________________________
>> The Uganda Linux User Group: http://linux.or.ug
>>
>> Send messages to this mailing list by addressing e-mails to:
>> [email protected]
>> Mailing list archives: http://www.mail-archive.com/[email protected]/
>> Mailing list settings: http://kym.net/mailman/listinfo/lug
>> To unsubscribe: http://kym.net/mailman/options/lug
>>
>> The Uganda LUG mailing list is generously hosted by INFOCOM:
>> http://www.infocom.co.ug/
>>
>> The above comments and data are owned by whoever posted them (including
>> attachments if any). The mailing list host is not responsible for them in
>> any way.
>>
>
>
>
> --
> Sanga M. Collins
> Network Engineering
> ~~~~~~~~~~~~~~~~~~~~~~~
> Google Voice: (954) 324-1365
> E- fax: (435) 578 7411
>
> _______________________________________________
> The Uganda Linux User Group: http://linux.or.ug
>
> Send messages to this mailing list by addressing e-mails to:
> [email protected]
> Mailing list archives: http://www.mail-archive.com/[email protected]/
> Mailing list settings: http://kym.net/mailman/listinfo/lug
> To unsubscribe: http://kym.net/mailman/options/lug
>
> The Uganda LUG mailing list is generously hosted by INFOCOM:
> http://www.infocom.co.ug/
>
> The above comments and data are owned by whoever posted them (including
> attachments if any). The mailing list host is not responsible for them in
> any way.
>



-- 
Richard Zulu
gtug lead, Kampala (Uganda)
http://kampala.gtugs.org
<http://kampala.gtugs.org>
---------------------------------------------------------
There is no place like 127.0.0.1
_______________________________________________
The Uganda Linux User Group: http://linux.or.ug

Send messages to this mailing list by addressing e-mails to: [email protected]
Mailing list archives: http://www.mail-archive.com/[email protected]/
Mailing list settings: http://kym.net/mailman/listinfo/lug
To unsubscribe: http://kym.net/mailman/options/lug

The Uganda LUG mailing list is generously hosted by INFOCOM: 
http://www.infocom.co.ug/

The above comments and data are owned by whoever posted them (including 
attachments if any). The mailing list host is not responsible for them in any 
way.

Reply via email to