zentara wrote:
Hi, I am trying to get sendmail to send mail on an intranet. For example: I have 192.168.0.1 and 192.168.0.2. SMTP is listening on 192.168.0.2.
On 192.168.0.1 I email "someone@192.168.0.2", and it is placed in /var/spool/mqueue. Then I execute "sendmail -bm" ; but instead of sending the mail, the mail header reports an error : "DNS lookup failure; delivery postponed"
I can use pop, to read mail off of one machine from the other.
What am I missing about sendmail? Is it a route problem?
No. Set up /etc/hosts on both machines if you don't have DNS. Add two lines to both machines hosts file: 192.168.0.1 name1.your.domain 192.168.0.2 name2.your.domain your.domain Now send email to someone@your.domain This particular example I gave you does a little trick: it resolves the domain itself (your.domain) to an IP. If you had DNS you'd use MX records, but without DNS this is the only way to have mailaddresses user@domain.com instead of user@machine.domain.com -- Michael Hasenstein http://www.suse.de/~mha/ SuSE Linux AG, Nuernberg (Germany) SuSE Inc., Oakland, California (US) -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq