LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-20-2003, 03:41 PM   #1
hydro
Member
 
Registered: Feb 2003
Distribution: Slackware 9.0
Posts: 82

Rep: Reputation: 15
Sendmail not sending emails, errorlog


I just reinstalled it and now I cant send emails :/


I tried sending a email to pshamilov@yahoo.com from my box and this is the errorlog

Code:
Jun 20 16:35:20 localhost sendmail[31459]: My unqualified host name (Apophis) unknown; sleeping for retry
Jun 20 16:36:20 localhost sendmail[31459]: unable to qualify my own domain name (Apophis) -- using short name
Jun 20 16:36:20 localhost sendmail[31459]: h5KKaKNW031459: from=root@Apophis, size=983, class=0, nrcpts=1, msgid=<200306202036.h5KKaKNW031459@Apophis>, relay=root@localhost
Jun 20 16:36:20 localhost sendmail[31459]: h5KKaKNW031459: to=pshamilov@yahoo.com, ctladdr=root@Apophis (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30218, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Apophis = System host name

how do I fix this?
Thx guys
 
Old 06-20-2003, 03:43 PM   #2
nuzzy
Member
 
Registered: Aug 2001
Location: New Hampshire, USA
Distribution: Ubuntu 6.06 LTS
Posts: 204

Rep: Reputation: 31
edit your /etc/hosts file so you have this, i.e.:

192.168.1.1 hostname.domainname hostname


Just change to your ip, hostname and domainname

BTW..I didn't do it here, but I tab after each entry
 
Old 06-20-2003, 03:46 PM   #3
hydro
Member
 
Registered: Feb 2003
Distribution: Slackware 9.0
Posts: 82

Original Poster
Rep: Reputation: 15
I think I already have that,

Code:
127.0.0.1       localhost.localdomain   localhost
192.168.0.3     Apophis
192.168.0.2     comp-paul
192.168.0.3 is the ip

edit
---------
ok I just changed it too

Code:
127.0.0.1       localhost.homedomain    localhost
192.168.0.3     Apophis.homedomain      Apophis
192.168.0.5     comp-paul.homedomain    comp-paul
is that good enough?

Last edited by hydro; 06-20-2003 at 03:49 PM.
 
Old 06-20-2003, 03:50 PM   #4
nuzzy
Member
 
Registered: Aug 2001
Location: New Hampshire, USA
Distribution: Ubuntu 6.06 LTS
Posts: 204

Rep: Reputation: 31
it looks like all you have is your hostname there. Do you have a name like apophis.mydomain.com?
 
Old 06-20-2003, 03:50 PM   #5
hydro
Member
 
Registered: Feb 2003
Distribution: Slackware 9.0
Posts: 82

Original Poster
Rep: Reputation: 15
well I do have pavel.ath.cx pointing to my external ip


after the revision i get

Code:
Jun 20 16:51:50 localhost sendmail[31956]: h5KKpne9031956: from=root@Apophis.homedomain, size=360, class=0, nrcpts=1, msgid=<200306202051.h5KKpne9031956@Apophis.homedomain>, relay=root@localhost
Jun 20 16:51:50 localhost sendmail[31956]: h5KKpne9031956: to=pshamilov@yahoo.com, ctladdr=root@Apophis.homedomain (0/0), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30210, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]

Last edited by hydro; 06-20-2003 at 03:52 PM.
 
Old 06-20-2003, 03:53 PM   #6
hydro
Member
 
Registered: Feb 2003
Distribution: Slackware 9.0
Posts: 82

Original Poster
Rep: Reputation: 15
And no, I just have a small home network, behind a router
 
Old 06-20-2003, 05:06 PM   #7
nuzzy
Member
 
Registered: Aug 2001
Location: New Hampshire, USA
Distribution: Ubuntu 6.06 LTS
Posts: 204

Rep: Reputation: 31
try making it apophis.pavel.ath.cx
 
Old 06-20-2003, 05:18 PM   #8
hydro
Member
 
Registered: Feb 2003
Distribution: Slackware 9.0
Posts: 82

Original Poster
Rep: Reputation: 15
did that no go, I set it up to relay to my isp, but the log shows the same doest relay even though it was set up properly( I think, webmin shows the isp in its options so I guess it did)
 
Old 06-20-2003, 05:48 PM   #9
nuzzy
Member
 
Registered: Aug 2001
Location: New Hampshire, USA
Distribution: Ubuntu 6.06 LTS
Posts: 204

Rep: Reputation: 31
Do you have a FQDN? You need a fully qualifed domain name for dns/mx use...
 
  


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
Sending automated emails Wynd Linux - Software 6 10-25-2005 11:03 PM
Sending Emails Dragons_Way Linux - Software 2 03-09-2005 02:53 AM
qmail not sending emails lsimon4180 Linux - Software 1 10-18-2004 11:35 PM
sending/recieving emails with sendmail xushi Slackware 2 02-25-2004 04:44 PM
help with sending html emails pdelucia Linux - General 1 09-13-2003 11:06 AM

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

All times are GMT -5. The time now is 02:17 AM.

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