Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 19th May 2007, 01:56 PM
whoa Offline
Registered User
 
Join Date: Dec 2006
Posts: 23
550 errors in sendmail

hi everyone!
im trying to setup a mail server. uw-imap works fine (i can retrieve e-mails from an external computer), but trying to send a mail from my server or to my server wont work.
If i try to send an email to let's say admin@mydomain.com, i am given the error '550 Unkown recipient', even though the account exists and is in my virtusertable.
If im trying to send and email from admin@mydomain.com, i am given the error "550 5.7.1 <me@myisp.com>... Relaying denied".
I have been trying to follow a whole bunch of different tutorials on how to setup“sendmail, but i just cant get it right .
Any help would be great !
Reply With Quote
  #2  
Old 19th May 2007, 02:10 PM
lmo Offline
Registered User
 
Join Date: Mar 2007
Posts: 1,047
Post the output of these commands for some clues:
Code:
uname -a
hostname
cat /etc/hosts
cat /etc/sysconfig/network
/sbin/chkconfig --list | grep sendmail
Reply With Quote
  #3  
Old 19th May 2007, 02:20 PM
whoa Offline
Registered User
 
Join Date: Dec 2006
Posts: 23
thanks for your reply

uname -a
Code:
Linux btdig.com 2.6.19-1.2911.fc6 #1 SMP Sat Feb 10 15:16:31 EST 2007 x86_64 x86_64 x86_64 GNU/Linux
hostname
Code:
btdig.com
cat /etc/hosts
Code:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost
btdig.com       btdig.com       btdig
cat /etc/sysconfig/network
Code:
NETWORKING=yes
HOSTNAME=btdig.com
/sbin/chkconfig --list | grep sendmail
Code:
sendmail        0:av    1:av    2:pƄ   3:pƄ   4:pƄ   5:pƄ   6:av
(running swedish language pack, so av would be off and på (or 'pĆ„') is on)
Reply With Quote
  #4  
Old 19th May 2007, 04:13 PM
lmo Offline
Registered User
 
Join Date: Mar 2007
Posts: 1,047
Look again at your /etc/hosts and then look at the man page for hosts
Quote:
For each host a single line should be present with
the following information:

IP_address canonical_hostname [aliases...]
Does it look correct? My first guess is that the man page says that the leftmost entries should be IP_adresses.
Reply With Quote
  #5  
Old 19th May 2007, 04:26 PM
whoa Offline
Registered User
 
Join Date: Dec 2006
Posts: 23
Quote:
Originally Posted by lmo
Look again at your /etc/hosts and then look at the man page for hostsDoes it look correct? My first guess is that the man page says that the leftmost entries should be IP_adresses.
ok, ill try that. the reason why i put the domain name there was because the ip address of the server is dynamic :/

edit:
ok, changed the hosts file to
Code:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       localhost.localdomain localhost
80.217.170.126 btdig.com        btdig
and rebooted. still same problems :/

Last edited by whoa; 19th May 2007 at 04:34 PM.
Reply With Quote
  #6  
Old 19th May 2007, 05:48 PM
lmo Offline
Registered User
 
Join Date: Mar 2007
Posts: 1,047
For local mail, it seems to use the 127.0.0.1 line in /etc/hosts and on mine, I have it *analogous to
Code:
127.0.0.1   btdig.com    localhost.localdomain localhost
And I can type a mail message to root
Code:
mail root
Subject: Hi root
Bla bla bla
.
and then read it with
Code:
mail -u root
Of course, that is just local mail.
By *analogous, I mean instead of btdig.com, on my system it is my hostname.
I don't know whether this would impact mail other than local mail or not.
And just because it works for me, it doesn't mean that it is correct.

Last edited by lmo; 19th May 2007 at 05:53 PM.
Reply With Quote
  #7  
Old 19th May 2007, 06:09 PM
whoa Offline
Registered User
 
Join Date: Dec 2006
Posts: 23
thanks for your help once again!
i tried changing the hosts file to what you suggested, but unfortunately i still got the same problem .
local mail works fine though.
Reply With Quote
Reply

Tags
550, errors, sendmail

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sendmail not processing messages after reboot - possible sendmail bug theedge981 Using Fedora 2 11th January 2009 03:52 AM
.xsession-errors: X Error BadMatch... errors Hlingler Using Fedora 0 8th August 2007 09:28 PM
Update Errors and Errors When Installing New Software fluxxuate Using Fedora 9 25th January 2007 11:22 AM
ldconfig errors (and possibly other errors) kcyanks1 Using Fedora 8 3rd December 2005 09:31 PM


Current GMT-time: 10:41 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat