Linux as FTP & Mail server


 
Thread Tools Search this Thread
Operating Systems Linux Linux as FTP & Mail server
# 1  
Old 08-28-2003
Linux as FTP & Mail server

How do i setup my linux server to act as a internal ftp server. i have 30 machines who would want to log onto external ftp servers ( for hosting and stuff ). They would have to go through a ftp server on the network server to get outside to the internet?
What program on linux would i use

How would i set up a mail server on my linux box? would i use sendmail or smail?
# 2  
Old 08-28-2003
Quote:
How do i setup my linux server to act as a internal ftp server
There are several ftp daemons that are available to run a FTP server. I personally like proftpd. If its an internal server then you could bind the ip address of the ftp server to the internal ip address for your network.

Quote:
They would have to go through a ftp server on the network server to get outside to the internet?
You do not need to route ftp traffic through a local ftp server and then to a remote one. If your 30 machines have access to the Internet, then they could just go directly to the IP address or domain name address of the external ftp server. Of course, you should look at how they get out to the Internet from the local network. Is there firewalls, routers, etc.. that could possibly block the connection?

Quote:
How would i set up a mail server on my linux box?
Setting up a mail server requires two different services. First you need MTA (Mail transfer agent) service to send/receive mail from the server. Sendmail is probally the most popular but others have proven to be very good also. Second, unless your users have shell accounts to check their email, you will need to setup IMAP/POP3 so that users could login using a Mail client, authenticate, and download their email.

A final bit of advice, if this is something that is new to you, then you should definetely take a look at some online docs or get a Linux administration manual. The ones published by OReilley provide excellent detail that is easy to understand.
# 3  
Old 08-28-2003
ftpd- proftpd (i absolutely love this ftp server, as its built with security in mind, has chroot environments, and its configuration is modeled after apache's. there are so many directives....excellent choice for a decent server.

mta- sendmail is ok, but i prefer exim.
pop3/imap: i prefer to use imap, as it leaves the files on the server. pop3 though is ok if you have a lot of users/email/.

for imap, i use courier.

this is really just a preference sort of thing.....different strokes for different folks and all that. Smilie
# 4  
Old 09-03-2003
For my FTP daemon I use vsftpd. Not sure if it's the best but it works and I like it, I've also heard it's one of the fastest.

If you want to keep the FTP service internal, then get a router and don't forward the port you are using (probably 21). If you do this only the computers behind the router (your LAN) will be able to access this FTP server. You can use the LAN IP address of the server to access it.
# 5  
Old 09-03-2003
Quote:
Originally posted by Synbios
If you want to keep the FTP service internal, then get a router and don't forward the port you are using (probably 21). If you do this only the computers behind the router (your LAN) will be able to access this FTP server. You can use the LAN IP address of the server to access it.
But a more cost effective and secure way of having a local FTP server is to install a second NIC in to your systems and run everything through a switch using a non-routable IP format. That way global bandwidth utilization is not taken up and there is no traffic going out in the direction of the global Internet.

Just my 2 cents...
# 6  
Old 09-03-2003
Yeah you are right that way would be cheaper because a switch is less expensive than a router.

It would also be more secure. You never know how secure routers are these days.
# 7  
Old 09-06-2003
thanks.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Open Source

Shell script file movement to a Mail Box server using ftp commands

Hi All, I have a current Process that runs "windows script " for the file movement that needs to changed to a "DataStage Process (Using shell script )" Source :Text file is getting generated as part of Datastage Jobs processes and resides in a shared drive (Unix server) Target :ftp... (2 Replies)
Discussion started by: developer.dwh9
2 Replies

2. What is on Your Mind?

linux mail server providers?

Hi!sorry for drifting away from the topic but can somebody pls help me with suggestions on some good email server providers? (0 Replies)
Discussion started by: Paramount
0 Replies

3. UNIX for Dummies Questions & Answers

Mail/ftp/web servers, on VIRTUAL!! dedicated server. Also resource usage. Centos 5.

Hi. First of all, would 4 or 5 websites, 1 ftp server (when downloading by someone or a few persons or one, concretize) and one mail server (not many emails, just to sound official and have a nice, spam-free email for myself). Websites with not that many, but some, later more visitors, quite... (0 Replies)
Discussion started by: newn
0 Replies

4. UNIX for Dummies Questions & Answers

AIX: mail command & server

Hi, I have to change the mail server, but I could not find the file where it is written in. I use the following command: </> echo krneki | mail -v -s "New report" receiver@our.comp Server name ("skala") can be seen in a terminal output .... receiver@our.comp ... Connecting to... (0 Replies)
Discussion started by: frajer
0 Replies

5. Linux

help sending mail on linux server

Hi, I coded a bash script.I m trying to use this command in the script mail -s "test" user@abc.com I tried this command on prompt.however it hangs.I check /var/log/maillog/ stat=Deferred: Connection timed out with mail.rdmedia.com. sendmail: n0M8lscO014303: localhost did not issue... (2 Replies)
Discussion started by: sunsail
2 Replies

6. Red Hat

redhat linux mail server problem

we are using redhat linux,configured the postfix as mail server and outlook is used as mail client.whenever the user opens outlook it is start downloading all the mails from the server. Example : If a user has 50 mails in the server,whenever he opens the outlook the outlook will start... (0 Replies)
Discussion started by: ramjimh2k3
0 Replies

7. Linux

problems in linux mail server setup

hi i want to set up LInux mail server for intranet purpose. i used following document as reference Linux Mail Server softwares used are : Postfix # pre installed Procmail # pre installed Fetchmail # pre installed SpamBayes Mutt #... (1 Reply)
Discussion started by: zedex
1 Replies

8. Linux

How to set up mail server in Linux machine

Hi, I have a desktop on which linux is installed. It is connected to office LAN. I am able to send mails(using the 'mail' command) to anybody who is connected to the linux machine. But I am not able to send mails to internet IDs. Please inform, what do I have to do to enable mailing to internet... (3 Replies)
Discussion started by: abhishek_ss
3 Replies

9. Red Hat

telnet & ftp in linux AS4 with root account

hi, i installed linux as4, i need telnet and ftp with root account. anybody show me how to configure. TIA, Bong (3 Replies)
Discussion started by: bong02
3 Replies

10. UNIX for Dummies Questions & Answers

Linux ftp server

I have taken an old Pentium-75 Compaq with 32Mb memory, formatted the hard drive, and loaded Redhat 5.2 on it. All I really want is an ftp server to allow vendors to download files from it as they need them. I was told that these old pentiums with little memory would work well with Linux. The ftp... (2 Replies)
Discussion started by: kwalter
2 Replies
Login or Register to Ask a Question