Hi all

I feel I should be able to figure this out for myself, but after two days of
trying I have not succeeded, so I hope someone can help me.

I have a small office network. The server runs Fedora 4, the workstations
run Windows. On the server, I run Postfix to send mail, and getmail to
retrieve it. Incoming mail is delivered to /var/mail/{user}. Each
workstation uses Outlook for mail, and connects to the Fedora server for
both sending and receiving. It has been working fine like this for a couple
of years.

Now I am setting up a new server, using Fedora 10, and I am trying to solve
an issue that has always existed with the above setup. If a user sends a
message to another user on the same network, with the same domain name, the
message is not delivered locally, but is sent to the ISP, and retrieved by
getmail. As I understand it, this is not supposed to happen, but I cannot
figure out what is wrong.

[pause while doing some more tests]

Ok, I have got it working, but I would still appreciate an explanation, as
my problem stems from a misunderstanding of some basic terminololgy.

Assume our domain name is example.com, and our email addresses are
f...@example.com, b...@example.com, etc.

In main.cf, I had the following -

myhostname = fcserver.example.com
mydomain = example.com
myorigin = $mydomain

I have now changed it to -

myhostname = example.com
mydomain = com
myorigin = $mydomain

It now works, but I don't know why. I thought my domain name was
example.com, and each machine on the network should have a host name of
{host}.example.com.

Please can someone explain where I went wrong.

Many thanks

Frank Millman

Reply via email to