Mail Server Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationMail Server Help

Closed Thread
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 11th, 2004, 12:07 PM
storemike storemike is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 118 storemike User rank is Lance Corporal (50 - 100 Reputation Level)storemike User rank is Lance Corporal (50 - 100 Reputation Level)storemike User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Day 3 h 4 m 39 sec
Reputation Power: 5
Unrecognized host name Saved message in /root/dead.letter

I just rebuilt sendmail (version 8.12) so I can allow my client to use Outlook and am unable to send mail at all now. When I try to send mail to stinky@boohoo.com (made up email address used only for this posting) from the comand line I get the following error:

Unrecognized host name boohoo.com.
/root/dead.letter... Saved message in /root/dead.letter

This also happens when I try to send mail via a pre-existing (pre-rebuild) alias. It looks like any outside address is not recognized. There are no good clues in the maillog. I've removed the 127.0.0.1 bit in the sendmail.cf file, but that's about it. Can anyone point me in the right direction?

Thanks alot,
Mike

Reply With Quote
  #2  
Old September 14th, 2004, 10:37 AM
storemike storemike is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 118 storemike User rank is Lance Corporal (50 - 100 Reputation Level)storemike User rank is Lance Corporal (50 - 100 Reputation Level)storemike User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Day 3 h 4 m 39 sec
Reputation Power: 5
Aha!!! It had to be something simple. When I rebuilt sendmail, I ran

Code:
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf


but didn't know about the submit.cf file, which sendmail uses when sending mail. So a quick

Code:
m4 /etc/mail/submit.mc > /etc/mail/submit.cf


did the trick. All problems fixed. Php is sending mail just like it used to and the mail command works again, too.

Hope this will save someone else a few days of trying a thousand other things.

Mike

Reply With Quote
Closed Thread

Viewing: Dev Shed ForumsSystem AdministrationMail Server Help > Unrecognized host name Saved message in /root/dead.letter


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway