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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-20-2003, 03:41 PM
|
#1
|
Member
Registered: Feb 2003
Distribution: Slackware 9.0
Posts: 82
Rep:
|
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
|
|
|
06-20-2003, 03:43 PM
|
#2
|
Member
Registered: Aug 2001
Location: New Hampshire, USA
Distribution: Ubuntu 6.06 LTS
Posts: 204
Rep:
|
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
|
|
|
06-20-2003, 03:46 PM
|
#3
|
Member
Registered: Feb 2003
Distribution: Slackware 9.0
Posts: 82
Original Poster
Rep:
|
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.
|
|
|
06-20-2003, 03:50 PM
|
#4
|
Member
Registered: Aug 2001
Location: New Hampshire, USA
Distribution: Ubuntu 6.06 LTS
Posts: 204
Rep:
|
it looks like all you have is your hostname there. Do you have a name like apophis.mydomain.com?
|
|
|
06-20-2003, 03:50 PM
|
#5
|
Member
Registered: Feb 2003
Distribution: Slackware 9.0
Posts: 82
Original Poster
Rep:
|
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.
|
|
|
06-20-2003, 03:53 PM
|
#6
|
Member
Registered: Feb 2003
Distribution: Slackware 9.0
Posts: 82
Original Poster
Rep:
|
And no, I just have a small home network, behind a router
|
|
|
06-20-2003, 05:06 PM
|
#7
|
Member
Registered: Aug 2001
Location: New Hampshire, USA
Distribution: Ubuntu 6.06 LTS
Posts: 204
Rep:
|
try making it apophis.pavel.ath.cx
|
|
|
06-20-2003, 05:18 PM
|
#8
|
Member
Registered: Feb 2003
Distribution: Slackware 9.0
Posts: 82
Original Poster
Rep:
|
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)
|
|
|
06-20-2003, 05:48 PM
|
#9
|
Member
Registered: Aug 2001
Location: New Hampshire, USA
Distribution: Ubuntu 6.06 LTS
Posts: 204
Rep:
|
Do you have a FQDN? You need a fully qualifed domain name for dns/mx use...
|
|
|
All times are GMT -5. The time now is 07:59 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|