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 how do I fix this? Thx guys |
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 |
I think I already have that,
Code:
127.0.0.1 localhost.localdomain localhost edit --------- ok I just changed it too Code:
127.0.0.1 localhost.homedomain localhost |
it looks like all you have is your hostname there. Do you have a name like apophis.mydomain.com?
|
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 |
And no, I just have a small home network, behind a router
|
try making it apophis.pavel.ath.cx
|
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)
|
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 12:14 AM. |