Minimal Mail Server Setup for Local Mail Transfer

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Minimal Mail Server Setup for Local Mail Transfer
# 1  
Old 08-10-2012
Minimal Mail Server Setup for Local Mail Transfer

I am trying to get stored mail out of an old mail client. I figured that the easiest way to do it is with IMAP by logging in with both clients. I can copy the mail to the server from the old mail client, and back down into the new mail client.

Rather than using a real mail account on the internet, I was hoping there was an easy way to set up a minimal mail server (doesn't need any security, or to actually send/receive mail from the internet) in a virtual machine (say turnkey linux, ubuntu or some easy to set up distro). All I need is the ability to connect to a mailbox, create folders and shuttle mail back and forth from mail clients inside my firewall.

I know setting up a mail server properly can be quite a task, and the stuff I have found so far is just a bit beyond my comprehension. I was hoping there might be a simple way to do this given my minimal requirents.

Any help would be appreciated... suggested package(s) / pointers / etc.

# 2  
Old 08-11-2012
Unsent mail stays on a system (unless somebody deleted it), I believe it is in /var/spool/mail. If all you want is to get the mail off the system just grab those files. It could be a lot of work as you will probably want to parse out the messages.

If you have a 'real' mail server in your environment, you could configure SMARTHOST relay to deliver the mail to the mail server and let it deliver the mail.

Kind of confusing of what you are looking for and lack of info, what distro? Example, RH you could configure sendmail, Ubuntu would use postfix, etc. And you still have a wide range of choices as to how you want to configure.
# 3  
Old 08-11-2012
Thanks for the reply raggmopp - just to clarify, what I want to do is setup a server on a virtual machine that will accept IMAP logins. I don't actually need to connect the server to the internet or make it handle any real mail - everything will take place inside my firewall.

All I want to do with it is to:
  • IMAP log in to the server with one email client
  • create folders on the server
  • move/copy mail stored in that email client into the folders on the server
  • log in with another client
  • copy mail from the server into folders on the second email client

I am looking for the easiest to setup IMAP server, hopefully with some shortcut tips to get the minimal functionality I require working as easily as possible.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to send mail using PHP mail function On apache server.?

Hello, I am using centos-6.2 I have apache server,php5 on my system and I want to send mail using sendmail on my system. when I try to send mail from shell that time mail is succesfully sent to respective address() but when I try to send it through webbrowser I am not able to send it.... (1 Reply)
Discussion started by: Kiran ursal
1 Replies

2. UNIX for Advanced & Expert Users

How can I send a mail from my outlook or other mail accounts to UNIX server?

Hi all, I want to send a mail for my business needs from outlook account to an unix server (HP-UX) but I don't send any mail. While I can send from the unix server to my outlook account, I can't send from outlook to unix. How can I achieve this ? How can I send a mail from my outlook or other... (2 Replies)
Discussion started by: igelegin
2 Replies

3. UNIX for Advanced & Expert Users

need to configure mail setting to send mail to outlook mail server

i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail. actually i am trying to automate the high... (2 Replies)
Discussion started by: amitranjansahu
2 Replies

4. HP-UX

[Solved] How do I configure Unix Mail Server to use another Mail Exchange Server

We have configured our mail unix server and can send out emails automatically from applications running on unix to different people in our company as well as outside our company. However there is an outside client who is not receiving these emails because the settings on their mail server cannot... (4 Replies)
Discussion started by: Tenyhwa
4 Replies

5. UNIX for Advanced & Expert Users

How to relay mail to mail server from Unix ?

Hi, I need to send email notifications from Unix/Linux box to users using mailx. In these Unix/Linux boxes mail is not configured however we are having mail server configured in our LAN. Could you please provide instructions to configure relay in these boxes so that we can relay our mails... (3 Replies)
Discussion started by: sourabhsharma
3 Replies

6. Shell Programming and Scripting

script to read mail on a mail server

Hi All, Is there any way Unix shell script can directly read a mail on a mail server (for eg. and save it as a text file in a unix directory ? Thanks PRKS ---------- Post updated at 08:37 AM ---------- Previous update was at 08:36 AM ---------- I am using ksh (1 Reply)
Discussion started by: PRKS
1 Replies

7. Solaris

identify the mail server for mail command

Hi , I am new to unix , i am using the mail and mailx command to send the mail .How come i will know the my mail command using which server as mail box.. Please help me .. Thanks in advance (1 Reply)
Discussion started by: julirani
1 Replies

8. 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

9. UNIX for Dummies Questions & Answers

can not send mail from unix server to company/yahoo mail

hi, Gurus, I need some help with sending mail out from my UNIX server: It is running Solaris 2.6 and the sendmail version is 8.8. Output of :/usr/lib/sendmail -d0.1 -bt < /dev/null Version 8.8.8+Sun Compiled with: LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND NDBM NETINET ... (5 Replies)
Discussion started by: b5fnpct
5 Replies

10. UNIX for Dummies Questions & Answers

setup mail server on my unix machine

hi, i just finished installation solaris 8 on my unix machine. i want to setup a mail server on it ( i assume it has not had one yet). so, what is my first step? where can i find out step by step configuration procedure on web ? so any expert is willing to teach me? pls help me. ... (1 Reply)
Discussion started by: champion
1 Replies
Login or Register to Ask a Question

Featured Tech Videos