LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-16-2005, 02:30 PM   #1
kevinm2
Member
 
Registered: Aug 2004
Distribution: Redhat 7.2
Posts: 73

Rep: Reputation: 15
sendmail error


I seem to have problems with sendmail.

I get an e-mail back

From: Mail Delivery Subsystem
To: nobody@MyServer.MyDomain.com

Subject: Returned mail: see transcript for details

The original message was received at Sat, 16 Jul 2005 10:24:58 -0700
from nobody@localhost

----- The following addresses had permanent fatal errors -----
"jack" <jack@OutsideDomainripnet.com>
(reason: 550 5.1.8 <nobody@MyServer.MyDomain.com> Invalid address)

----- Transcript of session follows -----
... while talking to mx1.OutsideDomain.com.:
>>> MAIL From:<nobody@MyServer.MyDomain.com> SIZE=432
<<< 550 5.1.8 <nobody@MyServer.MyDomain.com> Invalid address
554 5.0.0 Service unavailable

What could cause this?
 
Old 07-16-2005, 03:00 PM   #2
kevinm2
Member
 
Registered: Aug 2004
Distribution: Redhat 7.2
Posts: 73

Original Poster
Rep: Reputation: 15
Why is sendmail sending system mail with the "nobody" account?
 
Old 07-16-2005, 03:15 PM   #3
kevinm2
Member
 
Registered: Aug 2004
Distribution: Redhat 7.2
Posts: 73

Original Poster
Rep: Reputation: 15
Could or should account "nobody" be disabled or deleted?

Please reply.

Last edited by kevinm2; 07-17-2005 at 11:00 AM.
 
Old 07-17-2005, 11:02 AM   #4
kevinm2
Member
 
Registered: Aug 2004
Distribution: Redhat 7.2
Posts: 73

Original Poster
Rep: Reputation: 15
ANy one with any ideas on this thread!
 
Old 07-18-2005, 03:43 PM   #5
kevinm2
Member
 
Registered: Aug 2004
Distribution: Redhat 7.2
Posts: 73

Original Poster
Rep: Reputation: 15
Help Help
 
Old 07-18-2005, 04:24 PM   #6
kevinm2
Member
 
Registered: Aug 2004
Distribution: Redhat 7.2
Posts: 73

Original Poster
Rep: Reputation: 15
How can you control mail from Using the nobody account when sending system emails.?
 
Old 07-18-2005, 04:30 PM   #7
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
kevinm2

Had a dig around the net and found this Link

It's a vBulletin discussion board which probably does'nt relate to you but the problem is the same, seems to stem from the fact that Apache runs as user nobody

Do you have an alias set up for nobody in /etc/mail/aliases ? like this

Code:
nobody:  root
Whether your Apache is running as user nobody I can't say

Don't suppose you have a forum on your web server ?

Best I can find at the moment

Pete
 
Old 07-18-2005, 04:34 PM   #8
kevinm2
Member
 
Registered: Aug 2004
Distribution: Redhat 7.2
Posts: 73

Original Poster
Rep: Reputation: 15
Quote:
Do you have an alias set up for nobody in /etc/mail/aliases ? like this

code:

nobody: root


Whether your Apache is running as user nobody I can't say
I had it and I commented out.

And I have also changed my user and group name of httpd.conf to apache.
 
Old 07-18-2005, 05:11 PM   #9
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
kevinm2

How much of your original post did you edit, you obviously removed your domain

Is <jack@OutsideDomainripnet.com> the way you recieved it

Pete
 
Old 07-18-2005, 05:29 PM   #10
kevinm2
Member
 
Registered: Aug 2004
Distribution: Redhat 7.2
Posts: 73

Original Poster
Rep: Reputation: 15
Thanks for the reply again Pete -

I miss typed on the first post.
"jack" <jack@OutsideDomainripnet.com>

What I get is this:
"jack" <jack@OutsideDomain.com>

That was the question? Correct?
----------------------------------------------------

From: Mail Delivery Subsystem
To: nobody@MyServer.MyDomain.com

Subject: Returned mail: see transcript for details

The original message was received at Sat, 16 Jul 2005 10:24:58 -0700
from nobody@localhost

----- The following addresses had permanent fatal errors -----
"jack" <jack@OutsideDomain.com>
(reason: 550 5.1.8 <nobody@MyServer.MyDomain.com> Invalid address)

----- Transcript of session follows -----
... while talking to mx1.OutsideDomain.com.:
>>> MAIL From:<nobody@MyServer.MyDomain.com> SIZE=432
<<< 550 5.1.8 <nobody@MyServer.MyDomain.com> Invalid address
554 5.0.0 Service unavailable
 
Old 07-18-2005, 05:42 PM   #11
kevinm2
Member
 
Registered: Aug 2004
Distribution: Redhat 7.2
Posts: 73

Original Poster
Rep: Reputation: 15
I forgot to mention this. This happens when i'am sending email throught php shopping cart that our customer is using.

It seems that when system mail is being sent out, it uses whatever name that apache's httpd.conf uses for user and group to send the mail out!
 
Old 07-18-2005, 06:12 PM   #12
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
kevinm2

It's obviously a problem with Apache and php which is way over my head

Sorry I can't be more help

Pete
 
Old 07-18-2005, 06:24 PM   #13
kevinm2
Member
 
Registered: Aug 2004
Distribution: Redhat 7.2
Posts: 73

Original Poster
Rep: Reputation: 15
Pete - Thanks anyway
 
Old 07-19-2005, 02:21 AM   #14
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
kevinm2

Take a look at these options for sendmail.mc

FEATURE(`genericstable',`hash -o /etc/mail/genericstable.db')dnl
GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')dnl

Apparently "genericstable" can rewrite a user name on outgoing mail

Doing some research now will test on my sendmail server see if it works

Pete
 
Old 07-19-2005, 10:42 AM   #15
kevinm2
Member
 
Registered: Aug 2004
Distribution: Redhat 7.2
Posts: 73

Original Poster
Rep: Reputation: 15
Pete I added

FEATURE(`genericstable',`hash -o /etc/mail/genericstable.db')dnl
GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')dnl

and also update my genericstable to have

nobody info@MyDomain.com

But it still didnot work.


Talking to the script people they think, this is a problem with php and sendmail. They are not communicating properly withe achother. So I have to research that.

I would appreciate any feed back. Thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sendmail error.... apenguinlinux Red Hat 0 02-16-2005 04:16 AM
sendmail error adtomar Linux - Networking 0 12-21-2004 09:32 AM
sendmail error 553 5.1.8 error "domain doesnot exist" kevinm2 Linux - Newbie 8 09-16-2004 12:39 AM
sendmail error osiris Linux - Software 0 12-21-2003 02:03 PM
Sendmail Error while sendmail mail palavsachin27 Linux - Networking 1 01-22-2003 04:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration