[Lias] setting up mail server with postfix

Phil Scarratt lias at draxsen.com
Tue Nov 26 07:21:01 UTC 2002


The current version of Samba is 2.2.7 (as of the 20th of Nov). I have no problem
with NT logins using a Linux (RH7.3) box as the PDC. XP should be not problem
but cannot confirm as I have not tried it myself - certainly Windows 2000 is no
problem at all.

Fil

Quoting "Patterson, Graeme" <Graeme.Patterson at det.nsw.edu.au>:

> I set up a pop server a couple of years ago. It could mail out but could not
> receive mail. DET did not support email relay. We just used it for internal
> email within the computer labs. Same box also used as a samba server / domain
> controller before our school got a 'real' NT server.
> Questions:-
> What will happen to your accounts when the teachers/students get their
> ITD/ISP accounts next year? 
> Is there a current version of samba? Does it support login/connections to XP
> pro? I ask because I believe samba (3 years ago) did not support encrypted
> passwords. XP pro = NT workstation? and NT workststion encrypted login was
> incompatible with old smba.
>  
> I've mucked around with Linux since mid 90s. Started with Walnut Creek's
> Slackware. Mostly RH  since then. Disappointed with the equation editor in
> the office wordprocessor. Has it improved in recent releases?
>  
> cheers,
> Graeme
> 
> -----Original Message----- 
> From: Parkes High School [mailto:parkeshs at ozemail.com.au] 
> Sent: Mon 25/11/2002 11:36 AM 
> To: lias at lists.linux.org.au 
> Cc: 
> Subject: [Lias] setting up mail server with postfix
> 
> 
> 
> Setting up an internal mail system
> 
>  
> 
> This was set up on a Red Hat 8 machine using postfix as the smtp server and
> cucipop as the pop server.
> 
> DET has assigned my school Parkes High School the hostname
> parkes-h.schools.nsw.edu.au
> 
> I gave the linux machine the name mail.parkes-h.schools.nsw.edu.au
> 
>  
> 
> DET reserves a number 21 for mail servers so I gave it an IP address of
> 10.12.217.21
> 
>  
> 
> (10.12.217.21 is reserved for a proxy server)
> 
>  
> 
> Postfix was a part of a default Red Hat 8.0 server install but it always pays
> to check on the packages that are being installed from the word go so make
> sure you check that it is installed.
> 
>  
> 
> Also at this time it is work ensuring that the ftp server package vsFTPD is
> installed so you can ftp files to the linux machine.
> 
>  
> 
> Cucipop can be obtained from:
> 
> http://www.vergenet.net/linux/cucipop/
> 
>  
> 
> cucipop is pretty simple and runs without fiddling but postfix was another
> matter.
> 
> With help from this list I configured Postfix to send mail internall around
> our school and with some further configuring got ITD to enable relaying of
> mail to and from outside the school.  This took a little more fiddling with
> the main.cf file.
> 
>  
> 
> Also if you want to be able to send and receive on your account to the
> outside world you need to contact ITD and ask them to create an MX record for
> you.  The initial person you talk to on the ITD help deks will probably not
> me able to do this for you but they will log your call, give you a job number
> and someone will eventuall get back to you.
> 
>  
> 
> Here is a direct number you might try:
> 
> 02 9942 9641
> 
>  
> 
> here are the key entried you need to make in the main.cf file:
> 
>  
> 
> /etc/postfix/main.cf
> 
>  
> 
> these are my setinga so you will need to alter them to suit your own
> situation.
> 
> myhostname = mail.parkes-h.schools.nsw.edu.au
> 
>  
> 
> mydomain = parkes-h.schools.nsw.edu.au
> 
>  
> 
> myorigin = $mydomain
> 
>  
> 
> inet interfaces = all
> 
>  
> 
> mydestination = $myhostname, localhost.$mydomain $mydomain
> 
>  
> 
> mynetworks = 10.12.217.0/24, 127.0.0.0/8
> 
>  
> 
> relayhost = [smtp.schools.nsw.edu.au].
> 
>  
> 
> Many thanks to various members of this list - especially Andrew Dorrell
> without whose help I would have floundered utterly.
> 
>  
> 
> I attach a copy of my postfix main.cf
> 
>  
> 
> Peter Hughes
> 
> Parkes HS
> 
> _______________________________________________
> lias mailing list
> lias at lists.linux.org.au
> http://lists.linux.org.au/listinfo/lias
> 


-- 
Phil Scarratt
IT Consultant
0403 531 271




More information about the lias mailing list