On 2013-03-20 16:06, anika200 wrote:
>
> Hi, thanks for looking at this post
>
> I have some noob type questions about sending mail around on a local
> lan that does not have a registered domain name.
Ok.
>
> Goal:
> I just want to be able to send and receive mail from any one of my 5
> linux boxes â locally only. I would like to open the terminal on
> linux-80dc.cascade.net and type âmail lee2@linux-u5l1@cascade.netâ and
> have the mail actually get delivered to the other computer. I do not
> want this mail to go out to my ISP, I already have mail clients that go
> out to the internet to send/receive mail so I do not need that at the
> moment.
Change goal: do not even try to sent to @cascade.net, because it happens
that host does exist on internet. Any other name that you may invent
ending in .com, .net, .org, etc: forget them. They may eventually come
to exist.
You have to invent a local domain that has no chance of existing in
internet, like for example: machine.lnetâ˝Âšâž. And you have to setup a
DNS server locally that solves those names internally (it can also solve
internet names, no problem).
(1). Do not ever use .local as domain name if you ever intend to use a
Windows Server (AD).
>
>
> What I have done:
> I have set up a local DNS that seems to be functioning properly meaning
> I can ping all other computers via there host names linux-u5l1.
> I have set up postfix and it seems to send mail to the other computers
> but there are various errors.
>
> Questions:
>
> 1) Can postfix do this all by itself or do I need or should I install
> and set up the LDAP and Cyrus or an SMTP server?
postifx is an SMTP server. LDAP is not needed unless your needs grow.
You can add cyrus or dovecot later if you wish: postfix has to deliver
the emails somewhere, which by default is a file in Linux. Your clients
will need an account in Linux to read that. If you want them to be able
to read those from, say, outlook on their computers, then yes, you need
a pop/imap server.
> 2) Is postfix a server and client setup, meaning will I have to have
> one of the computers on 24/7 to get/receive mail or does the mail get
> held until the server computer comes online? (This question is for mail
> only not the DNS which I understand needs to be on 24/7)
Postfix is just an SMTP server, and it has to be up full time if you
want to be able to send mail all time, of course. If an employee tries
to send a local email to you and the SMTP server is not up, thunderbird
will say that it failed.
If it is another SMTP server which is trying to send to you and you are
not up, it will keep trying for 5 days or so; thus you can power off the
server in that case. It is up to the sending service.
> 3) Would the answer to question #2 be the same if I need to use LDAP
> and Cyrus?
Of course.
â
Cheers / Saludos,
Carlos E. R.
(from 12.1 x86_64 âAsparagusâ at Telcontar)