Problem on sendmail between users

Hello,

I am new to sendmail and know very little of it. I appreicate any help.

I tried sending mail between 2 users - alice and bob. I did:

[localhost:/etc] alice% mail bob
Subject: test
test
.
EOT
[localhost:/etc] alice%

Then, I got error log in /var/log/mail.log

May 4 18:23:26 localhost sendmail[606]: My unqualified host name (localhost) unknown; sleeping for retry
May 4 18:24:26 localhost sendmail[606]: unable to qualify my own domain name (localhost) -- using short name
May 4 18:24:27 localhost sendmail[606]: j451OQX5000606: from=alice, size=42, class=0, nrcpts=1, msgid=<200505050124.j451OQX5000606@localhost>, relay=alice@localhost
May 4 18:24:27 localhost sendmail[606]: j451OQX5000606: to=bob, ctladdr=alice (502/20), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30037, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]

I am working on Mac 10.2.8, using sendmail 8.12.9
I think I am probably missing proper configuration. Please advise.

Thanks in advance.

pw

When I was setting up my E-mail server I went through this article that a friend of mine reffer me to, it was helpful to me, not sure if it will help you, but you might try reading it. :rolleyes: Let me know how it goes.

How-To Sendmail

Thanks for your help. I read the article and found more about. Now I am following another instructions that using m4 to modify the sendmail.cf. But I am having problem to locate the m4 command. I use 'find' to search the m4 command from root / directory, but nothing find. But I do have m4 directory under /usr/share/sendmail/conf Do you have any idea where it is? Thanks again.